[Aces-support] Modules not loading in script submission to acesgrid
aces-support at techsquare.com
aces-support at techsquare.com
Tue Apr 24 07:25:01 EDT 2007
remove the
#PBS -V
directive from your script.
[greg]
> Mime-Version: 1.0
> Date: Mon, 23 Apr 2007 15:56:53 -0400
> From: Daniel Enderton <enderton at mit.edu>
> Reply-To: ACES-support at mitgcm.org
>
> 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
>
More information about the Aces-support
mailing list