Last active
July 28, 2019 15:54
-
-
Save zhulianhua/e2ce487b4456fcea22a72a824beffda2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```bash | |
### OpenMPI | |
module load compilers/intel/2018_0 | |
./configure --prefix=/home/appLEIWU/MPI/intel/openmpi/2.1.0 CC=/home/appLEIWU/compiler/intel/compilers_and_libraries_2018.0.128/linux/bin/intel64/icc CXX=/home/appLEIWU/compiler/intel/compilers_and_libraries_2018.0.128/linux/bin/intel64/icpc F77=/home/appLEIWU/compiler/intel/compilers_and_libraries_2018.0.128/linux/bin/intel64/ifort FC=/home/appLEIWU/compiler/intel/compilers_and_libraries_2018.0.128/linux/bin/intel64/ifort | |
make -j 28 | |
sudo make install | |
### HDF5 | |
CC=/home/appLEIWU/MPI/intel/openmpi/2.1.0/bin/mpicc ./configure --enable-parallel --prefix=/home/appLEIWU/tool/HDF5/intel/openmpi/1.8.5-patch1 | |
make -j 28 | |
# make check | |
sudo make install | |
### CGNS | |
rm -rf build | |
mkdir build && cd build | |
CC=/home/appLEIWU/compiler/intel/compilers_and_libraries_2018.0.128/linux/bin/intel64/icc CXX=/home/appLEIWU/compiler/intel/compilers_and_libraries_2018.0.128/linux/bin/intel64/icpc cmake .. -DCMAKE_INSTALL_PREFIX=/home/appLEIWU/tool/CGNS/intel/openmpi/3.2.1 -DCMAKE_PREFIX_PATH=/home/appLEIWU/tool/HDF5/intel/openmpi/1.8.5-patch1 -DCGNS_ENABLE_PARALLEL=ON -DCGNS_ENABLE_HDF5=ON -DHDF5_NEED_MPI=ON | |
make -j 28 | |
sudo make install | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment