Share

Environment Modules

Tracker: Bugs

5 (v3.2.5) removal of a "full path module" fails silently - ID: 2384340
Last Update: Comment added ( mjakubicek )

Seems that the module remove command fails silently if given the full path
of the module - works if given the module name (no path) though.

DETAILS

Here is the version and config info
module -V
VERSION=3.2.5
DATE=2007-02-14

AUTOLOADPATH=undef
BASEPREFIX="/usr/local/modules-env-3.2.5"
BEGINENV=99
CACHE_AVAIL=undef
DEF_COLLATE_BY_NUMBER=undef
DOT_EXT=""
EVAL_ALIAS=1
HAS_BOURNE_FUNCS=1
HAS_BOURNE_ALIAS=1
HAS_TCLXLIBS=undef
HAS_X11LIBS=1
LMSPLIT_SIZE=undef
MODULEPATH="/usr/local/share/modulefiles"
MODULES_INIT_DIR="/usr/local/modules-env-3.2.5/Modules/init"
PREFIX="/usr/local/modules-env-3.2.5/Modules"
TCL_VERSION="8.4"
TCL_PATCH_LEVEL="8.4.13"
TMP_DIR="/tmp"
USE_FREE=undef
VERSION_MAGIC=1
VERSIONPATH=undef
WANTS_VERSIONING=0
WITH_DEBUG_INFO=undef


module list
Currently Loaded Modulefiles:
1) pgi 3) moab
5) mpirun-compat
7) modules
2) intel-compilers-10.0 4) torque
6) biosoftw
8)
+/home/XXX/.modulefiles/mvapich-1.0.1-pgi

Trying to remove it wit full path, fails with no error
module rm /home/XXX/.modulefiles/mvapich-1.0.1-pgi
NO ERRORS

module list
Currently Loaded Modulefiles:
1) pgi 3) moab
5) mpirun-compat
7) modules
2) intel-compilers-10.0 4) torque
6) biosoftw
8) /home/XXX/.modulefiles/mvapich-1.0.1-pgi
STILL THERE

if we use the last part of the name it does work

module unload mvapich-1.0.1-pgi

module list
Currently Loaded Modulefiles:
1) pgi 2) intel-compilers-10.0 3) moab
4) torque 5) mpirun-compat 6) biosoftw
7) modules


kyriacou@osc.edu


Nobody/Anonymous ( nobody ) - 2008-12-03 19:58

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2009-09-24 06:06
Sender: mjakubicek

Yes, this is pretty misleading. Moreover, the module unload <module>
returns 0 for whatever nonsense you passed as <module> :(


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.