--- Run.comprehensive 2010-03-30 23:05:20.000000000 -0400 +++ Run.comprehensive 2010-04-12 11:00:00.000000000 -0400 @@ -8,6 +8,14 @@ if( ! $?TESTptraj ) set TESTptraj = "../../exe/ptraj" else if( ! $?TESTptraj ) set TESTptraj = "../../exe/ptraj.MPI" + set numprocs=`echo $DO_PARALLEL | awk -f ../numprocs.awk ` + if ( $numprocs != 2 && $numprocs != 4 ) then + echo " Trying to run test with $numprocs threads." + echo " The parallel version of this test case requires either 2 or 4 threads." + echo " Not running test, exiting....." + echo "" + exit(0) + endif endif $DO_PARALLEL $TESTptraj compound.prmtop ptraj.in >& ptraj.out || goto error