[CIG-MC] cookbook9: new error

Magali Billen mibillen at ucdavis.edu
Fri Jul 2 17:10:33 PDT 2010

Hello Eh,

I don't think that's the issue. I just started from scratch again  
following section 1.7.
My PYTHONPATH is assigned correctly:
[billen at ymir Cookbook9]$ echo $PYTHONPATH/

 From the Traceback errors, is there something that is suppose to be a  
module called mpi.Application?
If so, where is it suppose to be?

Also, just to make sure, is  there any issue with executing this using  
the qsub command:
qsub -pe mpi 4 qckbk9

where qckbk9 has this inside:

[billen at ymir Cookbook9]$ more qckbk9
#$ -cwd
#$ -j y
#$ -S /bin/bash
# For debugging (can be very helpful)
#ldd /home/magali/Src2/CitcomS-3.1.1/bin/citcoms

module load gcc/4.4 openmpi/1.4

/home/billen/Src2/CitcomS-3.1.1/bin/citcoms --coupled cookbook9.cfg

Finally, could the problem be with the version of python that I'm using?

Also, just so you know, I'm trying to get an actual model working  
using the coupler, so this
isn't just an exercise to get the cookbook9 working... any suggestions  
you have for figuring
this out, please let me know... I have my model ready to go and would  
love to move forward with it.
Thank you,

On Jul 1, 2010, at 6:31 PM, Eh Tan wrote:

> On 6/24/10 4:01 AM, Magali Billen wrote:
>> Traceback (most recent call last):
>>  File "/home/billen/Src2/CitcomS-3.1.1/bin/citcoms", line 56, in ?
>>    from CitcomS.CoupledApp import CoupledApp as App
>>  File "/home/billen/Src2/CitcomS-3.1.1/CitcomS/CoupledApp.py", line  
>> 29, in ?
>>    from BaseApplication import BaseApplication
>>  File "/home/billen/Src2/CitcomS-3.1.1/CitcomS/BaseApplication.py",  
>> line 30, in ?
>>    from mpi.Application import Application
>> ImportError: No module named mpi.Application
> Hi Magali,
> This error indicates that your PYTHONPATH is not set up correctly.
>>   315    12:16    setenv PYTHONPATH $home/cig/lib/python2.4/site- 
>> packages
> It's possible that your MPI implementation doesn't pass the current  
> environment variable to the remote mpi processes. As a result, the  
> correct PYTHONPATH is only defined on the host, but not on the  
> compute node. You might need to add the above line in your .cshrc.
> Cheers,
> Eh

More information about the CIG-MC mailing list