On Mon, 17 Dec 2007, Robert Rehammar wrote:
> 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:
When you run meep-mpi on your cluster, a separate instance of the guile
interpreter is launched on each MPI node/process. That means that your
guile module must be in a location that can be found by guile running on
every cluster node. Perhaps you have put your module someplace that only
guile on one node knows about?
To be honest, I normally don't mess around with modules. I just use
(include "foo.scm")
to include a foo.scm file in the same directory into my current .ctl
script.
Regards,
Steven G. Johnson
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss