Default modules naming convention, directory structure, and compliance requirements
To enable the simple loading of default versions, centers will make use of the .version method provided by the modules software to designate the default version. This will cause the default version to be identified automatically through the "module avail" command. If version 1.2.3 is the default version of foobar, but version 2.0.1 is also available, users can load the default by simply entering "module load foobar". If a user wants to load the non-default version, this is accomplished by specifying the version number (module load foobar/2.0.1).
Each system will have module directories as defined below:
Since many users already have modules incorporated into their scripts, it is important no changes are made to existing systems that will potentially break scripts.
For TI-11 and earlier systems, a system is consider complaint with the naming conventions if all software controlled by modules follows the defined naming conventions. For backward compatibility, it is acceptable to continue to provide existing module files with names outside this naming convention. For TI-12 and later systems, a system will be considered non-compliant if there are module files that do not follow this naming convention.
Since module directories are embedded in $MODULEPATH, changing the directories where module files are located should not break any existing scripts. However, with the new requirement for compiler and MPI module files to be in separate directories, it is possible moving these module files will break some scripts. Therefore, for TI-11 and earlier systems, a system is consider compliant with the directory structure if all the defined directories are provided and the module files are properly located. There may be redundant modulefiles in /some_directory/devel for the compiler and MPI modules for backward compatibility. For TI-12 and later systems, a system is considered non-compliant if there are module files that are located in directories not specified by this policy.
The appearance of hyperlinks does not constitute endorsement by the U.S. Air Force of this website or the information, products, or services contained therein. For other than authorized activities such as military exchanges and morale, welfare and recreation sites, the U.S. Air Force does not exercise any editorial control over the information you may find at these locations. Such links are provided consistent with the stated purpose of this DoD website.