-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake build failure under few scenarios #1309
Comments
@stefanzieger regarding missing dependency for METIS and PARMETIS, please follow instruction from the following link https://github.com/erdc/WW3/wiki/FAQs%E2%80%90page#how-to-install-Metis-and-Parmetis. We still use PARMETIS 4.3.0 and the recent version from its authoritative repo is not supported by WW3. Alternatively, you can use SCOTCH https://github.com/erdc/WW3/wiki/FAQs%E2%80%90page#how-to-install-scotch |
Changes ------- [x] GKLIB is required by METIS, and ParMETIS libraries. [x] FindGKLIB.cmake added. [x] METIS depentencies for target linker library updated.
@aliabdolali Thank you for highlighting instructions on how to use SCOTCH library. Reverting back to v7.0.3 worked for me. In v7.0.5 they changed the prefix for fortran libraries from "SCOTCH_" to "SCOTCHF". In WW3 this will cause a linker error in |
Happy to help. thanks @stefanzieger for pointing changes in new versions of SCOTCH. |
Older versions of ParMETIS have METIS and GKLIB included with the source code. Static link libraries libmetis.a contains GKLib object files. CMake configuration was updated to only link against GKLIB is the library is found in METIS_PATH. Changes ------- [x] FindGKLIB.cmake is optional with METIS depentencies for target linker library being added when found.
to any input/dissipation term (Ticket: NOAA-EMC#1309) Changes ------- [x] Add namelist parameter FALPHA to `&FLD1` and `&FLD2`. [x] Default value for &FLD[12] FALPHA is set to &SIN4 ALPHA0=0.0095 if ST4 is selected, otherwise FALPHA=0.0095 in `w3gridmd.F90`. [x] Passed regression test `ww3_ts3`. A new namelist parameter is printed in equivalent namelist in ww3_grid standard output.
Describe the bug
Under few scenarios cmake build system fails.
mod_oasis.mod
cannot be located when runningFindOASOS.cmake
OASIS
only allowsFLX0
(i.e., source termsST3
orST4
). Enhance build system to allow any combination of source terms when coupling with OASIS.FLD1
andFLD2
require source termsST3
orST4
. Proposed solution is to move the namelist parameterALPHA0
(minimum charnock coefficient) to namelistFLD1
andFLD2
respectively.The text was updated successfully, but these errors were encountered: