[Aces-support] Modules not loading in script submission to acesgrid

Daniel Enderton enderton at MIT.EDU
Mon Apr 23 15:56:53 EDT 2007


I have a script for PBS submission that opens with:

#! /usr/bin/env bash

#PBS -N EarthCplC
#PBS -q long
#PBS -V
#PBS -l nodes=8,walltime=12:00:00

# ITRDA specific calls:
. /etc/profile.d/modules.sh
module list
module add mpich/intel
module add python-ext
module list
...

When I submit it in interactive more (qsub -I -l nodes=8; ./qsub 
[script name]), all is well.  When I submit in batch mode (qsub 
[script name]) it crashes and I get the attached message (below) in 
the error file.  Why will the modules not load in batch submission 
more for me?  Any idea or suggestions would be very welcome!

Thanks,
Daniel

[enderton at ao EarthCplAlbCon]$ more EarthCplC.e60015
ModuleCmd_Load.c(199):ERROR:105: Unable to locate a modulefile for 'man'
????8??????c(3):ERROR:105: Unable to locate a modulefile for 'modules'
????8??????c(4):ERROR:105: Unable to locate a modulefile for 'rsh'
????8??????c(5):ERROR:105: Unable to locate a modulefile for 'torque'
?$     $(7):ERROR:105: Unable to locate a modulefile for 'torque'
ModuleCmd_Load.c(199):ERROR:105: Unable to locate a modulefile for 'man'
???????????c(3):ERROR:105: Unable to locate a modulefile for 'modules'
???????????c(4):ERROR:105: Unable to locate a modulefile for 'rsh'
???????????c(5):ERROR:105: Unable to locate a modulefile for 'torque'
Currently Loaded Modulefiles:
ModuleCmd_Load.c(199):ERROR:105: Unable to locate a modulefile for 'man'
s??????????c(3):ERROR:105: Unable to locate a modulefile for 'modules'
s??????????c(4):ERROR:105: Unable to locate a modulefile for 'rsh'
s??????????c(5):ERROR:105: Unable to locate a modulefile for 'torque'
?C     $(7):ERROR:105: Unable to locate a modulefile for 'mpich/intel'
ModuleCmd_Load.c(199):ERROR:105: Unable to locate a modulefile for 'man'
s??????????c(3):ERROR:105: Unable to locate a modulefile for 'modules'
s??????????c(4):ERROR:105: Unable to locate a modulefile for 'rsh'
s??????????c(5):ERROR:105: Unable to locate a modulefile for 'torque'
?C     $(7):ERROR:105: Unable to locate a modulefile for 'python-ext'
ModuleCmd_Load.c(199):ERROR:105: Unable to locate a modulefile for 'man'
???????????c(3):ERROR:105: Unable to locate a modulefile for 'modules'
???????????c(4):ERROR:105: Unable to locate a modulefile for 'rsh'


-- 
Daniel Enderton
PhD Candidate, Climate Physics and Chemistry
Massachusetts Institute of Technology
E-Mail:  enderton at mit.edu
Phone:  857.204.3542



More information about the Aces-support mailing list