Project

General

Profile

Install standalone version of Crocus

For users who want to couple Crocus with their own surface scheme, instead of downloading the whole project SURFEX-Crocus, you can download only Crocus and its dependencies with the following commands:
In the download directory:

git init 
git config core.sparseCheckout true 
git remote add -f origin ssh://admin097@git.umr-cnrm.fr/git/Surfex_Git2.git -t cen 

Save the attached file "sparse-checkout" in .git/info/
Then
git pull
cd src/EXT_CROCUS
make

CROCUS is ready to use. To test it, an executable "prog" is available after compilation just run it

./prog

If during development we have to use others files from SURFEX-CROCUS project we add them in .git/info/sparse-checkout then tap

git read-tree -mu HEAD

(!) Be Careful: the modi_* files are not generated automatically, you have to update them when their subroutine are updated in SURFEX source