-
Notifications
You must be signed in to change notification settings - Fork 365
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
Hommexx: fixing cmake cache files #6455
Hommexx: fixing cmake cache files #6455
Conversation
Merges updated master from E3SM with my local changes for weaver
… up some unneeded args
MESSAGE(STATUS " Linking Fortran with -cxxlib") | ||
TARGET_LINK_LIBRARIES(${execName} -cxxlib) | ||
ENDIF () | ||
# IF (CXXLIB_SUPPORTED_CACHE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Skyler will figure out why this is an issue on weaver, if not anything else, there will be an if statement 'if not WEAVER'...
… both compile. bfb testing needed oksanas change for kokkos gpu update
MESSAGE(STATUS " Linking Fortran with -cxxlib") | ||
TARGET_LINK_LIBRARIES(${execName} -cxxlib) | ||
ENDIF () | ||
#IF (CXXLIB_SUPPORTED_CACHE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please uncomment these 2 blocks back?
ELSE() | ||
SET(CXXLIB_SUPPORTED_CACHE FALSE CACHE BOOL "") | ||
ENDIF () | ||
#CHECK_CXX_COMPILER_FLAG("-cxxlib" CXXLIB_SUPPORTED) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... and this.
#SET (NetCDF_Fortran_PATH "${NFCONFIG_OUTPUT}" CACHE STRING "") | ||
|
||
# Set the path manually otherwise /home/projects/e3sm/scream/libs/netcdf-fortran/install/weaver will get grabbed | ||
SET (NetCDF_Fortran_PATH /projects/ppc64le-pwr9-rhel8/tpls/netcdf-fortran/4.6.0/gcc/11.3.0/openmpi/4.1.4/5ka6asw CACHE FILEPATH "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you remind me why this path was hardcoded? it seems nc-config works, but nf-config does not?
|
||
# TPL settings | ||
#SET (PnetCDF_PATH /projects/ppc64le-pwr9-rhel8/tpls/parallel-netcdf/1.12.3/gcc/11.3.0/openmpi/4.1.4/pp6jcjk CACHE FILEPATH "") | ||
SET (CPRNC_DIR /projects/e3sm/cprnc CACHE FILEPATH "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's remove this cprnc, we now know it does not work. same is about the other weaver file.
@oksanaguba please re-review. |
Notes: needs one more review from @oksanaguba |
@oksanaguba please approve. |
closing this till i can get back to it. |
Gets weaver cache file working again, compiles with kokkos and parallel-IO.
Also cleans up cache file by removing some unneeded arguments and adding comments.