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

Daniel Enderton enderton at MIT.EDU
Mon Apr 23 16:27:27 EDT 2007


Bill,

Great, that worked for me too.  And FYI, -V is not required.  Thanks so much!

Daniel

At 4:10 PM -0400 4/23/07, William Boos wrote:
>hi daniel,
>i have had a similar problem on geo, and found that a workaround there is to
>submit the batch job from a compute node, rather than the head node, using
>qsub -V  (though I'm not sure if the -V is needed).
>-bill
>
>
>-----Original Message-----
>From: aces-support-bounces at mitgcm.org
>[mailto:aces-support-bounces at mitgcm.org] On Behalf Of Daniel Enderton
>Sent: Monday, April 23, 2007 3:57 PM
>To: aces-support at acesgrid.org
>Subject: [Aces-support] Modules not loading in script submission to acesgrid
>
>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
>
>_______________________________________________
>Aces-support mailing list
>Aces-support at acesgrid.org
>http://acesgrid.org/mailman/listinfo/aces-support


-- 
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