New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#1534 (Compilation failed on ORCA2_LIM due to a bad argument in iom.F90) – NEMO

Opened 9 years ago

Closed 9 years ago

#1534 closed Bug (fixed)

Compilation failed on ORCA2_LIM due to a bad argument in iom.F90

Reported by: bouttier Owned by: nemo
Priority: normal Milestone:
Component: OCE Version: trunk
Severity: Keywords:
Cc:

Description

In trying to compile ORCA2_LIM (not in the SETTE environment) with the latest trunk revision (5390), the compilation failed with this error:

fcm_internal compile:F nemo /Users/bouttier/Documents/Dev/NEMO/trunk/NEMOGCM/CONFIG/STO_GYRE/BLD/ppsrc/nemo/iom.f90 iom.o
mpif90 -o iom.o -I/Users/bouttier/Documents/Dev/NEMO/trunk/NEMOGCM/CONFIG/STO_GYRE/BLD/inc -fdefault-real-8 -O3 -funroll-all-loops -fcray-pointer -I/Users/bouttier/Documents/Dev/NEMO/XIOS/inc -I/not/defined/build/lib/mct -I/not/defined/build/lib/psmile.MPI1 -I/opt/local/include -I/opt/local/include -c /Users/bouttier/Documents/Dev/NEMO/trunk/NEMOGCM/CONFIG/STO_GYRE/BLD/ppsrc/nemo/iom.f90
Warning: Nonexistent include directory "/not/defined/build/lib/mct"
Warning: Nonexistent include directory "/not/defined/build/lib/psmile.MPI1"
/Users/bouttier/Documents/Dev/NEMO/trunk/NEMOGCM/CONFIG/STO_GYRE/BLD/ppsrc/nemo/iom.f90:1089.74:

            &    lonvalue=lonvalue, latvalue=latvalue, mask=mask, nvertex=nvert
                                                                          1
Error: Keyword argument 'nvertex' at (1) is not in the procedure
/Users/bouttier/Documents/Dev/NEMO/trunk/NEMOGCM/CONFIG/STO_GYRE/BLD/ppsrc/nemo/iom.f90:1096.74:

            &    lonvalue=lonvalue, latvalue=latvalue, mask=mask, nvertex=nvert
                                                                          1
Error: Keyword argument 'nvertex' at (1) is not in the procedure
fcm_internal compile failed (256)
make: *** [iom.o] Error 1
make -f /Users/bouttier/Documents/Dev/NEMO/trunk/NEMOGCM/CONFIG/STO_GYRE/BLD/Makefile -j 1 all failed (2) at /Users/bouttier/Documents/Dev/NEMO/trunk/NEMOGCM/EXTERNAL/fcm/bin/../lib/Fcm/Build.pm line 597.
->Make: 0 second
->TOTAL: 1 second

I have searched among changesets about this "nvertex" introduction, and it was in the CF_compliance branch (see changeset 5342), which was merged recently.

Commit History (0)

(No commits)

Change History (3)

comment:1 Changed 9 years ago by hadcv

Hi Pierre-Antoine,

This seems to suggest that your XIOS library's fortran interface does not have the nvertex argument. Are you using the XIOS-1.0 branch? The nvertex argument was introduced at changeset 449, so I'm a bit puzzled to be seeing this error.

My tests were also done with ORCA2_LIM, so initially I think we need to determine your XIOS library version and whether it was taken from the XIOS-1.0 branch

Cheers,

Daley

comment:2 Changed 9 years ago by bouttier

In fact, I use the trunk of xios repo, not the xios-1.0 branch. I will try and if it works, I will close the ticket.

Thank you
PA

comment:3 Changed 9 years ago by bouttier

  • Resolution set to fixed
  • Status changed from new to closed

With xios-1.0, it is OK. I close the ticket.

Note: See TracTickets for help on using tickets.