I have the 1.1 version of CROCO installed on a Linux server, and I’m interested in implementing the MUSTANG module. Would it suffice to simply copy the module folder into the base directory, or do I need to reinstall the entire model?
Any guidance or insights on this matter would be greatly appreciated.
Thanks for the previous answer, now when installing the model I get this problem:
I’m encountering an error while compiling the ‘jobcomp’ file. It seems to be causing some issues, and I’m not sure how to resolve them. The error message I’m receiving is: cpp -traditional -DLinux -P -I/opt/ohpc/NetCDF/4.3.2/include -ICROCOFILES/AGRIF_INC partit.F > partit._.f /usr/lib64/mpich-3.2/bin/mpif90 -c -O2 -mcmodel=medium -fdefault-real-8 -fdefault-double-8 -std=legacy partit._.f -o partit.o partit._.f:2357.31:
if (size .gt. 8*max_buff_size) then *
1*
Error: Arithmetic overflow at (1) partit._.f:2361.37:
& 'available:', 8*max_buff_size, 'Bytes.',*
Additionally, I’d like to mention that my netCDF output is:
*This netCDF 4.3.2 has been built with the following features: *
Has anyone else encountered similar errors while compiling ‘jobcomp’? Any insights or suggestions on how to troubleshoot and resolve this issue, taking into account the netCDF output format, would be greatly appreciated.
Hi, limramirezmo
which version model you are using. can you upload the partit.F file .
without MUSTANG its able to compile?
Today itself, I have tested v1.3.1 with MUSTANG there have been no issues yet during compilation. gcc/8.3.0 as well as ifort or mpiifort.
Have a good day.
Cheers!
Subhadeep
I am using version 1.3.1, which I downloaded yesterday from the CROCO website.
This is the partit.F file: partit.F (33.4 KB)
For now I am compiling it without MUSTANG with the default cppdefs file that has the model in OCEAN.
I am following these steps on Linux:
Taking into account that I already have gfortran and netcdf installed (version 1.1 runs with this)
I download the croco-v1.3.1.zip and croco_tools-v1.3.1.zip files and unzip them.
I run ./create_config.bash (changing the necessary paths)
Inside the Run folder I execute ./jobcomp (changing the necessary paths)
The cppdefs.h that is used is the one that is created by default in this Run folder which does NOT have MUSTANG defined
And in this step where the error appears…
hi, limramirezmo
NO issues encountered during compilation.
check the compile.log file.
which compiler you using. check the compiler version.
can you try this command: sysctl net.core.rmem_max
what you get please post here.
and my suggestion update your OS as well dependencies. compile_mustang_2024.txt (82.3 KB)
check your netcdf library using make check
or re-install
I have used this script long back. check its working or not. (i am not sure)
download latest CROCO and test it.
git clone --branch master croco-ocean / croco · GitLab
Have a good day.
Cheers!
Subhadeep