The make process is automated by the script Make.csh, which should be used instead of directly invoking the make command. It keys on the source code directory name which should end with _${TYPE}, where ${TYPE} is the parallelization type (one, omp,mpi, ompi). The script Make.csh should be edited to define ${ARCH} appropriately for the machine, several options are provided as examples. In order for this to work, the file ./config/${ARCH}_${TYPE} must exist and must contain the machine-specific parts of Makefile (see the Compilations (config) wiki page)."
I failed to know how to modify or add the directory of ${ARCH} and ${ARCH} in Mash.csh correctly. If we change something inside the Mash.csh file, do we need to change another thing in another file (CPP.csh)? Do you need to move Makefile to the config folder? where can do execute the code? How can we check whether the HYCOM model can compile well?
Could you give me an example to compile and run a simple case? Some of the information in the Git hub is not enough to understand.
Best regards.
I see.Last time, I tried to install FUNWAVE, OpenFoam, and TRUCHAS on Ubuntu with the 22.04 version. These models can work well.I will try to install HYCOM on WSL2 and let you know later.Thanks!