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.
#2684 (makenemo "-e" option unsafe behaviour) – NEMO

Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#2684 closed Defect (fixed)

makenemo "-e" option unsafe behaviour

Reported by: gsamson Owned by: gsamson
Priority: low Milestone:
Component: env Version: trunk
Severity: minor Keywords: makenemo, Fmake,
Cc: acc

Description

Context & Analysis

when using makenemo -e option to use a custom modified src directory instead of MY_SRC, Fmake_WORK.sh script will first create symlinks from the custom dir to the MY_SRC dir, then from MY_SRC dir to WORK dir.

If by any misfortune you have already another modified version of the same source file in MY_SRC dir, this file will be overwritten by the symlink from the custom dir, which can be disappointing.

Recommendation

Instead of doing a symlink of symlink from custom dir -> MY_SRC dir -> WORK dir, just simply do a symlink from custom dir to WORK dir

Commit History (3)

ChangesetAuthorTimeChangeLog
15021gsamson2021-06-18T15:43:30+02:00

undo unwanted change... (#2684)

15019gsamson2021-06-18T15:07:09+02:00

small bugfix related & enhancement to #2684 in the case of config names containing special characters such as ISOMIP+

14947gsamson2021-06-04T16:09:44+02:00

modify Fmake_WORK.sh script and call in makenemo to correctly handle '-e' option; ticket #2684

Change History (4)

comment:1 Changed 18 months ago by gsamson

In 14947:

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

comment:2 Changed 18 months ago by gsamson

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

comment:3 Changed 18 months ago by gsamson

In 15019:

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

comment:4 Changed 18 months ago by gsamson

In 15021:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found
Note: See TracTickets for help on using tickets.