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

From: Ryan Snyder via AMBER <amber.ambermd.org>
Date: Fri, 17 May 2024 15:51:00 +0000

I agree with your findings. I created a merge request to implement your fix.

Ryan Snyder
________________________________
From: Ross Walker via AMBER <amber.ambermd.org>
Sent: Friday, May 17, 2024 10:10 AM
To: AMBER Mailing List <amber.ambermd.org>
Subject: [AMBER] Fwd: bug report and gmail filtering amber digest



> 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
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C02%7Crs2385%40iqb.rutgers.edu%7C32149bcdef0044a1a60608dc767b4c41%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C638515519136718803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=sAg0G1n6o6T%2FWKKseWdOwU10sO8clxX4S7Az2FQgMbo%3D&reserved=0<http://lists.ambermd.org/mailman/listinfo/amber>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri May 17 2024 - 09:00:02 PDT
Custom Search