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.
#2062 (modification of Fcheck_archfile script) – NEMO

Opened 7 years ago

Closed 5 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:

Description

Context

Fcheck_archfile.sh 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 Fcheck_archfile.sh 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 Fcheck_archfile.sh will behave in the same way as before change.

Commit History (3)

ChangesetAuthorTimeChangeLog
9372andmirek2018-03-05T14:44:50+01:00

#2062 correct USER_INC and USER_LIB

9371andmirek2018-03-05T14:40:16+01:00

#2062 Changes allowing use XIOS compiled with oasis

9370andmirek2018-03-05T14:31:40+01:00

#2062 Fcheck_archfile script

Change History (6)

comment:1 Changed 7 years ago by andmirek

In 9370:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:2 Changed 7 years ago by andmirek

In 9371:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:3 Changed 7 years ago by andmirek

In 9372:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

comment:4 Changed 7 years ago by andmirek

  • Status changed from new to assigned

branch branches/2018/dev_r9368_fcheck created. changes made to TOOLS/COMPILE/Fcheck_archfile.sh 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 6 years ago by nicolasmartin

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

comment:6 Changed 5 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.