MPI version

To proceed the installation of the MPI version, move to the directory 'source', and modify 'makefile' in 'source' to specify the compiler and libraries by CC, FC, and LIB. The default for the specification of CC and LIB in 'makefile' is as follows:

     CC    = mpicc -Dnoomp -O3 -I/usr/local/include
     FC    = mpif90 -Dnoomp -O3 -I/usr/local/include
     LIB   = -L/usr/local/lib -lfftw3 -llapack -lblas -lg2c -static

CC and FC are the specification for C and FORTRAN compilers, respectively, and LIB is the specification for libraries which are linked. Although the specification of FC is not required up to and including Ver. 3.6, FC must be specified in Ver. 3.8 due to the introduction of the ELPA based parallel eigensolver [28]. The option '-Dnoomp' should be added under environment that OpenMP is not available. You need to set the CC, FC and LIB appropriately on your computer environment so that the compilation and linking can be properly performed and the executable file can be well optimized, while the specification largely depends on your computer environment. After specifying CC, FC and LIB appropriately, then install as follows:
     % make install
   
When the compilation is completed normally, then you can find the executable file 'openmx' in the directory 'work'. To make the execution of OpenMX efficient, you can change a compiler and compile options appropriate for your computer environment, which can generate an optimized executable file. Several examples for CC, FC and LIB can be found in 'makefile' in the directory 'source' for your convenience.

2016-04-03