Dear Jeff., I used the sample code to test out the nodes, the output of my test is below.
On the result I am getting the bellow error message what does means, this is appearing only on MPI C Binding test. But when I did the test during my installation everything went with passed result. 1000 iterations: pi is approx. 3.1415927370900434, error = 0.0000000835002503 wall clock time = 0.000152 --------------- My Test O/P Beginning -------------------------------------------------- Running LAM/MPI test LAM 6.5.9/MPI 2 C++/ROMIO - Indiana University --> MPI C bindings test: Process 5 of 6 on oscarnode2.oscardomain Process 4 of 6 on oscarnode2.oscardomain Process 3 of 6 on oscarnode1 Process 0 of 6 on oscarnode1 1000 iterations: pi is approx. 3.1415927370900434, error = 0.0000000835002503 wall clock time = 0.000152 Process 2 of 6 on oscarnode1 Process 1 of 6 on oscarnode1 --> MPI C++ bindings test: Hello World! I am 1 of 6 Hello World! I am 2 of 6 Hello World! I am 3 of 6 Hello World! I am 0 of 6 Hello World! I am 5 of 6 Hello World! I am 4 of 6 --> MPI Fortran bindings test: Hello World! I am 0 of 6 Hello World! I am 1 of 6 Hello World! I am 2 of 6 Hello World! I am 5 of 6 Hello World! I am 3 of 6 Hello World! I am 4 of 6 LAM 6.5.9/MPI 2 C++/ROMIO - Indiana University LAM/MPI test complete Unless there are errors above, test completed successfully. --------------- My Test O/P End -------------------------------------------------- Thanks & Best Regards Sundaram. A -----Original Message----- From: Jeff Squyres [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 6:26 PM To: Sundaram A Cc: [EMAIL PROTECTED] Subject: Re: [Oscar-users] Running Parallel Job on OSCAR 2.2.1, On Thu, 11 Sep 2003, Sundaram A wrote: > And how to run a parralell jobs, do I have to run lamboot at the > beging or is there any other method to run parallel jobs ib OSCAR. > please help me and give me some sample scripts for submitting an > parallel jobs. I have tried with lamboot, i can able to boot the nodes > but when i submit a job with usual mpirun command it gives an error > message and exits. The command i used is > > mpirun -O -c 6 a.out < inp_para You'll need to run lamboot in the PBS script itself, followed by mpirun. lamboot sets up a run-time environment *for that PBS job* in which you can run MPI programs. A sample PBS script is included in the OSCAR test suite for LAM/MPI (if you ran the test suite, I believe it will be installed under ~oscartst/lam/pbs_script.lam, or if you didn't run the test suite, I believe it will be located at $OSCAR_home_directory/packages/lam/testing/pbs_script.lam). Here's generally what it looks like: ----- # Start up the LAM run-time environment lamboot $PBS_NODEFILE # Run the job in homogeneous mode on all nodes available in the PBS job # (i.e., don't specify "-c X" here -- use "C" to indicate that LAM should # run on all available CPUs that PBS made available. See the mpirun(1) # man page for more details. mpirun -O C a.out < inp_para # Shut down the LAM run-time environment lamhalt ----- Of course, you can do lots of other things in the PBS script, but this is the basic set of commands that you need. Hope that helps. -- {+} Jeff Squyres {+} [EMAIL PROTECTED] {+} http://www.lam-mpi.org/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
