[OMPI users] Calling MPI from a CGI script

2010-04-29 Thread Srujan Enaganti
Hi, I am trying to run an MPI program as a CGI Python script which is running over an Apache web server running locally on my computer. I have a test.py file which has the code snippet cmd = 'opt/local/bin/mpiexec -np 10 testmpi' output = commands.getoutput(cmd) When I run the file test.py

Re: [OMPI users] mpirun works locally but not through network

2010-04-29 Thread Nguyen Kim Son
I think you mean: mpirun -mca oob_tcp_if_exclude eth0 Actually, it doesn't work.But if I turn down eth0 on the virtual machines ( sudo ifdown eth0), all work like a charm ! Finally, I can start to do something  more complicated with openmpi. Thank you all very much ! Son.

Re: [OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output

2010-04-29 Thread Ralph Castain
It confirms what we were saying - your application is not compiled against OMPI You'll have to dig a little to figure out why that is happening - could be a path issue. On Apr 29, 2010, at 2:56 AM, Pankatz, Klaus wrote: > Hi Ralph, > > thanks for your advise. Finally I configured openmpi with

Re: [OMPI users] mpirun works locally but not through network

2010-04-29 Thread Ralph Castain
Try running it with mpirun -mca oob_tcp_if_exclude=10.0.2.15 That will tell OMPI to ignore the 10.0.2.15 interface On Apr 29, 2010, at 7:36 AM, Nguyen Kim Son wrote: > I think the problem reside the orted. As I tested mpirun in 2 virtual > machines(fedora) in Windows, the communication betwee

Re: [OMPI users] mpirun works locally but not through network

2010-04-29 Thread Nguyen Kim Son
I think the problem reside the orted.  As I tested mpirun in 2 virtual machines(fedora) in Windows, the communication between the two is through eth1 but not eth0. After lauching ps aux | grep orted the results is: /usr/lib/openmpi/bin/orted --daemonize -mca ess env -mca orte_ess_jobid -1233

Re: [OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output

2010-04-29 Thread Pankatz, Klaus
Hi Ralph, thanks for your advise. Finally I configured openmpi with ./configure --prefix=... --enable-debug. According to your suggestion I ran the hello_world with mpirun -np 4 -mca ess_base_verbose 5 and the output is as follows: I don't know what happend there... ** [marvin:00373] mca:ba