Compiling Nemo 4.0

Hi,
I completed compiling XIOS on a machine running on Ubuntu and now proceeded to compiling NEMO.
I followed all the instructions on nemo4.0(beta) webpage, created GYRE_testing and edited the cfg file etc.
However, when I run ./makenemo as described on the above page, I simply get “compiler not existing”.
All the compilers named in the relevant.fcm file are searchable with the “which” command in the terminal.
I am unsure which compiler the make process seems to find missing and/or what I should be doing different compared to the instructions on the webpage.
Please let me know if there is any further information I could provide that would help in solving this problem.
Thank you very much in advance!

makenemo is not finding your arch file.

Your arch file must be in the arch directory or in one of its subdirectories.

If you do ./makenemo -m XXX, your arch file must be named arch-XXX.fcm

Thank you for your reply.
While the arch file is in the arch directory, your comment lead to me realise that the filename needs to start with arch-. This is not the case on the tutorial on the webpage.
Now, the compilation starts.
Thanks for your help!

Unfortunately I have run into a new error:
“Type mismatch between actual argument…”
In another fortran-based compilation, I have overcome this by adding -fallow-argument-mismatch to the FCflags, but I am not sure how to do this here.
Could someone help me with this?
Thanks!

Of course the flag can be included in the fcm file!