Hi All,
I'm trying to simulate magnetic accretion in cataclysmic variables using pluto. At the moment, I can get Pluto to run in serial mode (i.e. single processor) but I'd like to use it on a cluster. The problem I'm having is that when I try and run one of the example problems (Rayleigh-Taylor) I get an error message. I have compiled ArrayLib and changed the Makefile to Linux_Parallel. The code compiles without error. When I then run lamboot and mpirun -np 4 ./pluto I get the following error.
mpirun -np 4 ./pluto
------------------------------
-----------------------------------------------
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.
PID 16586 failed on node n0 (127.0.0.1) due to signal 11.
I run the example without modification. It works when I use the default single processor Makefile. I'm sure I'm doing something wrong. Do you have any experience in using Pluto fin parallel mode? At the moment I'm using a laptop with an Intel core 2 duo processor running Ubuntu Linux 8.04 32bit. The mpich libraries were installed from the repository and I have found they work with the ZeusMP code.
Is there any documentation other than the user guide and developers guides?
Any help in this regard will be greatly appreciated.
Regards,
Ewald Zietsman
Update:
-------
I found the problem. User error (subtle one).
I compiled ArrayLib using MPICH and tried to run the code using LAM.
This is what I did to make it work on Ubuntu 8.04 using LAM from the repository.
In order to compile ArrayLib you need the doctext application (I don't know what it does)
After much googling I found that it is part of the "sowing" application. (I also don't know what this does)
Download sowing and compile and install that.
Then unzip the PLUTO source code.
cd PLUTO/Lib/ArrayLib
./configure --with-mpich=/usr/lib/lam
After that completes, try a test problem.
cd ../../TestProblems/HD/Rayleigh-Taylor
export PLUTO_DIR="PLUTO installation directory"
python $PLUTO_DIR/setup.py
choose the Linux_Parallel makefile and leave everything else unchanged.
exit the setup application.
then do:
make
lamboot
lamexec -np 4 ./pluto
Success!
Hope this helps someone else

Cheers
Ewald
Post edited by: ezietsman, at: 2008/11/01 15:44