How to compile the croco model?

Dear

I want to compile the CROCO model in debian, but I do not know how to do it, could someone help me?

I appreciate your help, thank you.

i face the same problem

What steps have you taken?

Did you do ./create_config.bash ?

The compilation itself is done this the ./jobcomp instruction.

for example (ubuntu 20.04)
1.copy some files
$mkdir -p ~/croco-v2.0.0/CONFIGS/BASIN
$cd ~/croco-v2.0.0/CONFIGS/BASIN
$cp ~/croco-v2.0.0/OCEAN/cppdefs.h .
$cp ~/croco-v2.0.0/OCEAN/param.h .
$cp ~/croco-v2.0.0/OCEAN/jobcomp .

2.edit file "cppdefs.h "
#define BASIN
#undef REGIONAL

3.edit file “jobcom”
SOURCE=…/…/OCEAN

4.compile
$./jobcom -j 2