...
After the configure, you may edit the configure.wrf file to adjust as needed.
For exampleAMD nodes:
Remove -xHost - will not work on AMD
change to -xCORE-AVX2 -to -march=core-avx2
For Skylake Nodes
-xCORE-AVX2 may need to change to -xCORE-AVX512 for Intel Skylake hosts
Other
Edit mpicc, remove the “-f90=$(SFC)” option from mpif90 and the “-cc=$(SCC)” option from mpicc for HPC-X (Open MPI) as it doesn’t need those options.
5. Compile
Code Block |
---|
$ ./compile -j8 wrf |
Note: if you compiled before, you need to clean the old compilation by running, and renaming again the configure.wrf.
Code Block |
---|
$ ./clean -a
...
$ mv configure.wrf.backup configure.wrf |
6. Check the run directory
...