Re: [AMBER-Developers] Builds of AMBER 12 with intel 10

From: case <case.biomaps.rutgers.edu>
Date: Fri, 16 Mar 2012 23:52:18 -0400

On Fri, Mar 16, 2012, Romelia Salomon wrote:
>
> the intel compiler 10.1
> Example of errors with intel
>
> ifort -c -DBINTRAJ \
> \
> -ip -O3 -axSTPW -FR
> -I/server-home2/romelia/amber-mine/include
> -I/server-home2/romelia/amber-mine/include \
> -o rism3d_fft.o rism3d_fft.F90
> fortcom: Error: rism3d_fft.F90, line 319: A pointer dummy argument with the
> INTENT(IN) attribute shall not appear as an actual argument if the
> associated dummy
> argument has the INTENT(OUT) or INTENT(INOUT) attribute. [INR]
> inr(:,1),this%grid%ngk(3:1:-1),1,product(this%grid%ngk),&
> ---------^

I can confirm this, although later intel compilers seem fine. The errors
go away if you remove the "intent" attributes from inr, outr and datar in
rism3d_fft.F90. Since what was removed was "intent(inout)", maybe that is OK.

Doing that doesn't seem to do any harm...rism tests still pass. I guess
this gets passed on to Tyler....

....dac


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Fri Mar 16 2012 - 21:00:05 PDT
Custom Search