AMBER: antechamber + mopac error

From: Carsten Detering <detering.u.washington.edu>
Date: Wed, 04 Feb 2004 18:57:48 -0800

Hi all,

When I test my antechamber,
I get the following error:

[detering.konga test]$ make test.antechamber
cd antechamber/tp; ./Run.tp

Running: /usr/local/amber7/exe/mopac.sh ANTECHAMBER_MUL.MOP
ANTECHAMBER_MUL.OUT
mkfile: Command not found.
..dat: No such file or directory.
Unable to find mopac charges in ANTECHAMBER_MUL.OUT
   Program error
make: *** [test.antechamber] Error 1

My mopac.sh in teh $AMBERHOME/exe looks like this:

#!/bin/sh -f
# bunch of comments
/usr/local/mopac7/runmopac < $1 > $2

and my runmopac file in /usr/local/mopac7/ kile this

#!/bin/csh
set job = $1
foreach file (out log brz gpt esp ump arc syb end)
     if -e $job.$file mv $job.$file $job.$file.$$
   end
if !(-e $job.log) mkfile -n 1 $job.log
setenv FOR005 $job.dat
setenv FOR006 $job.out
setenv FOR009 $job.res
setenv FOR010 $job.den
setenv FOR011 $job.log
setenv FOR012 $job.arc
setenv FOR013 $job.gpt
setenv FOR016 $job.syb
setenv FOR020 $job.ump
setenv SETUP SETUP.DAT
setenv SHUTDOWN $job.end

time /usr/local/mopac7 $job <$job.dat
#vi $job.out
if -e core rm core

I have tried to exchange $job and $job.dat for $1 and $2, but then I get
the $1 ambiguous error. Also, the removal of the "<" and ">" did not
help, this just ended in a neverending loop.
I read all threads in the amber mail reflector about this problem, but
couldn't find any useful information.

Could anyone please tell me what the problem here is?
thanks in advance,

Carsten




-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Thu Feb 05 2004 - 03:53:00 PST
Custom Search