-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathxZCM1A+
38 lines (37 loc) · 883 Bytes
/
xZCM1A+
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
#!/bin/csh
#
echo compute charges for cation and optimize with BOSS
# starting from a z-matrix cationname -
# this is used to refine an initial structure
# of a monocation. CM1A charges are unscaled.
#
# usage - xZCM1A+ cationname
#
# 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/AM1SP+cmd >& log
rm optzmat
#cp sum optzmat
#csh $BOSSdir/scripts/OPTcmd >& log
#rm optzmat
#cp sum optzmat
#csh $BOSSdir/scripts/AM1SP+cmd >& log
#rm optzmat
#cp sum optzmat
#csh $BOSSdir/scripts/OPTcmd >& log
#rm optzmat
#cp sum optzmat
#csh $BOSSdir/scripts/AM1SP+cmd >& log
#echo output is in out, sum and plt.pdb
#rm optzmat
#cp sum optzmat
#csh $BOSSdir/scripts/OPTcmd >& log
#rm optzmat
#
exit