The configuration is described in Storto et. al. https://gmd.copernicus.org/articles/16/4811/2023/gmd-16-4811-2023.html
installation can be done with the following steps
mkdir NemoMed12
cd NemoMed12
svn co https://forge.ipsl.jussieu.fr/nemo/svn/NEMO/releases/r4.0/r4.0.7/
It is important to stick with version 4.0.7, version 4.0 does not work
cd cfgs
cp -r AMM12 MED12
cd MED12
echo "bld::tool::fppkeys key_mpp_mpi key_asminc" > cpp_MED12.fcm
then remove top
from cpp_MED12.fcm
copy EXPREF
into
compile