Opened 3 months ago

Closed 2 months ago

#3245 closed help (answered)

Branch for FAFMIP NEMO Code

Reported by: m.couldrey Owned by: ros
Component: FCM Keywords: NEMO, branching, HadGEM3
Cc: Platform:
UM Version:

Description

Hi CMS

I have a local copy of NEMO code that I've been working on and using for the development of FAFMIP HadGEM3-GC31-LL experiments. My version has many modifications from the version on which it is based. I am wondering what the best way to set up version control for this already existant version would be. I'm not really sure what my options are. I think what I want to do is make it so that my version of the code can be shared with others and version controlled. Can this be done on the MOSRS repository or should it be done somewhere else with the NEMO IPSL repository?

One thing I've started trying to do was create a branch of the code based on the original version of the code that I started from. From there, I was thinking of folding in the edits from my working copy and then committing those changes. Perhaps this isn't the right way to achieve this?

When I first started, I originally aimed to try and follow the format of the FCM tutorial and create a branch of the NEMO code in a similar way. I believe the version of the code that I want was
fcm:NEMO.xm/branches/UKMO/dev_r5518_GO6_package

When I try to create a branch, I get the following:
macou@xcslc0:~/fafbranch> fcm branch-create -k 263 fafmip fcm:NEMO.xm/branches/UKMO/dev_r5518_GO6_package
[FAIL] svn info —xml file:///home/d04/fcm/srv/svn/nemo.xm/trunk@12754 # rc=1
[FAIL] svn: warning: W170000: URL 'file:///home/d04/fcm/srv/svn/nemo.xm/trunk' non-existent in revision 12754
[FAIL]
[FAIL] svn: E200009: Could not display info for all targets because some targets don't exist

When I do
fcm ls fcm:NEMO.xm/branches/UKMO/dev_r5518_GO6_package
I can see that the version exists, but can't seem to create my own branch based on that.

I guess it doesn't like that I'm trying to create a branch from the specified branch and is defaulting to the trunk version?

Change History (3)

comment:1 Changed 3 months ago by ros

  • Owner changed from um_support to ros
  • Platform NEXCS deleted
  • Status changed from new to accepted

Hi Matt,

The NEMO code is not actually held in MOSRS. The fcm:nemo.xm repository is a read-only mirror of the Paris IPSL NEMO repository. Any NEMO code changes need to be made to the Paris repository. You will need to request write access direct from them. Instructions on how to apply are on the IPSL NEMO website.

Hope that helps.
Regards,
Ros.

comment:2 Changed 3 months ago by m.couldrey

Right, thanks for the pointer Ros!

comment:3 Changed 2 months ago by ros

  • Resolution set to answered
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.