jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox [07:44:12] $ ./manage_externals/checkout_externals
Processing externals description file : Externals.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox)
Processing externals description file : ../Externals_cime.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox/cime)
Checking local status of required & optional components: cam, cice, cdeps, cime, cmeps, cism, clm, fms, mom, mosart, pop, rtm, ww3,
Checking out externals: cime, Processing externals description file : ../Externals_cime.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox/cime)
Checking out externals:
cam, Processing externals description file : Externals_CAM.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox/components/cam)
Checking out externals: chem_proc, ERROR:root:[Errno 2] No such file or directory: 'svn'
ERROR:root:In directory
/users/jbuzan/cesm2_2_2/my_cesm_sandbox
Command execution failed. Does the executable exist?:
svn checkout --quiet
https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_04 /users/jbuzan/cesm2_2_2/my_cesm_sandbox/components/cam/chem_proc
ERROR: In directory
/users/jbuzan/cesm2_2_2/my_cesm_sandbox
Command execution failed. Does the executable exist?:
svn checkout --quiet
https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/release_tags/chem_proc5_0_04 /users/jbuzan/cesm2_2_2/my_cesm_sandbox/components/cam/chem_proc
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox [07:47:45] $ cd components/cam/
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox/components/cam [07:48:35] $ nano Externals_CAM.cfg
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox/components/cam [07:49:00] $ cd ../../
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox [07:49:03] $ ./manage_externals/checkout_externals
Processing externals description file : Externals.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox)
Processing externals description file : Externals_CAM.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox/components/cam)
Processing externals description file : ../Externals_cime.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox/cime)
Checking local status of required & optional components: cam, chem_proc, carma, cosp2, clubb, silhs, pumas, atmos_phys, atmos_cubed_sphere, cice, cdeps, cime, cmeps, cism, clm, fms, mom, mosart, pop, rtm, ww3,
./cime
e-o ./cime/src/drivers/nuopc/
M ./components/cam
e- ./components/cam/chem_proc
e- ./components/cam/src/atmos_phys
e- ./components/cam/src/dynamics/fv3/atmos_cubed_sphere
e- ./components/cam/src/physics/carma/base
e- ./components/cam/src/physics/clubb
e- ./components/cam/src/physics/cosp2/src
e- ./components/cam/src/physics/pumas
e- ./components/cam/src/physics/silhs
e- ./components/cdeps
e- ./components/cice
e- ./components/cism
e- ./components/clm
e-o ./components/mom
e- ./components/mosart
e- ./components/pop
e- ./components/rtm
e- ./components/ww3
e-o ./libraries/FMS
----------------------------------------------------------------------
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
Additions/deletions of an externals submodules can lead to a modified status after running checkout_externals · Issue #157 · ESMCI/manage_externals).
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.
----------------------------------------------------------------------
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox [07:49:15] $ cd components/cam/
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox/components/cam [07:49:22] $ git status
Refresh index: 100% (1901/1901), done.
HEAD detached at cam_cesm2_2_rel_09
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Externals_CAM.cfg
no changes added to commit (use "git add" and/or "git commit -a")
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox/components/cam [07:49:29] $ git add Externals_CAM.cfg
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox/components/cam [07:49:46] $ cd ../../
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox [07:49:50] $ ./manage_externals/checkout_externals
Processing externals description file : Externals.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox)
Processing externals description file : Externals_CAM.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox/components/cam)
Processing externals description file : ../Externals_cime.cfg (/users/jbuzan/cesm2_2_2/my_cesm_sandbox/cime)
Checking local status of required & optional components: cam, chem_proc, carma, cosp2, clubb, silhs, pumas, atmos_phys, atmos_cubed_sphere, cice, cdeps, cime, cmeps, cism, clm, fms, mom, mosart, pop, rtm, ww3,
./cime
e-o ./cime/src/drivers/nuopc/
M ./components/cam
e- ./components/cam/chem_proc
e- ./components/cam/src/atmos_phys
e- ./components/cam/src/dynamics/fv3/atmos_cubed_sphere
e- ./components/cam/src/physics/carma/base
e- ./components/cam/src/physics/clubb
e- ./components/cam/src/physics/cosp2/src
e- ./components/cam/src/physics/pumas
e- ./components/cam/src/physics/silhs
e- ./components/cdeps
e- ./components/cice
e- ./components/cism
e- ./components/clm
e-o ./components/mom
e- ./components/mosart
e- ./components/pop
e- ./components/rtm
e- ./components/ww3
e-o ./libraries/FMS
----------------------------------------------------------------------
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
Additions/deletions of an externals submodules can lead to a modified status after running checkout_externals · Issue #157 · ESMCI/manage_externals).
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.
----------------------------------------------------------------------
jbuzan@eiger-ln003:~/cesm2_2_2/my_cesm_sandbox [07:50:00] $