Giter Site home page Giter Site logo

noresmhub / cime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esmci/cime

0.0 3.0 14.0 92.53 MB

Common Infrastructure for Modeling the Earth

License: Other

Fortran 14.68% Perl 19.94% Shell 1.25% CMake 1.08% C 6.24% Makefile 1.21% NCL 0.34% Pascal 0.13% Python 54.41% HTML 0.01% Roff 0.32% Jupyter Notebook 0.23% Dockerfile 0.16%

cime's Introduction

cime

Common Infrastructure for Modeling the Earth

CIME, pronounced "SEAM", primarily consists of a Case Control System that supports the configuration, compilation, execution, system testing and unit testing of an Earth System Model. The two main components of the Case Control System are:

  1. Scripts to enable simple generation of model executables and associated input files for different scientific cases, component resolutions and combinations of full, data and stub components with a handful of commands.
  2. Testing utilities to run defined system tests and report results for different configurations of the coupled system.

CIME does not contain the source code for any Earth System Model drivers or components. It is typically included alongside the source code of a host model. However, CIME does include pointers to external repositories that contain drivers, data models and other test components. These external components can be easily assembled to facilitate end-to-end system tests of the CIME infrastructure, which are defined in the CIME repository.

CIME is currently used by the Community Earth System Model (CESM) and the Energy Exascale Earth System Model (E3SM).

Documentation

See esmci.github.io/cime

Developers

Lead Developers

Jim Edwards (NCAR), Jim Foucar (SNL)

Also Developed by

Alice Bertini (NCAR), Jason Boutte (LLNL), Tony Craig (NCAR), Michael Deakin (SNL), Chris Fischer (NCAR), Erich Foster (SNL), Steve Goldhaber (NCAR), Robert Jacob (ANL), Mike Levy (NCAR), Bill Sacks (NCAR), Andrew Salinger (SNL), Sean Santos (NCAR), Jason Sarich (ANL), Mariana Vertenstein (NCAR), Andreas Wilke (ANL).

Acknowledgements

CIME is jointly developed with support from the Earth System Modeling program of DOE's BER office and the CESM program of NSF's Division of Atmospheric and Geospace Sciences.

License

CIME is free software made available under the BSD License. For details see the LICENSE file.

Digital Object Identifier

DOI:10.5065/WE0D-9K91

cime's People

Watchers

 avatar  avatar  avatar

cime's Issues

Restore access to devel queue

In the NorESM2 branch of CIME (cime5.6.10_cesm2_1_rel_06-Nor_v1.0.5), access to the develop queue was removed in 2021 (commit b4e36e7). Because the devel queue now works (as evidenced by its use in ccs_config_noresm).
The format of config_batch.xml is different, however, the directive element with the queue attribute might allow the correct flags to be passed (e.g., --qos=devel).

CIME CCS can get wrong Python version

Currently, even if the user has loaded a valid Python python version (3.8 or higher), the build phase can fail because gmake can call back into the CIME CCS (./case.build) and it inherits the Python from the user's .bashrc .
Because Python 2.7 is still(!) the default (nearly four full years since it has been declared 'end of life'), that can cause the build to fail.

Bug in seq_infodata_mod.F90

At line 2904 replace F0I (which corresponds to "(2A,I10)") by F0L (which corresponds to "(2A,L3)") because alb_cosz_avg is defined as a logical and not an integer

Create a new cime branch for "NorESM_LandSites_Platform"

This issue is related to the issue 205 in NorESM repository and issue 5 in CTSM repository.

The new CIME branch will be used to keep the version of CIME that works with the most recent version of CTSM and related model component. But whether it works with the atmosphere and ocean model components of NorESM is not tested.

The new CIME branch will also contain a lot of setup for running single-cell simulations over observation sites.

The configuration for running the model on different supercomputers (e.g., SAGA, FRAM) will be the same as the branch for running global NorESM simulation.

The new CIME branch is ready at my local repository. I can make a pull request if we decide on the name of the new branch.

What would be a proper name for the new CIME branch? @annefou, @kjetilaas, @sunnivin, @DirkOlivie, @matsbn, @MichaelSchulzMETNO

Is it a new branch for CESM2.2 or on some old branch new CIME code is merged?

@tto061 Hi, is N2dev_port_from_CESM2.2.0 a new pure CIME branch based on CESM2.2 (cime5.8.32) or is it a old branch on that new CIME code is merged? Because log message "adaptation of ESMCI/cime tag cime5.8.32 to NorESM2 science code showing "
956 changed files with 96,838 additions and 53,248 deletions. For me, it seems like as on old CIME tag we are having new CIME tag.

Non-ascii characters in machine description for BETZY cause error with query_config script

Hi,
I get an error when I run the script
<NorESM_root>/cime/scripts/query_config --machine betzy

Traceback (most recent call last):
File "./cime/scripts/query_config", line 350, in
_main_func(doc)
File "./cime/scripts/query_config", line 346, in _main_func
query_machines(machine_name=args.machines)
File "./cime/scripts/query_config", line 47, in query_machines
machines.print_values(machine_name=machine_name)
File "./cime/scripts/query_config", line 318, in print_values
print(" {} : {} ".format(name, desc))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xae' in position 23: ordinal not in range(128)

It seems that the script has trouble processing non-ascii characters.
$ grep -i betzy -A 1 cime/config/cesm/machines/config_machines.xml

BullSequana XH2000 AMD® Epyc™ "Rome" 2.2GHz, 128-way nodes, os is Linux, batch system is SLURM

Removing the "®" and "™" characters seem to fix the problem.

Make some grids more premissive

Some grids, e.g., f19_f19_mtn14, are allowed for any compset without an active ocean (not_compset="_POP|_BLOM").
Other grids, e.g., f09_f09_mtn14, are only allowed for compsets with a data ocean (compset="_DOCN").
The second set is then not usable for any compset with no ocean (compset="_SOCN").

The (suggested) solution is to change both types of restriction to be compset="_DOCN|_SOCN" which fulfills the original goal (not usable for compsets with an active ocean) but with minimal restrictions and no need to name the set of possible active ocean models.

CIME branch for NorESM2.3

@mvertens @gold2718

To introduce bromoform into NorESM2.3, also CIME has to be modified. Currently NorESM2.3 refers in Externals.cfg for CIME to the tag cime5.6.10_NorESM2_3_r2.

Can I start from that tag cime5.6.10_NorESM2_3_r2 a branch called noresm2_3_develop?

Workflows

Port modifications that have been introduced to cime for NorESM 2.0 (zipping and long-term archiving) into the workflows in cime6 for the development version.

Grids not supported by BLOM should be marked

There are grids in config_grids.xml that are incompatible with BLOM but are not marked as such.

g17_g17
TL319_g17
T62_g17
f02_g17
f05_g17
f09_g17
f09_g17_gl4
f09_g17_gl20
f09_g17_gl5
f19_g17
f19_g17_r01
f19_g17_gl4
f19_g17_gl5
f19_g17_rx1
ne30_g17_rx1

Mark NorESM specific test categories as tested

In order for a compset / resolution combination to not require the --run-unsupported option to create_newcase, each supported test category must be included in the 'magic' list inside CIME. Add (and possibly edit) this list to match NorESM needs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.