#!/bin/csh -f #TEST-PROGRAM sander #TEST-DESCRIP TO_BE_DEtermined #TEST-PURPOSE regression, basic #TEST-STATE undocumented set sander = "../../../bin/sander.MPI" if ( $?TESTsander ) then set sander = $TESTsander endif if ( ! $?DO_PARALLEL ) then echo " NEB can only be run in parallel. " echo " This test case requires a minimum of 4 mpi threads to run." echo " set env var DO_PARALLEL" echo " Not running test, exiting....." exit(0) else set numprocs=`echo $DO_PARALLEL | awk -f ../../numprocs.awk ` if ( $numprocs == 4 || $numprocs == 8 || $numprocs == 12 ) then goto runtest else if ( $?MP_PROCS) then if ( $MP_PROCS == 4 || $MP_PROCS == 8 || $MP_PROCS == 12 ) then goto runtest endif endif endif echo " This test case requires a least 4 mpi threads." echo " The number of mpi threads must also be a multiple of 4 and not more than 12." echo " Not running test, exiting....." exit(0) runtest: cat > mdin <