How to create comp.Intel or comp.Gnu file? #1117
Replies: 4 comments 4 replies
-
Hi @Cesar-IIUNAM, could you share the error output your seeing from the calls above? I don't think you should have to worry about those files (comp.tmpl, link.tmpl) using the cmake build. |
Beta Was this translation helpful? Give feedback.
-
Dear Cesar, you should use cmake to compile WW3. Please follow the regtest ww3_tp2.14 which use oasis mct with cmake |
Beta Was this translation helpful? Give feedback.
-
@mickaelaccensi thank you very much for your reply. I created the OASISDIR environment variable in my bashrc like this: Then: It looks like WW3 knows where to find the OASIS directory, as indicated in the screenshot below, but when I do "make" it processes for a while and then I get some errors, which I summarize in the attached document Thanks for any suggestions you can give me. |
Beta Was this translation helpful? Give feedback.
-
Luckily we had a similar problem and unfortunately I'm still trying to work out a solution as well: |
Beta Was this translation helpful? Give feedback.
-
Hello, dear.
I have been able to compile the latest version of WW3 on my institute's cluster, and I have already done several simulations.
Finally, my goal is to couple WW3 with CROCO using OASIS.mct.
However, when I use a provided script to compile WW3 within this coupling architecture and choosing Intel as compiler, I encounter the error that it does not find "comp.Intel".
I have checked /WW3/model/bin and indeed it is not there.
I compiled the model according to:
"cd WW3"
"mkdir build && cd build"
"cmake ... -DSWITCH=/path/to/switch_NCEP_st2 -DCMAKE_INSTALL_PREFIX=install"
This section, on a pc with ifort as compiler, would look like this:
"cmake ... -DSWITCH= /opt/Data2/ctorresm/WW3/model/bin/ switch_IIUNAM_CLUSTER -DCMAKE_INSTALL_PREFIX=install"
"make"
"make install"
With this, in /WW3/model/bin I have "comp.tmpl" and "link.tmpl".
How can I create the comp.COMPILER file, e.g. for Intel comp.Intel?
Thank you for your attention.
César.
Beta Was this translation helpful? Give feedback.
All reactions