Last active
May 18, 2018 06:32
-
-
Save unkcpz/d6c9bea59fedcce7b39e8ebb84016a59 to your computer and use it in GitHub Desktop.
modulefile-ohpc
This file contains 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
#%Module###################################################################### | |
## | |
## intel compiler modulefile | |
## | |
proc ModulesHelp { } { | |
puts stderr "Sets up the paths you need to use intel compilers." | |
puts stderr "If this module files doesn't work well , U can try: ." | |
puts stderr "source /opt/ohpc/pub/apps/intel/parallel_studio_xe_2017_update7/bin/compilervars.sh intel64" | |
puts stderr "If this command couldn't work as well , connect our technical support staff" | |
} | |
module-whatis "sets the environment variables for intel compiler 2017_update7" | |
conflict intel-compilers | |
set rootpath /opt/ohpc/pub/apps/intel/parallel_studio_xe_2017_update7 | |
set compilerpath $rootpath/compilers_and_libraries_2017.7.259 | |
#AUTO GEN BY PYTHON | |
prepend-path CPATH $compilerpath/linux/daal/include | |
prepend-path CPATH $compilerpath/linux/tbb/include | |
prepend-path CPATH $compilerpath/linux/mkl/include | |
prepend-path CPATH $compilerpath/linux/ipp/include | |
prepend-path PATH $rootpath/debugger_2017/gdb/intel64_mic/bin | |
prepend-path PATH $compilerpath/linux/mpi/intel64/bin | |
prepend-path PATH $compilerpath/linux/bin/intel64 | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/daal/lib/intel64_lin | |
prepend-path LD_LIBRARY_PATH $rootpath/debugger_2017/libipt/intel64/lib | |
prepend-path LD_LIBRARY_PATH $rootpath/debugger_2017/iga/lib | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/tbb/lib/intel64/gcc4.7 | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/mkl/lib/intel64_lin | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/compiler/lib/intel64_lin | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/ipp/lib/intel64 | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/mpi/mic/lib | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/mpi/intel64/lib | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/compiler/lib/intel64_lin | |
prepend-path LD_LIBRARY_PATH $compilerpath/linux/compiler/lib/intel64 | |
prepend-path MIC_LD_LIBRARY_PATH $compilerpath/linux/tbb/lib/mic | |
prepend-path MIC_LD_LIBRARY_PATH $compilerpath/linux/mkl/lib/intel64_lin_mic | |
prepend-path MIC_LD_LIBRARY_PATH $compilerpath/linux/compiler/lib/intel64_lin_mic | |
prepend-path MIC_LD_LIBRARY_PATH $compilerpath/linux/ipp/lib/mic | |
prepend-path MIC_LD_LIBRARY_PATH $compilerpath/linux/compiler/lib/mic | |
prepend-path MIC_LD_LIBRARY_PATH $compilerpath/linux/mpi/mic/lib | |
prepend-path LIBRARY_PATH $compilerpath/linux/daal/lib/intel64_lin | |
prepend-path LIBRARY_PATH $compilerpath/linux/tbb/lib/intel64/gcc4.7 | |
prepend-path LIBRARY_PATH $compilerpath/linux/mkl/lib/intel64_lin | |
prepend-path LIBRARY_PATH $compilerpath/linux/compiler/lib/intel64_lin | |
prepend-path LIBRARY_PATH $compilerpath/linux/ipp/lib/intel64 | |
setenv CLASSPATH $compilerpath/linux/mpi/intel64/lib/mpi.jar:$compilerpath/linux/daal/lib/daal.jar | |
setenv INFOPATH $rootpath/documentation_2017/en/debugger//gdb-ia/info/:$rootpath/documentation_2017/en/debugger//gdb-mic/info/:$rootpath/documentation_2017/en/debugger//gdb-igfx/info/ | |
setenv INTEL_PYTHONHOME $rootpath/debugger_2017/python/intel64/ | |
setenv MPM_LAUNCHER $rootpath/debugger_2017/mpm/mic/bin/start_mpm.sh | |
setenv I_MPI_ROOT $compilerpath/linux/mpi | |
prepend-path NLSPATH $rootpath/debugger_2017/gdb/intel64/share/locale/%l_%t/%N | |
prepend-path NLSPATH $rootpath/debugger_2017/gdb/intel64_mic/share/locale/%l_%t/%N | |
prepend-path NLSPATH $compilerpath/linux/mkl/lib/intel64_lin/locale/%l_%t/%N | |
prepend-path NLSPATH $compilerpath/linux/compiler/lib/intel64/locale/%l_%t/%N | |
prepend-path MIC_LIBRARY_PATH $compilerpath/linux/tbb/lib/mic | |
prepend-path MIC_LIBRARY_PATH $compilerpath/linux/mkl/lib/intel64_lin_mic | |
prepend-path MIC_LIBRARY_PATH $compilerpath/linux/compiler/lib/intel64_lin_mic | |
prepend-path MIC_LIBRARY_PATH $compilerpath/linux/compiler/lib/mic | |
prepend-path MIC_LIBRARY_PATH $compilerpath/linux/mpi/mic/lib | |
setenv DAALROOT $compilerpath/linux/daal | |
prepend-path MKLROOT $compilerpath/linux/mkl | |
append-path INTEL_LICENSE_FILE /WORK/app/intel/licenses:/WORK/app/intel/parallel_studio_xe_2017_update7/licenses | |
################### | |
# Editer: Jason Yu | |
# Modified from: TianHe2-YingZhong | |
# Modified date: 2018-5-17 |
This file contains 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
#%Module###################################################################### | |
## | |
## intel compiler modulefile | |
## | |
proc ModulesHelp { } { | |
puts stderr "Sets up the paths you need to use intel MKL ." | |
puts stderr "If this module files doesn't work well , U can try: ." | |
puts stderr "source /opt/ohpc/pub/apps/intel/parallel_studio_xe_2017_update7/compilers_and_libraries_2017/linux/mkl/bin/mklvars.sh intel64 " | |
puts stderr "If this command couldn't work as well , connect our technical support s$ | |
} | |
module-whatis "sets the environment variables for intel compiler MKL " | |
set ins_path /opt/ohpc/pub/apps/intel/parallel_studio_xe_2017_update7/compilers_and_libraries_2017/linux | |
#AUTO GEN BY PYTHON | |
prepend-path CPATH $ins_path/mkl/include | |
prepend_path LD_LIBRARY_PATH $ins_path/tbb/lib/intel64_lin/gcc4.7 | |
prepend-path LD_LIBRARY_PATH $ins_path/mkl/lib/intel64_lin | |
prepend-path LD_LIBRARY_PATH $ins_path/compiler/lib/intel64_lin | |
prepend-path MIC_LD_LIBRARY_PATH $ins_path/mkl/lib/mic | |
prepend-path MIC_LD_LIBRARY_PATH $ins_path/compiler/lib/mic | |
prepend-path LIBRARY_PATH $ins_path/mkl/lib/intel64 | |
prepend-path LIBRARY_PATH $ins_path/compiler/lib/intel64 | |
prepend-path INCLUDE $ins_path/mkl/include | |
prepend-path MANPATH $ins_path/man/en_US | |
prepend-path NLSPATH $ins_path/mkl/lib/intel64/locale/%l_%t/%N | |
unsetenv MKLROOT | |
setenv MKLROOT $ins_path/mkl | |
################### | |
# Editor: Jason Yu | |
# Modified From: Tianhe2-LiJiang | |
# Date: Mon Jun 8 14:03:11 CST 2015 |
This file contains 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
#%Module###################################################################### | |
## ## | |
## software modulefile ## | |
## ## | |
############################################################################## | |
proc ModulesHelp { } { | |
puts stderr "\t openmpi/3.1.0-intel\n" | |
puts stderr "\t After loading this module, you can try \$mpicc\n" | |
puts stderr "\t LIB: /opt/ohpc/pub/mpi/openmpi3.1.0-intel/lib\n" | |
puts stderr "\t INC: /opt/ohpc/pub/mpi/openmpi3.1.0-intel/include\n" | |
} | |
module-whatis "\tFor more information, \$module help openmpi/3.1.0-intel\n" | |
conflict openmpi | |
set OPENMPI_HOME /opt/ohpc/pub/mpi/openmpi3.1.0-intel | |
prepend-path PATH $OPENMPI_HOME/bin | |
prepend-path LD_LIBRARY_PATH $OPENMPI_HOME/lib | |
prepend-path LIBRARY_PATH $OPENMPI_HOME/lib | |
prepend-path CPATH $OPENMPI_HOME/include | |
prepend-path C_INCLUDE_PATH $OPENMPI_HOME/include | |
# Installed by Jason Yu, 2018-05-18 | |
############################################################################## |
This file contains 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
#%Module1.0##################################################################### | |
## | |
## modules modulefile | |
## | |
## modulefiles/modules. Generated from modules.in by configure. | |
## | |
proc ModulesHelp { } { | |
global version prefix | |
puts stderr "vasp - loads the environment of vasp\n" | |
puts stderr "\t version: $version" | |
puts stderr "\t compiler: intel parallel_studio_xe_2017_update7 / impi 2017.4.259" | |
puts stderr "\t contacts: morty.yu@yahoo.com\n" | |
} | |
module-whatis "loads the environment of vasp.5.4.4" | |
# for Tcl script use only | |
set version 5.4.4 | |
set root_path /opt/ohpc/pub/apps/vasp/5.4.4-impi-mkl | |
module load intel-compiler/2017_update7 | |
setenv I_MPI_FABRICS "shm:tcp" | |
setenv OMP_NUM_THREADS 1 | |
prepend-path PATH ${root_path} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment