Users (#2) - [AGRIF] Compilation of ORCA2_LIM_PISCES using key_agrif (#22) - Message List

[AGRIF] Compilation of ORCA2_LIM_PISCES using key_agrif
 unsolved

Dear NEMO Users,

At first, I could compile and could run followings test cases:

  1. with reference of ORCA2_LIM_PISCES without using key_agrif (compilation OK and still running on my machine, not finish yet);
  2. with reference of ORCA2_LIM with and without key_agrif (compilation OK and still running on my machine, not finish yet);
  3. with reference of AMM12 (finish completely OK);
  4. GYRE (finish completely OK).

The architecture of compiler option are as followings:

%NCDF_HOME           /opt/local
%HDF5_HOME           /opt/local
%XIOS_HOME           /Users/$( whoami )/xios-1.0_703
%OASIS_HOME          /not/defined
%NCDF_INC            -I%NCDF_HOME/include -I%HDF5_HOME/include
%NCDF_LIB            -L%NCDF_HOME/lib -lnetcdff -lnetcdf
%XIOS_INC            -I%XIOS_HOME/inc
%XIOS_LIB            -L%XIOS_HOME/lib -lxios
%OASIS_INC           -I%OASIS_HOME/build/lib/mct -I%OASIS_HOME/build/lib/psmile.MPI1
%OASIS_LIB           -L%OASIS_HOME/lib -lpsmile.MPI1 -lmct -lmpeu -lscrip
%CPP                 cpp-mp-4.8
%FC                  mpif90
%FCFLAGS             -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -ffree-line-length-none -ffixed-form -ffree-form
%FFLAGS              %FCFLAGS
%LD                  %FC
%LDFLAGS             -lstdc++ -lmpi_cxx
%FPPFLAGS            -P -traditional
%AR                  ar
%ARFLAGS             rs
%MK                  make
%USER_INC            %XIOS_INC %OASIS_INC %NCDF_INC
%USER_LIB            %XIOS_LIB %OASIS_LIB %NCDF_LIB
%CC                  cc
%CFLAGS              -O0

The information of NEMO and XIOS are as followings:

NEMO
me@mes-MacBook-Pro:~/NEMOGCM$ svn info
Path: .
Working Copy Root Path: /Users/me/NEMOGCM
URL: http://forge.ipsl.jussieu.fr/nemo/svn/branches/2015/nemo_v3_6_STABLE/NEMOGCM
Repository Root: http://forge.ipsl.jussieu.fr/nemo/svn
Repository UUID: 4aad9cc9-4d31-0410-b1e8-ee312aa4b1ec
Revision: 8393
Node Kind: directory
Schedule: normal
Last Changed Author: lovato
Last Changed Rev: 8368
Last Changed Date: 2017-07-25 15:53:26 +0800 (Tue, 25 Jul 2017)
me@mes-MacBook-Pro:~/NEMOGCM$

XIOS
me@mes-MacBook-Pro:~/NEMOGCM$ svn info ~/xios-1.0_703/
Path: /Users/me/xios-1.0_703
Working Copy Root Path: /Users/me/xios-1.0_703
URL: http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/branchs/xios-1.0
Repository Root: http://forge.ipsl.jussieu.fr/ioserver/svn
Repository UUID: d613d254-d18a-4304-b296-5125d4c4d670
Revision: 703
Node Kind: directory
Schedule: normal
Last Changed Author: rlacroix
Last Changed Rev: 703
Last Changed Date: 2015-09-22 20:01:30 +0800 (Tue, 22 Sep 2015)
me@mes-MacBook-Pro:~/NEMOGCM$

And then with the same compiler option architecture, I try to compile the configuration based on the reference of ORCA2_LIM_PISCES by using key_agrif.

Command for compiling:

me@mes-MacBook-Pro:~/NEMOGCM/CONFIG$ ./makenemo -j 128 -m agrif -r ORCA2_LIM_PISCES -n 00_AGRIF_2 add_key "key_agrif key_nosignedzero"
You are  installing a new configuration based on ORCA2_LIM_PISCES
Creating 00_AGRIF_2/WORK = OPA_SRC LIM_SRC_2 NST_SRC TOP_SRC for 00_AGRIF_2
MY_SRC directory is : 00_AGRIF_2/MY_SRC
grep: 00_AGRIF_2/WORK/*.[Ffh]90: No such file or directory
Adding keys in : 00_AGRIF_2
added key key_agrif in 00_AGRIF_2
added key key_nosignedzero in 00_AGRIF_2
bld::tool::fppkeys key_trabbl key_lim2 key_dynspg_flt key_diaeiv key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_zdftke key_zdfddm key_zdftmx key_top key_pisces key_iomput key_mpp_mpi key_agrif key_nosignedzero
Build command started on Tue Aug 15 09:51:09 2017.
->Parse configuration: start
Config file (bld): /Users/me/NEMOGCM/TOOLS/COMPILE/conv.cfg
Config file (bld): /Users/me/NEMOGCM/TOOLS/COMPILE/arch_nemo.fcm
.
.
.
.
.
.
.

But it went failed at the end, as followings:

.
.
.
.
touch /Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/done/trcwri.done
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcnam_pisces.f90:46.38:
        call Sub_Loop_trc_nam_pisces( Agrif_tabvars_c(72)% carray1, Agri&
                                      1
Warning: Character length mismatch (200/20) between actual argument and pointer or allocatable dummy argument 'ctrc3u' at (1)
fcm_internal compile:F nemo /Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcnam.f90 trcnam.o
touch /Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/done/trcnam_pisces.done
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcdta.f90:79.28:
     &abvars(1114)% array1, Agrif_tabvars_c(64)% carray1, Agrif_tabvars_&
                            1
Warning: Character length mismatch (200/20) between actual argument and pointer or allocatable dummy argument 'ctrcnm' at (1)
mpif90 -o trcnam.o -I/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/inc -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -ffree-line-length-none -ffixed-form -ffree-form -I/Users/me/xios-1.0_703/inc -I/not/defined/build/lib/mct -I/not/defined/build/lib/psmile.MPI1 -I/opt/local/include -I/opt/local/include -c /Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcnam.f90
Warning: Nonexistent include directory "/not/defined/build/lib/mct"
Warning: Nonexistent include directory "/not/defined/build/lib/psmile.MPI1"
touch /Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/done/traldf_bilap.done
touch /Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/done/p4zint.done
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/p4zche.f90:1365:
E
1
Error: Unclassifiable statement at (1)
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcdia.f90:627.25:
     &vars(959)% array4, Agrif_tabvars_c(75)% carray1, Agrif_tabvars_c(7&
                         1
Warning: Character length mismatch (200/20) between actual argument and pointer or allocatable dummy argument 'ctrbiu' at (1)
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcdia.f90:416.49:
     &755)% iarray0, Agrif_tabvars(958)% array4, Agrif_tabvars_c(69)% ca&
                                                 1
Warning: Character length mismatch (200/20) between actual argument and pointer or allocatable dummy argument 'ctrc2u' at (1)
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcdia.f90:190.29:
     &_tabvars(942)% array4, Agrif_tabvars_c(66)% carray1, Agrif_tabvars&
                             1
Warning: Character length mismatch (200/20) between actual argument and pointer or allocatable dummy argument 'ctrcun' at (1)
fcm_internal compile failed (256)
make: *** [p4zche.o] Error 1
make: *** Waiting for unfinished jobs....
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcnam.f90:534.35:
        call Sub_Loop_trc_nam_dia( Agrif_tabvars_c(75)% carray1, Agrif_t&
                                   1
Warning: Character length mismatch (200/20) between actual argument and pointer or allocatable dummy argument 'ctrbiu' at (1)
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcnam.f90:454.31:
     &tabvars_l(260)% larray1, Agrif_tabvars_c(66)% carray1, Agrif_tabva&
                               1
Warning: Character length mismatch (200/20) between actual argument and pointer or allocatable dummy argument 'ctrcun' at (1)
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/ppsrc/nemo/trcnam.f90:132.14:
     &array0, Agrif_tabvars_c(64)% carray1, Agrif_tabvars_i(164)% iarray&
              1
Warning: Character length mismatch (200/20) between actual argument and pointer or allocatable dummy argument 'ctrcnm' at (1)
make -f /Users/me/NEMOGCM/CONFIG/00_AGRIF_2/BLD/Makefile -j 128 all failed (2) at /Users/me/NEMOGCM/EXTERNAL/fcm/bin/../lib/Fcm/Build.pm line 597.
->Make: 168 seconds
->TOTAL: 192 seconds
Build failed on Tue Aug 15 09:55:07 2017.
/Users/me/NEMOGCM/CONFIG
/Users/me/NEMOGCM/CONFIG/00_AGRIF_2
me@mes-MacBook-Pro:~/NEMOGCM/CONFIG$

Has anyone could help and suggest me to solve this case? I really appreciate for your help and suggestions. Thank you very much.

Best wishes,

dessy

Attachments (1)

Download all attachments as: .zip