-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnvt_droplet_aimd_gaussian_water.info
84 lines (73 loc) · 2.23 KB
/
nvt_droplet_aimd_gaussian_water.info
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/bin/csh -f
#TEST-PROGRAM sander
#TEST-DESCRIP TO_BE_DEtermined
#TEST-PURPOSE regression, basic
#TEST-STATE undocumented
../../check_GAUSSIAN.x
if( $status > 0) then
exit(0)
endif
set sander = "${AMBERHOME}/bin/sander"
if( $?TESTsander ) then
set sander = $TESTsander
endif
if( $?DO_PARALLEL ) then
echo "Running $TESTsander in parallel on "`$DO_PARALLEL echo | wc -l`" cores."
else set DO_PARALLEL = ''
endif
# check on how many CPU core ORCA shall be running
if ( $?GAU_NCPUS) then
if ( $GAU_NCPUS > 1 ) then
echo "GAUSSIAN will run on $GAU_NCPUS CPU cores"
endif
else
set GAU_NCPUS = 1
echo "GAUSSIAN will run on 1 CPU core"
echo "(environment variable GAU_NCPUS not set)"
endif
cat > mdin <<EOF
NMA in 15 Angstrom water shell QM/MM HF/STO-3G/SPC(Fw) NVE 2 steps at dt=0.5fs
&cntrl
imin = 0, ! do MD (no minimization)
irest = 1, ! restart trajectory
ntx = 5, ! read coordinates and velocities
dt = 0.0005 ! 0.5fs time step
cut = 999.9, ! non-bonded cutoff
ntb = 0, ! periodic boundary conditions
ntpr = 1, ! print every step)
ntwx = 1, ! write coordinates every step
ntwr = 2, ! write restart file at last step
nstlim = 2, ! runfor 2 steps
nscm = 0, ! do not remove COM motion
jfastw = 4, ! do not use routines for fast triangulated water
ioutfm = 1, ! NetCDF MDCRD.
ntxo = 1, ! Formatted restart file
ifqnt = 1, ! do QMMM simulation
/
&qmmm
qmmask = ':1-2',
qm_theory = 'EXTERN',
/
&gau
basis = 'sto-3g',
method = 'hf',
executable = '',
num_threads = $GAU_NCPUS,
/
EOF
set output = nma-spcfw-15.hf_sto-3g.mdout
set restrt = nma-spcfw-15.hf_sto-3g.restrt
/bin/rm -f $output
touch dummy
$DO_PARALLEL $sander -O -p nma-spcfw-15.prmtop -c nma-spcfw-15.restrt -o $output -r $restrt < dummy || goto error
# remove info about number of threads from output as this may vary
grep -v 'num_threads' $output > tmp
mv tmp $output
../../dacdif -t 1 $output.save $output
../../dacdif -t 1 $restrt.save $restrt
/bin/rm -f dummy mdin mdinfo mdcrd restrt inpfile*.xyz gau_job* old.gau_job* fort*
/bin/rm -rf 000
exit(0)
error:
echo " ${0}: Program error"
exit(1)