AMBER: Problem with dacdif when using cygwin

From: Steven Winfield <saw44.cam.ac.uk>
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: `mdout.dmp.save': not a valid identifier
Usage: ../dacdif [-k] [-s] [-t {0,1,2,3,4,5,6,7,8}] [-v] [-w]
original_file new_files

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

Options
        -k
               keep temporary files; the default is to remove them.

        -s
               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.

        -v
               do not emit verbose messages that indicate the processing
status.

        -w
               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.save mdout.dmp' then I get the same error
message.

Regards,

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