[cam-users] Invalid combination: nodes=2, tasks_per_node=1, procs=1

Brian Eaton eaton@ucar.edu
Thu, 23 Jan 2003 16:20:51 -0700


On Fri, Jan 17, 2003 at 01:34:42PM -0700, John Fasullo wrote:
> The default CAM2.0.1 also gives me the following error when executing 
> from the provided run-ibm.csh script with:
> 
> ## POE Environment.  Set these for interactive jobs.  They're ignored 
> by LoadLeveler
> ## MP_NODES is the number of nodes.  The number chosen should be a 
> power of 2, up to a max
>  of 16 for T42.
> setenv MP_NODES 2
> setenv MP_TASKS_PER_NODE 1
> setenv MP_EUILIB us
> setenv MP_RMPOOL 1
> 
> ....it compiles fine but upon running (on blackforest or babyblue) 
> gives:
> 
> bf0909en% run-ibm.csh
> running CAM in /ptmp/fasullo/camrun
> ERROR: 0031-366  Invalid combination: nodes=2, tasks_per_node=1, procs=1
> CAM run failed
> bf0909en%

On the IBM there are 3 environment variables that allow you to specify the
node/task configuration.  The 2 that are set in the run-ibm.csh file imply
that the total number of mpi tasks (procs) is 2.  It's likely that your job
has procs=1 due to the 3rd environment variable, MP_PROCS, being set
somewhere else, like your .cshrc or .profile file (perhaps by the SCD
supplied default version of these files).  The fix I'd suggest is to add
the command "unsetenv MP_PROCS" to run-ibm.csh file in the POE Environment
settings section.

Brian Eaton
NCAR, Climate Modeling Section