Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CICE5 build for ESM1.6 (and CM2?) #156

Open
anton-seaice opened this issue Oct 23, 2024 · 5 comments
Open

CICE5 build for ESM1.6 (and CM2?) #156

anton-seaice opened this issue Oct 23, 2024 · 5 comments
Assignees

Comments

@anton-seaice
Copy link
Contributor

For ESM1.6, we are moving to CICE5 (instead of CICE4 used in EMS1.5.

The starting point for this is this branch which is the basis for getting the OASIS coupling to the UM.

I've managed to build this branch, using this hacked together spack package file:

https://github.com/ACCESS-NRI/spack-packages/compare/cice5_esm1p6

The changes are:

  • remove parallelio dependency
  • change driver & block size
  • change NICELYR pre-processor flag

Well need to integrate these changes into the CICE5 spack package.

@anton-seaice
Copy link
Contributor Author

Also - possibly we don't need the libaccessom2 dependency for ESM1.6 either ?

@anton-seaice
Copy link
Contributor Author

anton-seaice commented Oct 25, 2024

This is the build script from CM2: https://github.com/ACCESS-NRI/access-cm2-drivers/blob/main/src/CICE_compile.csh

and deps:

module use ~access/modules
module load intel-compiler/2020.3.304
module load openmpi/4.0.2
module load oasis3-mct-local/ompi.4.0.2
module load netcdf/4.6.3

@harshula
Copy link
Collaborator

Hi, Use the techniques used for ESM1.5 in https://github.com/ACCESS-NRI/spack-packages/blob/main/packages/mom5/package.py

@anton-seaice
Copy link
Contributor Author

@MartinDix

Do you know what this variable does?:

setenv CHAN MPI1 # MPI1 or MPI2 (always MPI1!)

from https://github.com/ACCESS-NRI/access-cm2-drivers/blob/605d838e37ab0e452e4e72326ae7a384f9398576/src/CICE_compile.csh#L30C1-L30C53

@aidanheerdegen
Copy link
Member

@MartinDix

Do you know what this variable does?:

setenv CHAN MPI1 # MPI1 or MPI2 (always MPI1!)

from https://github.com/ACCESS-NRI/access-cm2-drivers/blob/605d838e37ab0e452e4e72326ae7a384f9398576/src/CICE_compile.csh#L30C1-L30C53

Supposition: It's an MPI channel id to allow multiple MPI communicators. I know nothing else.

@ezhilsabareesh8 knows a lot more than I do about MPI comms, he may be able to comment about communicators in a more general sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

3 participants