| AMBER Archive (2008)Subject: AMBER: Re: amber 9 compilation problem on IBM SP5
From: Andrew Emerson (a.emerson_at_cineca.it)Date: Mon May 05 2008 - 02:57:53 CDT
 
 
 
 
 > Version: 10.01.0000.0005
 >> Is this a "new" version of xlf90?  The code in question has been the same
>> for some time, and has been tested on AIX/xlf90 without seeing this error.
 
 This is a fairly recent version of xlf90, but I dont know if it is the 
latest or not.
 
 > I would recommend just commenting out this line: since these are
> intrinsic functions, it should not be necessary to have this line.
 > Or, you could
 just
 > remove the "_REAL_" part of the line in evb_vars.f.
 
 In the end I took your advice and commented out the line and all the 
other places which give a similar error and it compiles, although if
 anyone has any ideas on how to avoid this I would like to  hear about
 it! Why the compiler should treat this as an error and not a warning is
 another mystery..
 
 thanks for your help
Andy Emerson
 
 David A. Case wrote:
> On Wed, Apr 30, 2008, Andrew Emerson wrote:
 >> xlf90 -qversion
 >> Fortran command: /usr/local/beta/xlf-10.1.0.5/usr/bin/xlf90 -q64 -qversion
 >> IBM XL Fortran Enterprise Edition V10.1 for AIX
 >> Version: 10.01.0000.0005
 >
 > Is this a "new" version of xlf90?  The code in question has been the same
 > for some time, and has been tested on AIX/xlf90 without seeing this error.
 >
 >> The line involved appears to be:
 >> double precision , intrinsic :: sqrt, dot_product, maxval, abs
 >
 > I would recommend just commenting out this line: since these are intrinsic
 > functions, it should not be necessary to have this line.  Or, you could just
 > remove the "_REAL_" part of the line in evb_vars.f.
 >
 > It is odd that xlf90 says "Type is ignored", but still treats this as an error
 > rather than a warning.
 >
 > Other AIX experts may be able to pipe in here.
 >
 > ...dac
 >
 > -----------------------------------------------------------------------
 -----------------------------------------------------------------------
 The AMBER Mail Reflector
 To post, send mail to amber_at_scripps.edu
 To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
 
 
 
 |