To generate the OpenMP/MPI hybrid version, all you have to do
is to include a compiler option for OpenMP parallelization for CC and FC
in 'makefile' in the directory 'source'.
To proceed the installation of the OpenMP/MPI version, move to the directory 'source',
and specify CC, FC and LIB in 'makefile', for example, as follows:
For icc
CC = mpicc -openmp -O3 -I/usr/local/include FC = mpif90 -openmp -O3 -I/usr/local/include LIB = -L/usr/local/lib -lfftw3 -llapack -lblas -lg2c -static
CC = mpicc -mp -O3 -I/usr/local/include FC = mpif90 -mp -O3 -I/usr/local/include LIB = -L/usr/local/lib -lfftw3 -llapack -lblas -lg2c -static
% make installWhen 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.