Problem compiling roms_agrif with agrif support

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
RubenDiez-Lazaro

Problem compiling roms_agrif with agrif support

#1 Unread post by RubenDiez-Lazaro »

Hi

I get this error when activate the agrif part from the roms_agrif code:

Code: Select all

[...]
/lib/cpp -P -C -traditional -I/usr/local/include  -IAGRIF_INC -I.././ -I.. AGRIF_FILES/modinit.F | ../mpc > AGRIF_YOURFILES/modinit.f
mpif90 -I.. -I.././ -I.. -O0 -i4 -c AGRIF_YOURFILES/modinit.f -o AGRIF_OBJS/modinit.o
 In file AGRIF_YOURFILES/modinit.f:1121

      zeta_avg => Agrif_Gr %zeta_avg_avg_zeta %var%array2               
             1
Error: Different types in pointer assignment at (1)
 In file AGRIF_YOURFILES/modinit.f:1129

      ubar_avg => Agrif_Gr %ubar_avg_avg_ubar %var%array2               
             1
Error: Different types in pointer assignment at (1)
 In file AGRIF_YOURFILES/modinit.f:1137

      vbar_avg => Agrif_Gr %vbar_avg_avg_vbar %var%array2               
             1
[...] and so on
Can someone help?

I try with the ifort compiler and the gfortran compiler: both output this error.

The type of the "xxx_avg" variables are "real", but i can't locate where the "Agrif_Gr%xxx..." parts are defined...

Thanks in advance...

Post Reply