Environment Modules
De NLHPC
Se encuentra disponible por defecto al ingresar a los nodos login (leftraru[1-4]). Se puede usar en las particiones slims/largemem.
Listar
El listado completo para slims.
[usuario@leftraru1 ~]$ module avail ------------------------------------------------------------------------------- /usr/share/Modules/modulefiles ------------------------------------------------------------------------------- dot module-git module-info modules null use.own --------------------------------------------------------------------------------- /home/Modules/modulefiles ---------------------------------------------------------------------------------- 14-mp espresso/5.3.0 gurobi/6.5.1 libgracle/3.0 opencv/2.4.13 schrodinger/2016.3 ace/6.3.3 espresso/5.4.0 gurobi/7.0.2 libproj/4.8.0 openfoam/2.3.1 schrodinger/2017.4 aims/071914 espresso/6.0.0 gurobi/7.5.1 libzmq/4.2.0 openfoam/2.4.0 schrodinger/2017.4.bak [...]
Cargar
[usuario@leftraru1 ~]$ whereis cplex cplex: [usuario@leftraru1 ~]$ module load cplex/9.1.3 [usuario@leftraru1 ~]$ whereis cplex cplex: /home/apps/cplex/9.1.3/bin/x86-64_rhel4.0_3.4/cplex
Eliminar
[usuario@leftraru1 ~]$ module list Currently Loaded Modulefiles: 1) cplex/9.1.3 [usuario@leftraru1 ~]$ module rm cplex/9.1.3 [usuario@leftraru1 ~]$ module list No Modulefiles Currently Loaded.
Limpiar
Para eliminar los módulos que previamente se tienen cargados
[usuario@leftraru1 ~]$ module list Currently Loaded Modulefiles: 1) intel/2018a 2) impi/2018.0.128 [usuario@leftraru1 ~]$ module purge [usuario@leftraru1 ~]$ module list No Modulefiles Currently Loaded.
Mostrar
Para revisar que parámetros se agregan a las variables de entorno
[usuario@leftraru1 ~]$ module show openfoam/4.0 ------------------------------------------------------------------- /home/Modules/modulefiles/openfoam/4.0: module-whatis Sets up OpenFOAM 4.0 in your enviornment module load intel/2016 impi/5.1.3.181 boost/1.59 gmp/6.1.0 cgal/4.8.1 mpfr/3.1.4 prereq mpfr/3.1.4 cgal/4.8.1 prepend-path PATH /home/apps/openfoam/4.0/OpenFOAM-4.0/bin prepend-path PATH /home/apps/openfoam/4.0/OpenFOAM-4.0/bin/tools prepend-path PATH /home/apps/openfoam/4.0/OpenFOAM-4.0/platforms/linux64IccDPInt32Opt/bin prepend-path LD_LIBRARY_PATH /home/apps/openfoam/4.0/OpenFOAM-4.0/platforms/linux64IccDPInt32Opt/lib prepend-path LD_LIBRARY_PATH /home/apps/openfoam/4.0/OpenFOAM-4.0/platforms/linux64IccDPInt32Opt/lib/dummy setenv FOAM_BASHRC /home/apps/openfoam/4.0/OpenFOAM-4.0/etc/bashrc setenv FOAM_CSHRC /home/apps/openfoam/4.0/OpenFOAM-4.0/etc/cshrc -------------------------------------------------------------------