If a new directory in the top level of the module directory structure is created, the MODULEPATH environment variable needs to be adjusted in this file:

/opt/sw/x86_64/glibc-2.12/ivybridge-ep/modules/3.2.6/gnu-4.4.7/Modules/3.2.6/init/.modulespath

The current contents (2015-05-27) are:

#
#  @(#)$Id: .modulespath.in,v 1.3.14.1 2007/02/22 23:13:09 rkowen Exp $
#  Module version 3.2.6
#  init/.modulespath.  Generated from .modulespath.in by configure.
#
#  Modulepath initial setup
#  ========================
#
#  This file defines the initial setup for the module files search path.
#  Comments may be added anywhere, which begin on # and continue until the 
#     end of the line
#  Each line containing a single path will be added to the MODULEPATH
#     environment variable. You may add as many as you want - just
#     limited by the maximum variable size of your shell.
#
/opt/sw/Modules/Application-Software:/opt/sw/Modules/Debugging-and-Profiling:/opt/sw/Modules/Compiler:/opt/sw/Modules/Parallel-Environment:/opt/sw/Modules/Libraries:/opt/sw/Modules/Development:/opt/sw/Modules/V2C2:/opt/sw/Modules/TUWien:/opt/sw/Modules/BOKU:/opt/sw/Modules/ADMIN					# 
  • doku/modules.txt
  • Last modified: 2015/05/27 13:37
  • by jz