AMBER: Problem with dacdif when using cygwin

From: Steven Winfield <>
Date: Fri, 16 Feb 2007 18:33:38 +0000

Dear all,

I've got a fully patched AMBER 9, compiled with g95 and running under
the latest version of cygwin (with everything in the Base category
installed) on a WindowsXP machine. I started to perform the tests (make
test.serial in the test directory) but, after each test, something
similar to the following is printed:

$ make test.serial
cd dmp; ./Run.dmp
../dacdif: line 46: getopts: `': not a valid identifier
Usage: ../dacdif [-k] [-s] [-t {0,1,2,3,4,5,6,7,8}] [-v] [-w]
original_file new_files

        Strip irrelevant differences from all files and then diff
        original_file with each new_file, sending diff's to new_file.dif

               keep temporary files; the default is to remove them.

               ignore the sign of floating point numbers.

        -t n={0,1,2,3,4,5,6,7,8}
               truncate the last n digits of floating point numbers.

               do not emit verbose messages that indicate the processing

               ignore whitespace. Note that trailing whitespace and
               blank lines are removed regardless of this option.


Has anyone else experienced this? I can't find anything similar in the
mailing list archive. I know cygwin uses ash as a replacement for sh...
could they process arguments slightly differently?

If I manually change into one of the test subdirectories (e.g. dmp) and
type '../dacdif mdout.dmp' then I get the same error


The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to
Received on Sun Feb 18 2007 - 06:07:34 PST
Custom Search