-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathxZCM1AOPT
40 lines (39 loc) · 851 Bytes
/
xZCM1AOPT
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
#!/bin/csh -f
#
echo compute charges and optimize with BOSS
# starting from a z-matrix moleculename -
# this is used to refine an initial structure
#
# usage - xZCM1A moleculename
#
# test if the enviroment variable BOSSdir has been defined
#
if (!($?BOSSdir)) then
echo "BOSSdir has not been defined; please see README"
exit (-1)
endif
if (-e optzmat) rm optzmat
cp $argv[1].z optzmat
#csh $BOSSdir/scripts/AM1SPcmd >& log
#rm optzmat
#cp sum optzmat
csh $BOSSdir/scripts/OPTcmd >& log
echo OPTIM 1
rm optzmat
cp sum optzmat
csh $BOSSdir/scripts/AM1SPcmd >& log
rm optzmat
cp sum optzmat
csh $BOSSdir/scripts/OPTcmd >& log
echo OPTIM 2
rm optzmat
cp sum optzmat
csh $BOSSdir/scripts/AM1SPcmd >& log
echo output is in out, sum and plt.pdb
rm optzmat
cp sum optzmat
csh $BOSSdir/scripts/OPTcmd >& log
echo OPTIM 3
rm optzmat
#
exit