Installation

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 (Intel fortran + IntelMPI):

 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 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

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

QE

In qe-7.2, execute the following

$ ./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

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.

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