• 追加された行はこの色です。
  • 削除された行はこの色です。
#author("2023-04-21T18:45:56+09:00","default:StatE","StatE")
#author("2024-01-26T16:47:38+09:00","default:StatE","StatE")
* Installation [#i7aa7c16]
Here how to compile Quantum-ESPRESSO 7.2 on ohtaka at ISSP, the University of Tokyo.

First of all, make sure that the modules are loaded properly.
In this tutorial, we are going to use the following modules, as I found this is the safe option.
In this tutorial, we are going to use the following modules (Intel fortran + Intel MPI):

  1) oneapi_compiler/2023.0.0   2) oneapi_mkl/2023.0.0   3) openmpi/4.1.5-oneapi-2023.0.0-classic  
  1) oneapi_compiler/2023.0.0   2) oneapi_mkl/2023.0.0   3) oneapi_mpi/2023.0.0  

To do this we need to execute

 module load oneapi_compiler/2023.0.0

 module load oneapi_mkl/2023.0.0
 module load openmpi/4.1.5-oneapi-2023.0.0-classic

 module load oneapi_mpi/2023.0.0

Let us first make directories for source codes, pseudopotentials, and calculations for Quantum-ESPRESSO in the home directory, for e.g.

 $ mkdir -p QE/src

 $ mkdir -p QE/pseudo

 $ mkdir -p QE/out

** Obtaining the code [#y8f5848c]
In the ${HOME}/QE/src directory, type
 $ git clone -b 'qe-7.2' --depth 1 https://gitlab.com/QEF/q-e.git qe-7.2
If "qe-7.2" is not specified, "q-e" may be generated.
** Configure and build [#s6403d64]
*** QE [#a4867fa6]
In qe-7.2, execute the following
 $ ./configure MPIF90=mpifort --enable-openmp
 $ ./configure MPIF90=mpiifort --enable-openmp --with-scalapack=intel
Then type
 $ make pw
Other programs can be found by just typing
 $ make
I usually build PW as well as PP by typing
 $ make pw pp
If you like to perform phonon calculations do
 $ make ph
*** WEST [#p192a0ca]
West code is now compatible with QE-7.2 (version 5.5.0). To build the West code, download the tar ball (v5.5.0.tar.gz or alike) as
 $ https://github.com/west-code-development/West/archive/refs/tags/v5.5.0.tar.gz
expand the archive, and rename ``West``.
Then go to the ``West`` directory and type the followings:
 $ make conf PYT=python3.8 PYT_LDFLAGS="`python3.8-config --ldflags --embed`"

 $ make all
NOTE: use ``python3.8``, instead of python or python 3.

* Execution [#b1ff5ab4]
When submitting the job, do NOT forget to load the modules used for the build. In this case, the following may be written in your jobscript:

 module load oneapi_compiler/2023.0.0
 module load oneapi_mkl/2023.0.0
 module load oneapi_mpi/2023.0.0

In addition,  the following lines should be added, especially Intel MPI is used to build the program.

 export FI_PROVIDER=psm3

 ulimit -s unlimited

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS