Skip to content

Commit

Permalink
Added a post install message to indicate how to load the installed mo…
Browse files Browse the repository at this point in the history
…dule. (#2456)
  • Loading branch information
bvanessen authored Jun 12, 2024
1 parent 653b124 commit 5abdcbc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1181,3 +1181,14 @@ install(FILES "${CMAKE_BINARY_DIR}/lbann_module.lua.install"
install(FILES "${CMAKE_BINARY_DIR}/lbann_module.tcl.install"
RENAME "${LBANN_VERSION}"
DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/modulefiles/lbann")
install(CODE [===[
message("\n********************************************************************************")
message("LBANN is installed into ${CMAKE_INSTALL_PREFIX} - to load the LBANN module:")
message(" module use ${CMAKE_INSTALL_PREFIX}/etc/modulefiles")
message(" module load lbann")
message("********************************************************************************")
]===])




0 comments on commit 5abdcbc

Please sign in to comment.