Skip to content

Get build of drivers and postproc to work with Git #30

@marcstring

Description

@marcstring

Now the MOCI code has moved to Git is there a way to build both the drivers and postproc using the Git code?

I've tried to do this for my UKESM2_proto job, u-dw561, in https://code.metoffice.gov.uk/trac/UKESM/wiki/ticket/1087/drivers and https://code.metoffice.gov.uk/trac/UKESM/wiki/ticket/1087/postproc, but I didn't really know what I was doing. Hence, I e-mailed the SSD team to see if they had ideas on how this should be done. They replied after a few days with some general tips on how this might be done.

I had hoped the SSD team might take this on. After the CRUM team, who use to own and manage the MOCI software was disbanded, I think the SSD team were lumped with managing the MOCI software, but I appreciate that they've also been given very little additional resource, if any, to do so.

Hence, in https://code.metoffice.gov.uk/trac/UKESM/wiki/ticket/1087/drivers_postproc_follow_up I've had another go at building the drivers and postproc code. In here I've created a new job, https://code.metoffice.gov.uk/trac/roses-u/log/d/x/0/3/3, where I extract the MOCI code using their merge scripts and adding the MOCI repository to the dependencies.yaml file.

I think the drivers only require the code extracting. Hence, in u-dx033 I've scrapped the fcm_make_drivers and fcm_make2_drivers tasks. However, the run_model script references the directory with the code in it in several places, so I've had to edit this. This I've done in my branch https://github.com/marcstring/moci/tree/build_drivers_and_postproc.

I think postproc is more complicated than the drivers, because its code is spread across many directories and yet I think when postproc runs the code is expected to be in one directory. Hence, I think we can scrap the fcm_make*_pp task which extracts the code (this is now done through the merge scripts and by adding MOCI to dependencies.yaml), but we still need one fcm_make*pp task to pull all the required code into directory. I think this requires editing Postproc/fcm_make/postproc.cfg, which I've done in my build_drivers_and_postproc branch.

I still think there need to be conversations with people like those at the coupled model meetings and Pierre and Erica from the SSD team to see if this best way of doing this.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions