[MPICH] mpich and pbs

Steve Young chemadm at hamilton.edu
Wed Jun 20 14:57:32 CDT 2007


Yes. that is the only way you can run their version of it. 

% mpiexec -np 8 ./cpi
mpiexec: Error: PBS_JOBID not set in environment.  Code must be run from
a PBS script, perhaps interactively using "qsub -I".

% /usr/local/mpich2-1.0.5/bin/mpiexec -np 8 ./cpi
Process 0 of 8 is on node0037
Process 2 of 8 is on node0038
Process 1 of 8 is on node0038
Process 3 of 8 is on node0038
Process 4 of 8 is on node0038
Process 6 of 8 is on node0038
Process 5 of 8 is on node0037
Process 7 of 8 is on node0037
pi is approximately 3.1415926544231247, Error is 0.0000000008333316
wall clock time = 0.006519

% /usr/local/mpich2-1.0.5/bin/mpirun -np 8 ./cpi
Process 0 of 8 is on node0037
Process 1 of 8 is on node0038
Process 3 of 8 is on node0038
Process 2 of 8 is on node0038
Process 4 of 8 is on node0038
Process 6 of 8 is on node0038
Process 5 of 8 is on node0037
Process 7 of 8 is on node0037
pi is approximately 3.1415926544231247, Error is 0.0000000008333316
wall clock time = 0.006462


That is all instances I am testing from the command line. 

-Steve

On Wed, 2007-06-20 at 14:39 -0500, Anthony Chan wrote:
> 
> On Wed, 20 Jun 2007, Steve Young wrote:
> 
> > Ok I did the cpi test and had the following results:
> >
> > Process 0 of 1 is on node0038
> > pi is approximately 3.1415926544231341, Error is 0.0000000008333410
> > wall clock time = 0.000107
> > Process 0 of 1 is on node0038
> > pi is approximately 3.1415926544231341, Error is 0.0000000008333410
> > wall clock time = 0.000101
> > Process 0 of 1 is on node0038
> > pi is approximately 3.1415926544231341, Error is 0.0000000008333410
> > wall clock time = 0.000118
> > Process 0 of 1 is on node0038
> > pi is approximately 3.1415926544231341, Error is 0.0000000008333410
> > wall clock time = 0.000107
> > Process 0 of 1 is on node0037
> > Process 0 of 1 is on node0037
> > pi is approximately 3.1415926544231341, Error is 0.0000000008333410
> > wall clock time = 0.000108
> > pi is approximately 3.1415926544231341, Error is 0.0000000008333410
> > wall clock time = 0.000126
> > Process 0 of 1 is on node0037
> > pi is approximately 3.1415926544231341, Error is 0.0000000008333410
> > wall clock time = 0.000102
> > Process 0 of 1 is on node0037
> > pi is approximately 3.1415926544231341, Error is 0.0000000008333410
> > wall clock time = 0.000101
> > mpiexec: Warning: tasks 0-7 exited before completing MPI startup.
> 
> Did you run osc's mpiexec in a pbs script (which you qsub
> the job to PBS) ?
> 
> A.Chan




More information about the mpich-discuss mailing list