/usr/bin/run_mopac7 is in mopac7-bin 1.15-6ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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 | #! /bin/sh
if test ! $# -eq 1
then
echo usage : run_mopac7 inputfile
exit 1
fi
if test ! -f $1.dat
then
echo error : inputfile $1.dat not found
exit 1
fi
export FOR005=$1.dat ## input
export FOR006=$1.out ## output
export FOR009=$1.res ## restart
export FOR010=$1.den ## density matrix
export FOR011=$1.log ## logfile
export FOR012=$1.arc ## archive/summary file
echo starting mopac7 job $1
/usr/lib/mopac7/mopac7 > $1.OUT
##./src/mopac7 > $1.OUT
echo mopac7 job $1 finished
if test -f SHUTDOWN
then
rm SHUTDOWN
fi
|