[teamhpc@head basic]$ cat hello++.pbs #!/bin/bash ############################################################ ## Team HPC ## PBS Job Script ## (c) 2001-2002 Team HPC, All rights reserved ############################################################ # $Id: cpi.gcc.eth.pbs,v 1.2 2005/03/31 20:42:01 dinkel Exp $ ### Set the job name #PBS -N job_hello++ ### Set the queue to submit this job. #PBS -q default ### Set the number of nodes that will be used. #PBS -l nodes=4:ppn=4 mpiexec /home/teamhpc/examples/basic/hello++ [teamhpc@head basic]$ qsub hello++.pbs 522.head [teamhpc@head basic]$ cat job_hello++.{e,o}522 node004: Not running from mpirun?. mpiexec: Warning: task 0 exited with status 1. mpiexec: Warning: tasks 1,9,11 exited with status 56. mpiexec: Warning: task 2 died with signal 6442496 (Unknown signal 6442496). mpiexec: Warning: tasks 3-5,7,12-13,15 exited oddly---report bug: status 0 done 0. mpiexec: Warning: task 6 exited with status 65. mpiexec: Warning: tasks 8,10 died with signal 780338616 (Unknown signal 780338616). mpiexec: Warning: task 14 exited with status 33. [teamhpc@head basic]$ mpirun -np 16 /home/teamhpc/examples/basic/hello++ Hello World! I am 5 of 16 Hello World! I am 3 of 16 Hello World! I am 11 of 16 Hello World! I am 10 of 16 Hello World! I am 12 of 16 Hello World! I am 14 of 16 Hello World! I am 6 of 16 Hello World! I am 13 of 16 Hello World! I am 15 of 16 Hello World! I am 7 of 16 Hello World! I am 0 of 16 Hello World! I am 8 of 16 Hello World! I am 2 of 16 Hello World! I am 4 of 16 Hello World! I am 9 of 16 Hello World! I am 1 of 16 [teamhpc@head basic]$