Re: [AMBER-Developers] Amber coding standards

From: Joe Krahn <krahn.niehs.nih.gov>
Date: Mon, 16 Mar 2009 18:33:42 +0000

Ross Walker wrote:
> Hi Joe,
>
>> I generally try to follow strict Fortran95, but there are obviously a
>> few extension routines that are OK to use, such as GETARG. It would be
>> nice to have a list of these.
>
> Yes but be CAREFUL about using too much of this. A lot of things that seem
> perfectly reasonable on Linux / gfortran or ifort break on other machines. A
> lot of this is going away now as old systems die but remember not everybody
> uses Linux so if you add such things make sure it is supported across
> multiple platforms and 'every' compiler. So things like AIX, MAC OSX,
> Cygwin, Windows, IRIX, Unicos, Solaris etc.

That is why we need a list of allowed extension routines. Sander appears
to only use IARGC, GETARG and EXIT. Maybe those 3 are the complete list.

Joe

_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Mar 18 2009 - 01:11:04 PDT
Custom Search