Skip to content
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

Conversation

skyler-ruiter
Copy link

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.

@oksanaguba oksanaguba self-assigned this May 31, 2024
@oksanaguba oksanaguba self-requested a review May 31, 2024 14:21
MESSAGE(STATUS " Linking Fortran with -cxxlib")
TARGET_LINK_LIBRARIES(${execName} -cxxlib)
ENDIF ()
# IF (CXXLIB_SUPPORTED_CACHE)
Copy link
Contributor

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'...

@rljacob rljacob added HOMME standalone issues with the standalone HOMME code that dont impact E3SM Machine Files labels May 31, 2024
MESSAGE(STATUS " Linking Fortran with -cxxlib")
TARGET_LINK_LIBRARIES(${execName} -cxxlib)
ENDIF ()
#IF (CXXLIB_SUPPORTED_CACHE)
Copy link
Contributor

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)
Copy link
Contributor

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 "")
Copy link
Contributor

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 "")
Copy link
Contributor

@oksanaguba oksanaguba Jun 16, 2024

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.

@rljacob
Copy link
Member

rljacob commented Jun 27, 2024

@oksanaguba please re-review.

@skyler-ruiter skyler-ruiter marked this pull request as ready for review July 10, 2024 17:55
@skyler-ruiter skyler-ruiter changed the title [WIP] hommexx: fixing weaver cmake cache file hommexx: fixing weaver cmake cache file Jul 16, 2024
@oksanaguba oksanaguba changed the title hommexx: fixing weaver cmake cache file [wip] hommexx: fixing cmake cache files Jul 25, 2024
@rljacob
Copy link
Member

rljacob commented Aug 15, 2024

Notes: needs one more review from @oksanaguba

@rljacob rljacob changed the title [wip] hommexx: fixing cmake cache files Hommexx: fixing cmake cache files Aug 30, 2024
@rljacob
Copy link
Member

rljacob commented Aug 30, 2024

@oksanaguba please approve.

@oksanaguba
Copy link
Contributor

closing this till i can get back to it.

@oksanaguba oksanaguba closed this Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HOMME standalone issues with the standalone HOMME code that dont impact E3SM Machine Files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants