Dear meep-mpi users,

I have been using meep for some time now with good results. Now I want
to scale up to a cluster and use meep-mpi. I my code I use (maybe ugly
hacks, I'm not sure) modules via commands like:
(use-modules (modules square2dpc))
in my script and
(define-module (modules square2dpc))
(module-use! (current-module) (resolve-module '(guile-user)))
in the module file.

Now this does not seem to work well with meep-mpi. I have a PBS file
looking like:
...
#Preparation work
cd ~/job/firstTrial/

# Time the program
time mpiexec ~/bin/meep-mpi sqrpc2.ctl > ~/job/firstTrial/of1 2>
~/job/firstTrial/of2

but this dies with (of2):
ERROR: no code for module (modules square2dpc)

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.
mpiexec: Warning: task 0 exited with status 1.

Anyone has any idea of how to work this out. Of course I could put my
module code in the main script, but I would really like to be able to
work like this, it's very convenient.

Best regards,
Robert Rehammar

-- 
Robert Rehammar
PhD-Student
Applied Physics, Chalmers University of Technology
Department of Physics, Göteborg University
SE-421 96 Göteborg
Sweden

Tel +46 (0)31 772 3156
Fax +46 (0)31 416 984
Cel +46 (0)738 328834
Web fy.chalmers.se/~e9ravn


_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to