Skip to content

Building with spack-stack? #1346

Discussion options

You must be logged in to vote

Update - I was able to successfully build something that is mostly P8 on Frontera this morning using my gnu installation of spack-stack. :) Assuming all of the necessary modules have been loaded via spack, the steps that got me to an executable are:

  1. Check out P8 tag
  2. Update CMakeModules to develop
  3. Change "STATIC" to "SHARED" on line 130 of CMakeLists.txt
  4. Add esmf to DEPENDENCIES on line 9 of GOCART/ESMF/Shared/CMakeLists.txt
  5. mkdir build && cd build
  6. cmake -DAPP=S2SWA -DDEBUG=ON -DCCPP_SUITES=FV3_GFS_v17_coupled_p8 -DINLINE_POST=ON .. 2>&1 | tee log.make
  7. Delete -lESMF from CMakeFiles/ufs_model.dir/link.txt
  8. make VERBOSE=1 -j4 2>&1 | tee log.make

Replies: 11 comments 14 replies

Comment options

You must be logged in to vote
1 reply
@benjamin-cash
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@benjamin-cash
Comment options

Comment options

You must be logged in to vote
2 replies
@benjamin-cash
Comment options

@benjamin-cash
Comment options

Comment options

You must be logged in to vote
1 reply
@benjamin-cash
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@benjamin-cash
Comment options

Comment options

You must be logged in to vote
1 reply
@benjamin-cash
Comment options

Comment options

You must be logged in to vote
3 replies
@benjamin-cash
Comment options

@jkbk2004
Comment options

@benjamin-cash
Comment options

Comment options

You must be logged in to vote
4 replies
@benjamin-cash
Comment options

@climbfuji
Comment options

@jkbk2004
Comment options

@benjamin-cash
Comment options

Answer selected by benjamin-cash
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants