AMBER Archive (2004)

Subject: AMBER: antechamber + mopac error

From: Carsten Detering (detering_at_u.washington.edu)
Date: Wed Feb 04 2004 - 20:57:48 CST


Hi all,

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

[detering_at_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_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu