Debian Codegraph @

contrib/iapbs/modules/Amber/test/pbsa_pgb/PBSA/Run.pbpgb.min

raw
1 #!/bin/csh -f
2
3 if( ! $?TESTsander ) set TESTsander = "../../exe/pbsa"
4
5 if( ! $?DO_PARALLEL ) then
6 setenv DO_PARALLEL " "
7 else
8 echo "This test not set up for parallel"
9 echo " cannot run in parallel with pbsa"
10 exit 0
11 endif
12
13 cat > mdin <<EOF
14 test of PB reaction field on protein g solvated in a sphere
15 &cntrl
16 ntx=1, irest=0,
17 imin=1, ntmin=2, maxcyc=0,
18 ntpr=1, igb=10, ntb=0,
19 ntc=1, ntf=1, tol=0.000001,
20 /
21 &pb
22 npbverb=0, istrng=0, epsout=80.0, epsin=1.0, space=.5,
23 accept=0.001, sprob=1.6, radiopt=1
24 /
25 EOF
26
27 set output = mdout.pbpgb.min
28
29 $DO_PARALLEL $TESTsander -O -i mdin -c pgb.rst -o $output < /dev/null || goto error
30
31 ../dacdif $output.save $output
32 /bin/rm -f mdin restrt mdinfo mdcrd
33 exit(0)
34
35 error:
36 echo " ${0}: Program error"
37 exit(1)