Hi Christine,<br><br>Mpirun and ibrun are basically the same thing.  On Ranger, you just want to use ibrun.  You also don't need to specify the number of processors on Ranger.  It gets that from the "8way 16" line at the top.<br>
<br>The command in your script should be:<br><br>ibrun python2.7 test_parallel_yt.py --parallel<br><br>Britton<br><br><div class="gmail_quote">On Thu, Apr 7, 2011 at 5:20 PM, Christine Simpson <span dir="ltr"><<a href="mailto:csimpson@astro.columbia.edu">csimpson@astro.columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I'm trying to run yt in parallel on ranger.  I gather from previous<br>
messages to this list that others have had issues in the past, but I<br>
haven't been able to find something that works from those posts.<br>
<br>
I'm trying to run a test script that does a simple projection.<br>
<br>
First I tried this (from the yt docs):<br>
<br>
ibrun mpirun -np 8 python2.7 test_parallel_yt.py --parallel<br>
<br>
I got this output in the output file:<br>
TACC: Setting memory limits for job 1896644 to unlimited KB<br>
TACC: Dumping job script:<br>
--------------------------------------------------------------------------------<br>
#  Submit this script using the "qsub" command.<br>
#  Use the "qstat" command to check the status of a job.<br>
#<br>
#$-l h_rt=00:05:00<br>
#$-pe 8way 16<br>
#$-N test_parallel_yt<br>
#$-o $JOB_NAME.o$JOB_ID<br>
#$-q development<br>
#$-M <a href="mailto:csimpson@astro.columbia.edu">csimpson@astro.columbia.edu</a><br>
#$-m be<br>
#$-V<br>
#$-cwd<br>
<br>
ibrun mpirun -np 8 python2.7 test_parallel_yt.py --parallel<br>
<br>
<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
TACC: Done.<br>
TACC: Starting up job 1896644<br>
TACC: Setting up parallel environment for MVAPICH ssh-based mpirun.<br>
TACC: Setup complete. Running job script.<br>
TACC: starting parallel tasks...<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that test_parallel_yt.py is a<br>
command line argument for the program.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that test_parallel_yt.py is a<br>
command line argument for the program.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that test_parallel_yt.py is a<br>
command line argument for the program.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that test_parallel_yt.py is a<br>
command line argument for the program.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that test_parallel_yt.py is a<br>
command line argument for the program.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that test_parallel_yt.py is a<br>
command line argument for the program.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that test_parallel_yt.py is a<br>
command line argument for the program.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that test_parallel_yt.py is a<br>
command line argument for the program.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that --parallel is a<br>
command line argument for the program.<br>
Missing: program name<br>
Program python2.7 either does not exist, is not<br>
executable, or is an erroneous argument to mpirun.<br>
Warning: Command line arguments for program should be given<br>
after the program name.  Assuming that --parallel is a<br>
command line argument for the program.<br>
TACC: MPI job exited with code: 1<br>
TACC: Shutting down parallel environment.<br>
TACC: Shutdown complete. Exiting.<br>
TACC: Cleaning up after job: 1896644<br>
TACC: Done.<br>
<br>
<br>
I also tried this:<br>
<br>
ibrun mpi4py -np 8 python2.7 test_parallel_yt.py --parallel<br>
<br>
and got this output:<br>
TACC: Setting memory limits for job 1896674 to unlimited KB<br>
TACC: Dumping job script:<br>
--------------------------------------------------------------------------------<br>
#!/bin/sh<br>
#<br>
#  Submit this script using the "qsub" command.<br>
#  Use the "qstat" command to check the status of a job.<br>
#<br>
#$-l h_rt=00:05:00<br>
#$-pe 8way 16<br>
#$-N test_parallel_yt<br>
#$-o $JOB_NAME.o$JOB_ID<br>
#$-q development<br>
#$-M <a href="mailto:csimpson@astro.columbia.edu">csimpson@astro.columbia.edu</a><br>
#$-m be<br>
#$-V<br>
#$-cwd<br>
<br>
ibrun mpi4py -np 8 python2.7 test_parallel_yt.py --parallel<br>
<br>
<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
TACC: Done.<br>
TACC: Starting up job 1896674<br>
TACC: Setting up parallel environment for MVAPICH ssh-based mpirun.<br>
TACC: Setup complete. Running job script.<br>
TACC: starting parallel tasks...<br>
TACC: MPI job exited with code: 1<br>
TACC: Shutting down parallel environment.<br>
TACC: Shutdown complete. Exiting.<br>
TACC: Cleaning up after job: 1896674<br>
TACC: Done.<br>
<br>
<br>
Any ideas?  I guess in the first instance it is not finding python, but<br>
the test script I run works fine on the command line and doing -V should<br>
import the same environment settings, right?  I guess in the second<br>
instance I'm using the wrong mpi call.  I found info on that call in<br>
some old posts to the email list.<br>
<br>
Christine<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br>