[AMBER] Fwd: bug report and gmail filtering amber digest

From: Ross Walker via AMBER <amber.ambermd.org>
Date: Fri, 17 May 2024 10:10:57 -0400

> Begin forwarded message:
>
> From: "German P. Barletta" <pbarletta.gmail.com>
> Subject: bug report and gmail filtering amber digest
> Date: May 17, 2024 at 09:31:31 EDT
> To: amber-owner.ambermd.org
>
> Hello,
> I'm writing to report a bug on a test, maybe it's been fixed already, but I downloaded amber yesterday, so I thought I should try to report it.
> I'd write to the mailing list but gmail has been filtering my amber digest emails for a while now.
>
> On amber24/test/4096wat/Run.frcdmp:
> ----------------------------------------
> # Check the NetCDF forces with ncdump
> if [ ! -x $AMBERHOME/bin/ncdump ]; then
> ncdump=`which ncdump`
> if [ ! -x $ncdump ]; then
> echo "Warning: Cannot compare mdfrc without ncdump!"
> exit 0
> fi
> else
> ncdump=$AMBERHOME/bin/ncdump
> fi
> ----------------------------------------
>
> It should be:
> ----------------------------------------
> # Check the NetCDF forces with ncdump
> if [ ! -x $AMBERHOME/bin/ncdump ]; then
> ncdump=`which ncdump`
> if [ -z $ncdump ]; then
> echo "Warning: Cannot compare mdfrc without ncdump!"
> exit 0
> fi
> else
> ncdump=$AMBERHOME/bin/ncdump
> fi
> ----------------------------------------
>
> -x is good for checking if a file exists and is executable, -z is good for checking if a variable is empty, which is what happens if which ncdump can't find ncdump.
>
> Best wishes,

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri May 17 2024 - 07:30:02 PDT
Custom Search