-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMinimization.csh
More file actions
28 lines (23 loc) · 858 Bytes
/
Copy pathMinimization.csh
File metadata and controls
28 lines (23 loc) · 858 Bytes
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
#!/bin/csh
# Load gromacs on Biowulf node
module load gromacs/2018.3
# step6.0
#gmx grompp -f step6.0_minimization.mdp -o step6.0_minimization.tpr -c step5_input.gro -r step5_input.gro -p topol.top
#gmx mdrun -v -deffnm step6.0_minimization
# Equilibration
:'
set cnt = 1
set cntmax = 6
while ( ${cnt} <= ${cntmax} )
@ pcnt = ${cnt} - 1
if ( ${cnt} == 1 ) then
gmx grompp -f step6.{$cnt}_equilibration.mdp -o step6.{$cnt}_equilibration.tpr -c step6.{$pcnt}_minimization.gro -r step5_input.gro$
gmx mdrun -v -deffnm step6.{$cnt}_equilibration
else
gmx grompp -f step6.{$cnt}_equilibration.mdp -o step6.{$cnt}_equilibration.tpr -c step6.{$pcnt}_equilibration.gro -r step5_input.gr$
gmx mdrun -v -deffnm step6.{$cnt}_equilibration
endif
@ cnt += 1
end
'
gmx mdrun -v -deffnm step6.6_equilibration