Linux???Moduler?л?????MPI????
???????????? ???????[ 2016/11/1 10:25:54 ] ?????????????? Linux
???????????汾??mpi??
sudo yum install -y openmpi-1.10.x86_64 openmpi-1.10-devel.x86_64
sudo yum install -y openmpi-1.8.x86_64 openmpi-1.8-devel.x86_64
sudo yum install -y mpich2.x86_64 mpich2-devel.x86_64
???????modules
????sudo yum install -y environment-modules
???????module?????
??????? module avail ???????????
$ module avail
--------------------------------- /usr/share/Modules/modulefiles ----------------------------------
dot module-git module-info modules null use.own
---------------------------------------- /etc/modulefiles -----------------------------------------
mpich-x86_64 openmpi-1.10-x86_64 openmpi-1.8-x86_64 openmpi-x86_64
??????? module list ??????????????
????$ module list
????# ????????? module load ???????????????£?
????$ module load openmpi-1.10-x86_64
????$ module list
????Currently Loaded Modulefiles:
????1) openmpi-1.10-x86_64
??????? module load/unload ?????ж???
????$ module load openmpi-1.10-x86_64
????$ module list
????Currently Loaded Modulefiles:
????1) openmpi-1.10-x86_64
????$ module unload openmpi-1.10-x86_64
???????????????
?????? “module avail” ??????????????? /etc/modulefiles ???±????????mpi?????????????????openmpi-1.10-x86_64???????????
#%Module 1.0
#
# OpenMPI module for use with 'environment-modules' package:
#
conflict mpi
prepend-path PATH /usr/lib64/openmpi-1.10/bin
prepend-path LD_LIBRARY_PATH /usr/lib64/openmpi-1.10/lib
prepend-path PYTHONPATH /usr/lib64/python2.6/site-packages/openmpi-1.10
prepend-path MANPATH /usr/share/man/openmpi-1.10-x86_64
setenv MPI_BIN /usr/lib64/openmpi-1.10/bin
setenv MPI_SYSCONFIG /etc/openmpi-1.10-x86_64
setenv MPI_FORTRAN_MOD_DIR /usr/lib64/gfortran/modules/openmpi-1.10-x86_64
setenv MPI_INCLUDE /usr/include/openmpi-1.10-x86_64
setenv MPI_LIB /usr/lib64/openmpi-1.10/lib
setenv MPI_MAN /usr/share/man/openmpi-1.10-x86_64
setenv MPI_PYTHON_SITEARCH /usr/lib64/python2.6/site-packages/openmpi-1.10
setenv MPI_COMPILER openmpi-x86_64
setenv MPI_SUFFIX _openmpi
setenv MPI_HOME /usr/lib64/openmpi-1.10
???????????????????????mpi?汾????????????????????д????μ?汾??????????????/etc/modulefiles/myopenmpi??????????е?·???????????????openmpi·??/opt/openmpi???????????????£?
#%Module 1.0
#
# OpenMPI module for use with 'environment-modules' package:
#
conflict mpi
prepend-path PATH /opt/openmpi/bin
prepend-path LD_LIBRARY_PATH /opt/openmpi/lib
prepend-path PYTHONPATH /usr/lib64/python2.6/site-packages/openmpi-1.10
prepend-path MANPATH /opt/openmpi/share/man
setenv MPI_BIN /opt/openmpi/bin
setenv MPI_SYSCONFIG /etc/myopenmpi-1.10-x86_64
setenv MPI_FORTRAN_MOD_DIR /usr/lib64/gfortran/modules/openmpi-1.10-x86_64
setenv MPI_INCLUDE /opt/openmpi/include
setenv MPI_LIB /opt/openmpi/lib
setenv MPI_MAN /opt/openmpi/share/man
setenv MPI_PYTHON_SITEARCH /usr/lib64/python2.6/site-packages/openmpi-1.10
setenv MPI_COMPILER openmpi-x86_64
setenv MPI_SUFFIX _openmpi
setenv MPI_HOME /opt/openmpi
???????????? “module avail” ?п????????????汾???
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11