refactor and repair the spack environment #4

Merged
portelli merged 1 commits from simon.buerger/lattice-benchmarks:fix_spack_environment into main 2023-07-05 15:11:40 +01:00
Collaborator

I re-did the spack environment, and finally it works. Changes include:

  • the custom compilation of OpenMPI and UCX is not specified explicitly as a dependency of fftw and hdf5, because for some reason spack tends to crash that way. It is picked up automatically however, so there is no problem.
  • All compilation is done inside of spack environments. This increases encapsulation a bit and also makes the whole setup a bit faster due to better parallelism. (roughly speaking, spack env depfile && make is the same as spack install but can build unrelated packages simultaneously).

next step for me: put it into the CI in order to be notified swiftly if anything breaks again.

I re-did the spack environment, and finally it works. Changes include: * the custom compilation of `OpenMPI` and `UCX` is not specified explicitly as a dependency of `fftw` and `hdf5`, because for some reason spack tends to crash that way. It is picked up automatically however, so there is no problem. * All compilation is done inside of spack environments. This increases encapsulation a bit and also makes the whole setup a bit faster due to better parallelism. (roughly speaking, `spack env depfile && make` is the same as `spack install` but can build unrelated packages simultaneously). next step for me: put it into the CI in order to be notified swiftly if anything breaks again.
simon.buerger added 1 commit 2023-07-04 22:41:09 +01:00
portelli merged commit fa47ec5bbe into main 2023-07-05 15:11:40 +01:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: portelli/lattice-benchmarks#4
No description provided.