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.
#713 (AGRIF problem -- reads zero ICs salinity) – NEMO

Opened 14 years ago

Closed 9 years ago

Last modified 2 years ago

#713 closed Defect (fixed)

AGRIF problem -- reads zero ICs salinity

Reported by: mgunduz Owned by: nemo
Priority: low Milestone:
Component: AGRIF Version: v3.2
Severity: Keywords: salinity v3.2
Cc:

Description

Dear All,

I am trying to implement NEMO-AGRIF.

I used the below source files and key options at the proper files;

fait_config
=============

set -A DIR_ATL_R012 OPA_SRC LIM_SRC_2 C1D_SRC NST_SRC

BB_make.ldef
=============

P_P = key_vectopt_loop key_vectopt_memory key_atl_r012 key_lim2 key_dynspg_flt key_ldfslp key_traldf_c2d key_dynldf_c3d key_dtatem key_dtasal key_zdftke key_zdfddm key_agrif key_mpp_mpi

I am using mpif90 (pgf) compiler,
there are a couple of problem during compilation.

I managed to solve first error

  1. error

==========================
make[2]: Leaving directory `/home/gunduz/nemo_V3_2_1/modipsl/modeles/AGRIF'
PGF90-F-0004-Unable to open MODULE file agrif_util.mod (OPAFILES/par_oce.F90: 153)
==========================

by going to "cd /home/gunduz/nemo_V3_2_1/modipsl/modeles/AGRIF" directory and execute gmake command at that particular directory.

The second error was related with a line which was very long (more than 1000 characters), and thanks to the Steven the second error was solved (by modifying the Makefile file).

and, then there were a couple of "Syntax Error" (hope not important).

However, It look liked I managed to generate the executable.

but when I run the model, and output the initial state,
I am getting "ZERO" salinity field.
(I tested the model without the "key_agrif" option, and the salinity was okay.)

I could not manage to find the problem,
I would be very happy if you can point me out which direction I should go, or if you comment on this if you encounter this problem before?

Thanks in advance,
Murat

Commit History (0)

(No commits)

Change History (7)

comment:1 Changed 14 years ago by dupontf

Hi Murat,

Just for safety, could you remove the keys: key_vectopt_loop key_vectopt_memory from the list? I am not clear whether AGRIF will treat them correctly. With pgf90 and AGRIF, I also found that the best is to run without any optimization (bad behaviour with '-O3'). Finally, the SIGN convention for zero in pgf90 (could be also pgf95) is not necessarily the one expected from NEMO.

Fred.

comment:2 Changed 9 years ago by clevy

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

comment:3 Changed 8 years ago by nicolasmartin

  • Keywords agrif removed

comment:4 Changed 8 years ago by nicolasmartin

  • Keywords nemo_v3_2* added

comment:5 Changed 8 years ago by nicolasmartin

  • Keywords zero removed

comment:6 Changed 6 years ago by nemo

  • Keywords nemo_v3_2* removed

comment:7 Changed 2 years ago by nemo

  • Keywords v3.2 added
Note: See TracTickets for help on using tickets.