source /public1/soft/modules/module.sh
source /public1/soft/modules/init/zsh
$ cat module.sh
#!/bin/sh
source /public1/soft/modules/init/bash
export MODULEPATH=/public1/soft/modulefiles
$ module list
No Modulefiles Currently Loaded.
$ module show intel/2022.1
-------------------------------------------------------------------
/public1/soft/modulefiles/intel/2022.1:
module-whatis loads the environment of intel oneAPI 2022.1
unsetenv MKLROOT
setenv MKLROOT /public1/soft/oneAPI/2022.1/mkl/latest
prepend-path MANPATH /public1/soft/oneAPI/2022.1/inspector/latest/man
unsetenv INTEL_LICENSE_FILE
prepend-path LIBRARY_PATH /public1/soft/oneAPI/2022.1/ipp/latest/lib
prepend-path LD_LIBRARY_PATH /public1/soft/oneAPI/2022.1/ipp/latest/lib
prepend-path CPATH /public1/soft/oneAPI/2022.1/ipp/latest/include
prepend-path NLSPATH /public1/soft/oneAPI/2022.1/mkl/latest/lib/intel64/locale
prepend-path PATH /public1/soft/oneAPI/2022.1/compiler/latest/linux/bin
setenv TBBROOT /public1/soft/oneAPI/2022.1/tbb/latest
setenv DAALROOT /public1/soft/oneAPI/2022.1/dal/latest