CESM

De Wikicima
(Diferencias entre revisiones)
Saltar a: navegación, buscar
(Downloading CESM2)
(Downloading CESM2)
Línea 39: Línea 39:
 
./manage_externals/checkout_externals
 
./manage_externals/checkout_externals
 
</pre>
 
</pre>
'''NOTE:''' If you experience problems such as '''checkout_externals''' hanging it is likely that is because you asked the checkout of the latest version which is not yet available for public usage. In my case, I was trying to checkout release-cesm2.1.1 (as suggested in this [https://bb.cgd.ucar.edu/password-download CESM forum discussion] ). I solved this by creating a second git clone, and making a checkout of a previous release (release-cesm2.1.0).
+
'''NOTE:''' If you experience problems such as '''checkout_externals''' hanging it is likely that is because you asked the checkout of the latest version which is not yet available for public usage (as suggested in this [https://bb.cgd.ucar.edu/password-download CESM forum discussion]). In my case, I was trying to checkout release-cesm2.1.1. I solved this by creating a second git clone, and making a checkout of a previous release (release-cesm2.1.0).
 
<pre>
 
<pre>
 
[gabriela.raggio@hydra my_cesm_sandbox]$ ./manage_externals/checkout_externals
 
[gabriela.raggio@hydra my_cesm_sandbox]$ ./manage_externals/checkout_externals

Revisión de 16:13 17 jul 2019

Model description

The Community Earth System Model (CESM) is a fully-coupled, community, global climate model that provides state-of-the-art computer simulations of the Earth's past, present, and future climate states. The CESM project is supported primarily by the National Science Foundation (NSF). Administration of the CESM is maintained by the Climate and Global Dynamics Laboratory (CGD) at the National Center for Atmospheric Research (NCAR).

For the latest CESM release and CESM2 components see CESM2 documentation.

Downloading CESM2

UNDER CONSTRUCTION


Following CESM2 Quick Start Guide

  • Clone the repository
git clone https://github.com/escomp/cesm.git my_cesm_sandbox

This will create a directory my_cesm_sandbox/ in your current working directory.

  • Go into the newly created CESM repository
cd my_cesm_sandbox
  • Determine what version of CESM you want. To see what versions of CESM2 are available,
git tag --list 'release-cesm2*'
  • Checkout a specific CESM release tag type, for example CESM2.1.0:
git checkout release-cesm2.1.0

NOTE: the latest release might not be available yet for public use and this might cause issues in the next step. See the note in the next step for more information.

  • Finally, to checkout all the individual model components, run the script manage_externals/checkout_externals. Note to HYDRA users: This script requires Python 2.7.x (installed in HYDRA /share/anaconda2/bin/) to run, so we need to change the Python interpreter in the header of checkout_externals. To do so:
sed -i -e 's!/usr/bin/env python!/share/anaconda2/bin/python!' ./manage_externals/checkout_externals

Now run the script:

./manage_externals/checkout_externals

NOTE: If you experience problems such as checkout_externals hanging it is likely that is because you asked the checkout of the latest version which is not yet available for public usage (as suggested in this CESM forum discussion). In my case, I was trying to checkout release-cesm2.1.1. I solved this by creating a second git clone, and making a checkout of a previous release (release-cesm2.1.0).

[gabriela.raggio@hydra my_cesm_sandbox]$ ./manage_externals/checkout_externals
Processing externals description file : Externals.cfg
Processing externals description file : Externals_CLM.cfg
Checking status of externals: clm, fates, ptclm, mosart, ww3, cime,
cice, pop, cism, rtm, cam,
Checking out externals: clm, mosart, ww3, Password for 'gabriela.raggio':


Command 'svn checkout --quiet
https://svn-ccsm-models.cgd.ucar.edu/ww3/trunk_tags/ww3_190402
/home/gabriela.raggio/my_cesm_sandbox/components/ww3'
from directory /home/gabriela.raggio/my_cesm_sandbox
has taken 300 seconds. It may be hanging.

The command will continue to run, but you may want to abort
manage_externals with ^C and investigate. A possible cause of hangs is
when svn or git require authentication to access a private
repository. On some systems, svn and git requests for authentication
information will not be displayed to the user. In this case, the program
will appear to hang. Ensure you can run svn and git manually and access
all repositories without entering your authentication information.
Herramientas personales