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

Andrew David Barton adbarton at MIT.EDU
Mon Apr 23 16:26:54 EDT 2007


hi dan,

i think you need to comment out the pbs -V stuff.  that worked for me.

andrew

Quoting Daniel Enderton <enderton at MIT.EDU>:

> 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
> _______________________________________________
> Aces-support mailing list
> Aces-support at acesgrid.org
> http://acesgrid.org/mailman/listinfo/aces-support
>



-- 
Andrew D. Barton
Program in Atmospheres, Oceans, and Climate
77 Massachusetts Ave, 54-1511
MIT, Cambridge, MA  02139
tel: 1.617.452.3639



More information about the Aces-support mailing list