The basic configuration of Module file

the basic configuration of Module file is described below.


- Module file listed as [Application name]/[Version].


- If you do not specify a version, it loads the preset default version

- If more than one version exists and the default is set, "(default)" is displayed after the version.

Example:

$ module load intel
$ module list

   Currently Loaded Modulefiles:

    1) intel/17.0.4.196


- For applications with dependencies such as MPI, they can be used by loading them in advance.

Example: namd

If there are insufficient modules, error will be displayed

$ module load namd

   namd/2.12(3):ERROR:151: Module 'namd/2.12' depends on one of the module(s) 'intel/17.0.4.196 intel/16.0.4.258'
   namd/2.12(3):ERROR:102: Tcl command execution failed: prereq intel

After loading Intel Compiler and cuda, load namd.

$ module load intel
$ module load cuda
$ module load namd
$ module list

  Currently Loaded Modulefiles:

  1) intel/17.0.4.196   2) cuda/8.0.44        3) namd/2.12