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)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
9372 | andmirek | 2018-03-05T14:44:50+01:00 | #2062 correct USER_INC and USER_LIB |
9371 | andmirek | 2018-03-05T14:40:16+01:00 | #2062 Changes allowing use XIOS compiled with oasis |
9370 | andmirek | 2018-03-05T14:31:40+01:00 | #2062 Fcheck_archfile script |
Change History (6)
comment:1 Changed 7 years ago by andmirek
comment:2 Changed 7 years ago by andmirek
In 9371:
comment:3 Changed 7 years ago by andmirek
In 9372:
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.
In 9370: