Essentially, what is the correct solution to install and configure CESM 2.1.5 without the need for svn?
By default, it appears to require svn, as directed by /CESM_HOME/components/cam/Externals_CAM.cfg
The thread below appears to provide a solution to remove the need for svn, by modifying (I assume) the above file.
However, after changing the protocal to git, I run ./manage_externals/checkout_externals, and I get this complaint, which seems to arise due to the modification:
By default, it appears to require svn, as directed by /CESM_HOME/components/cam/Externals_CAM.cfg
The thread below appears to provide a solution to remove the need for svn, by modifying (I assume) the above file.
Hi DiscussCESM users:
I am trying to get CESM installed on Eiger so I can run benchmarking.
Is there a workaround using GitHub instead of svn?
I am working on a new cluster, Eiger (part of Alps CSCS.ch), which has a similar architecture to Derecho. In all my years working on clusters, this is the first time svn is not part of the machine. The cluster support for Eiger has stated that I need to install svn myself, but svn that has many dependencies, so this is a larger task than anticipated.
For functions, like, manage_externals, and data downloading, is there a GitHub workaround...
I am trying to get CESM installed on Eiger so I can run benchmarking.
Is there a workaround using GitHub instead of svn?
I am working on a new cluster, Eiger (part of Alps CSCS.ch), which has a similar architecture to Derecho. In all my years working on clusters, this is the first time svn is not part of the machine. The cluster support for Eiger has stated that I need to install svn myself, but svn that has many dependencies, so this is a larger task than anticipated.
For functions, like, manage_externals, and data downloading, is there a GitHub workaround...
- Jbuzan
- Replies: 8
- Forum: Infrastructure (CIME, porting, machines, scripts)
However, after changing the protocal to git, I run ./manage_externals/checkout_externals, and I get this complaint, which seems to arise due to the modification:
Code:
Checking local status of required & optional components: cam, chem_proc, carma, clubb, cosp2, cice, cime, cism, clm, mosart, pop, rtm, ww3,
./cime
M ./components/cam
e- ./components/cam/chem_proc
e- ./components/cam/src/physics/carma/base
e- ./components/cam/src/physics/clubb
e- ./components/cam/src/physics/cosp2/src
e- ./components/cice
e- ./components/cism
e- ./components/clm
e- ./components/mosart
e- ./components/pop
e- ./components/rtm
e- ./components/ww3
----------------------------------------------------------------------
The external repositories labeled with 'M' above are not in a clean state.
The following are four options for how to proceed:
(1) Go into each external that is not in a clean state and issue either a 'git status' or
an 'svn status' command (depending on whether the external is managed by git or
svn). Either revert or commit your changes so that all externals are in a clean
state. (To revert changes in git, follow the instructions given when you run 'git
status'.) (Note, though, that it is okay to have untracked files in your working
directory.) Then rerun checkout_externals.
(2) Alternatively, you do not have to rely on checkout_externals. Instead, you can manually
update out-of-sync externals (labeled with 's' above) as described in the
configuration file Externals.cfg. (For example, run 'git fetch' and 'git checkout'
commands to checkout the appropriate tags for each external, as given in
Externals.cfg.)
(3) You can also use checkout_externals to manage most, but not all externals: You can specify
one or more externals to ignore using the '-x' or '--exclude' argument to
checkout_externals. Excluding externals labeled with 'M' will allow checkout_externals to
update the other, non-excluded externals.
(4) As a last resort, if you are confident that there is no work that needs to be saved
from a given external, you can remove that external (via "rm -rf [directory]") and
then rerun the checkout_externals tool. This option is mainly useful as a workaround for
issues with this tool (such as https://github.com/ESMCI/manage_externals/issues/157).
The external repositories labeled with '?' above are not under version
control using the expected protocol. If you are sure you want to switch
protocols, and you don't have any work you need to save from this
directory, then run "rm -rf [directory]" before rerunning the
checkout_externals tool.