Skip to content

Commit

Permalink
Merge pull request #11 from COSIMA/add_fox
Browse files Browse the repository at this point in the history
Add FoX to installation.
  • Loading branch information
micaeljtoliveira authored Nov 28, 2023
2 parents 6647361 + a799027 commit ae38cf1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gcc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN mkdir /opt/spack-environment \
&& (echo "spack:" \
&& echo " specs:" \
&& echo " - cmake@3.24.4" \
&& echo " - fortranxml@4.1.2" \
&& echo " - netcdf-c@4.9.2+mpi build_system=cmake build_type=RelWithDebInfo" \
&& echo " - netcdf-fortran@4.6.0" \
&& echo " - parallelio@2.5.10 build_type=RelWithDebInfo" \
Expand All @@ -18,10 +19,17 @@ RUN mkdir /opt/spack-environment \
&& echo " unify: true" \
&& echo " targets:" \
&& echo " granularity: generic" \
&& echo " repos:" \
&& echo " - $spack/var/spack/repos/builtin" \
&& echo " - /opt/cosima" \
&& echo " config:" \
&& echo " install_tree: /opt/software") > /opt/spack-environment/spack.yaml

# Add COSIMA repo
RUN git clone --single-branch https://github.com/COSIMA/spack_packages.git /opt/cosima

# Install the software, remove unnecessary deps

RUN cd /opt/spack-environment && spack env activate . && spack install --fail-fast && spack gc -y

# Strip all the binaries
Expand Down

0 comments on commit ae38cf1

Please sign in to comment.