|
|
我是用 module-environment 管理软件的,module文件里设置如下:
#%Module1.0####
module load gcc/9.3.1 intel/2020u2 cmake/3.20.2 zlib/1.2.11 hdf5/1.12.0
prepend-path PATH /opt/cp2k-8.2/exe/local
prepend-path LD_LIBRARY_PATH "/opt/package_cp2k/libint-v2.6.0-cp2k-lmax-5/lib"
prepend-path LD_RUN_PATH "/opt/package_cp2k/libint-v2.6.0-cp2k-lmax-5/lib"
prepend-path LIBRARY_PATH "/opt/package_cp2k/libint-v2.6.0-cp2k-lmax-5/lib"
prepend-path CPATH "/opt/package_cp2k/libint-v2.6.0-cp2k-lmax-5/include"
prepend-path LD_LIBRARY_PATH "/opt/libxc-5.1.7/lib"
prepend-path LD_RUN_PATH "/opt/libxc-5.1.7/lib"
prepend-path LIBRARY_PATH "/opt/libxc-5.1.7/lib"
prepend-path CPATH "/opt/libxc-5.1.7/include"
prepend-path PATH "/opt/package_cp2k/libxsmm-1.16.1/bin"
prepend-path LD_LIBRARY_PATH "/opt/package_cp2k/libxsmm-1.16.1/lib"
prepend-path LD_RUN_PATH "/opt/package_cp2k/libxsmm-1.16.1/lib"
prepend-path LIBRARY_PATH "/opt/package_cp2k/libxsmm-1.16.1/lib"
prepend-path PATH "/opt/package_cp2k/elpa-2020.11.001/bin"
prepend-path LD_LIBRARY_PATH "/opt/package_cp2k/elpa-2020.11.001/lib"
prepend-path LD_RUN_PATH "/opt/package_cp2k/elpa-2020.11.001/lib"
prepend-path LIBRARY_PATH "/opt/package_cp2k/elpa-2020.11.001/lib"
prepend-path LD_LIBRARY_PATH "/opt/gsl-2.6/lib"
prepend-path LD_RUN_PATH "/opt/gsl-2.6/lib"
prepend-path LIBRARY_PATH "/opt/gsl-2.6/lib"
prepend-path CPATH "/opt/gsl-2.6/include"
prepend-path LD_LIBRARY_PATH "/opt/package_cp2k/plumed-2.6.2/lib"
prepend-path LD_RUN_PATH "/opt/package_cp2k/plumed-2.6.2/lib"
prepend-path LIBRARY_PATH "/opt/package_cp2k/plumed-2.6.2/lib"
prepend-path LD_LIBRARY_PATH "/opt/package_cp2k/spglib-1.16.0/lib64"
prepend-path LD_RUN_PATH "/opt/package_cp2k/spglib-1.16.0/lib64"
prepend-path LIBRARY_PATH "/opt/package_cp2k/spglib-1.16.0/lib64"
prepend-path CPATH "/opt/package_cp2k/spglib-1.16.0/include"
prepend-path LD_LIBRARY_PATH "/opt/package_cp2k/libvori-210412/lib"
prepend-path LD_RUN_PATH "/opt/package_cp2k/libvori-210412/lib"
prepend-path LIBRARY_PATH "/opt/package_cp2k/libvori-210412/lib"
prepend-path LD_LIBRARY_PATH "/opt/package_cp2k/SpFFT-1.0.5/lib64"
prepend-path LD_RUN_PATH "/opt/package_cp2k/SpFFT-1.0.5/lib64"
prepend-path LIBRARY_PATH "/opt/package_cp2k/SpFFT-1.0.5/lib64"
prepend-path CPATH "/opt/package_cp2k/SpFFT-1.0.5/include"
我这里加载的库可能偏多了,求稳懒得折腾 |
|