Opened 4 years ago

Closed 2 years ago

#2062 closed Enhancement (fixed)

modification of Fcheck_archfile script

Reported by: andmirek Owned by: andmirek
Priority: low Milestone:
Component: tools Version: trunk
Severity: minor Keywords:
Cc: Branch review:
MP ready?: Task progress:


Context checks configuration and makes modifications to compiler options. As far as oasis is concerned it checks if key_oasis3 is present, and if not oasis related libraries are removed from compiler options. This causes problems at the Met Office, where by default, XIOS is compiled with OASIS. As a result any work on NEMO trunk requires a custom version of XIOS (without OASIS). This ticket is to change in the way that will allow to keep oasis libraries in compiler options independent whether key_oasis3 is present or not.

Implementation plan

Introduce environmental variable, which if set will prevent removing oasis libraries from compiler/linker options. When this variable is not set will behave in the same way as before change.

Commit History (3)


#2062 correct USER_INC and USER_LIB


#2062 Changes allowing use XIOS compiled with oasis


#2062 Fcheck_archfile script

Change History (6)

comment:1 Changed 4 years ago by andmirek

In 9370:

#2062 Fcheck_archfile script

comment:2 Changed 4 years ago by andmirek

In 9371:

#2062 Changes allowing use XIOS compiled with oasis

comment:3 Changed 4 years ago by andmirek

In 9372:

#2062 correct USER_INC and USER_LIB

comment:4 Changed 4 years ago by andmirek

  • Status changed from new to assigned

branch branches/2018/dev_r9368_fcheck created. changes made to TOOLS/COMPILE/ and ARCH/arch-XC40_METO.fcm.

If environmental variable XIOS_OASIS is set (for instance export XIOS_OASIS=1) XIOS compiled with oasis can be used for trunk compilation. The change impacts only oasis libraries, and default behavior is not changed.

There is also change in ARCH/arch-XC40_METO.fcm to correct oasis library path.

comment:5 Changed 3 years ago by nicolasmartin

  • Milestone 2018 release-4.0 deleted
  • Type changed from Task to Enhancement

comment:6 Changed 2 years ago by andmirek

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

Already in the trunk.

Note: See TracTickets for help on using tickets.