Skip to content

Instantly share code, notes, and snippets.

@psychocoderHPC
Created February 7, 2023 06:58
Show Gist options
  • Select an option

  • Save psychocoderHPC/204503b63a5a2ce1cf86a731107f96f5 to your computer and use it in GitHub Desktop.

Select an option

Save psychocoderHPC/204503b63a5a2ce1cf86a731107f96f5 to your computer and use it in GitHub Desktop.
spack install gcc@11.3.0
spack install cmake@3.25.2
spack install --reuse cmake@3.25.2 %gcc@11.3.0
spack load cmake@3.25.2 %gcc@11.3.0
spack install cuda@12.0.0
spack load cuda@12.0.0
echo "openpmd-api:"
spack install --reuse openpmd-api@0.14.5 %gcc@11.3.0 \
^adios2@2.8.3 +cuda cuda_arch=90\
^cmake@3.25.2 \
^hdf5@1.12.2 \
^openmpi@4.1.3 +atomics +cuda cuda_arch=90
echo "boost:"
spack install --reuse boost@1.78.0 \
+program_options \
+filesystem \
+system \
+math \
+serialization \
+thread \
+chrono \
+atomic \
+date_time \
~python \
%gcc@11.3.0
echo "pngwriter"
spack install --reuse pngwriter@0.7.0 %gcc@11.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment