Hi to all,
i just inscribed me to the mailing list.
I hope my problemis appropriate...
Besides the problem i am facing i'd like to know the lates releases of modules
or "equivalent software".
here is my problem with modules
i recently installed, or tryed to, modules-3.0.1-rko on my ultra-1 sun
running Solaris 2.5.1
first thing i noticed is that it does NOT compile if you have tcl8.2.x, due to
the fact that regexp was renamed to tecRegexp in the latest versions of tcl.
I was not able to modify the program in order to be able to compile it.
so i decided to build also tcl8.0.x on my machine and managed to build and
install correctly modules.
I do not have dejanu so could not run the test files.
What i discovered is the following:
i installed all under /opt/Modules
After setting up correctly the environment i am able to run module command (i
use tcsh).
The strange thing that happens is that if i issue module avail i ALWAYS get an
empty list as answer...no matter where i set the modulefiles
but i am able to load the modules correctly if i type module load null, for
example.
Another problem is that if i put module files in a subdirectory inside
/opt/Modules/modulefiles strange things happen
As an example i added acrobat to the directory
acrobat contains ONLY one modulefile ("4") but if i type module load acrobat i
get the following answer:
acrobat(3):ERROR:105: Unable to locate a modulefile for 'acrobat'
this happens even if i put the following .version file in the
modulefiles/acrobat directory:
#%Module
set ModuleVersion "4"
if i type module load acrobat/4 it works though
The only other way i found to load it is to put the .modulerc containing the
following line:
module-version acrobat/4 default
in this case if i type module load acrobat it works.
Strange huh?
Another problem i am facing is the following:
on my system the /opt dir is mounted via nfs from the "main" workstation
all the user home directories are mounted via automount to /home/username
now if i create a modulefiles directory in my home directory
(/home/roby/privatemodules) and add it to the MODULEPATH and type the command
module avail i get the following message:
ModuleCmd_Avail.c(743):ERROR:52: Cannot open directory
'/home/roby/privatemodules/' for reading
ModuleCmd_Avail.c(743):ERROR:52: Cannot open directory
'/home/roby/privatemodules/' for reading
...repeted FOREVER, until i press ^C
The strange thing is that it prompts the same message even if the dir is world
readable,writable etc etc....
this happens with "all" the dirs which are local to the machine i am using
for example if i log to the machine which has /opt as local disk
if i type module avail (even with only /opt/Modules/modulefiles in the
MODULEPATH) if tells me:
ModuleCmd_Avail.c(743):ERROR:52: Cannot open directory
'/opt/Modules/modulefiles/' for reading
I really do not undrstand....
The only thing is that both /opt and /home/roby are not the physical disk but
loopback mounts in order to be visible as the same dir from every machine.
For example my home dir is /files/home/roby on my machine and is mounted as
/home/roby on all others and the opt one is /files/OPT and mounted as /opt on
all other machines.
Needless to say that if i put the "correct" peth in the MODULEPATH i get the
same error!
For example putting /files/OPT/Module/modulefiles in MODULEPATH gives the
following error messages:
ModuleCmd_Avail.c(743):ERROR:52:
Cannot open directory'/files/OPT/Modules/modulefiles/' for reading
ModuleCmd_Avail.c(797):ERROR:64:
Directory '/files/OPT/Modules/modulefiles/t'not found
note that here there is one more error (797) and it reports a WRONG dir!!!
in fact MODULEPATH contains /files/OPT/Modules/modulefiles/ and NOT
/files/OPT/Modules/modulefiles/t
If you could help me out, at least with the module avail problem, i'd be really
happy as this program would solve me many setup problems on my machines!
Many thanks in advance
Roberto Beccherle
--
E-Mail: Rob...@ge... Mail-Address: INFN - Sez. di Genova
Phone: +39 10 353-6301 Via Dodecaneso, 33
Fax: +39 10 353-6319 I-16146 GENOVA
|