-
Notifications
You must be signed in to change notification settings - Fork 25
BLOM externals
Tomas Torsvik edited this page Aug 24, 2022
·
9 revisions
There are 2 more or less automaic ways, in addition to cloning CVMix-src from github.
- If you build BLOM/iHAMOCC within the NorESM build system, you need to make the
checkout_externals
script aware of the CVmix repository. This is done by including the lineexternals = Externals_BLOM.cfg
in the[blom]
section of the NorESMExternals.cfg
file. TheExternals_BLOM.cfg
file should be available from the root folder in the BLOM/iHAMOCC repository, and points to the right version of CVmix.
[blom]
branch = master
protocol = git
repo_url = https://github.com/NorESMhub/BLOM
local_path = components/blom
externals = Externals_BLOM.cfg
required = True
- If you want to clone BLOM/iHAMOCC from github and include CVmix-src in the cloning process, you can run the command
git clone --recurse-submodules https://github.com/NorESMhub/BLOM.git
- There are
git submodule
commands you can run to init/add/update/delete submodules, seegit --help submodule
.
- Finally, you can always clone CVMix-src diretly from https://github.com/CVMix/CVMix-src but this will probably give you a newer version than the one that has been tested with BLOM/HAMOCC. However, managing CVMix through
git submodule
will usually be the preferential option.
BLOM wiki, © Copyright 2023, BLOM development team. This documentation is licensed under a ShareAlike 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/.