Le 20/11/2014 08:23, Eric Deveaud a écrit :
> PS can you provide a test case ie the modulefile that showed this problem, and some additional information ?
> OS, module version
Hi,
I use module version 3.2.10, I did not compile it with the
--disable-shell-funcs, but I'll give it a try.
The test has been done on a CentOS 5, 64bits machine.
The problem occurs when I start a script (I wrote for testing)
from LSF (job dispatcher, like SunGrid), but not when I run the
same script in an interactive session.
The content of the test module is:
-------------------------------------------------------------------------------------
#%Module1.0
set-alias toto "ls -l"
--------------------------------------------------------------------------------------
The output of "module --version":
VERSION=3.2.10
DATE=2012-12-21
AUTOLOADPATH=undef
BASEPREFIX="/nfsi/people/cad/jrichard/nextgen/module/module-install/3.2.10/Linux-x86_64"
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=1
HAS_X11LIBS=1
LMSPLIT_SIZE=undef
MODULEPATH="/nfsi/people/cad/jrichard/nextgen/module/module-install/3.2.10/Linux-x86_64/Modules/modulefiles"
MODULES_INIT_DIR="/nfsi/people/cad/jrichard/nextgen/module/module-install/3.2.10/Linux-x86_64/Modules/init"
PREFIX="/nfsi/people/cad/jrichard/nextgen/module/module-install/3.2.10/Linux-x86_64/Modules"
TCL_VERSION="8.5"
TCL_PATCH_LEVEL="8.5.11"
TMP_DIR="/tmp"
USE_FREE=undef
VERSION_MAGIC=1
VERSIONPATH=undef
WANTS_VERSIONING=0
WITH_DEBUG_INFO=undef
Thanks for the feedback, I'll try to re-compile module with
--disable-shell-funcs
François.
--
Francois Barriere
CAD wizard / Atmel Corporation
Tel: +33 442 536 198
fra...@at... / www.atmel.com
*********************************
To lift an autumn hair is no sign of great strength; to see the sun and
moon is no sign of sharp sight; to hear the noise of thunder is no sign
of a quick ear. (The art of war, Sun Zu).
*********************************
|