Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ZamanLantra authored Jul 19, 2024
1 parent d766696 commit da0a258
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ ENV MPI_COMPILER=mpicxx

# setup user installed libs
ENV PETSC_INSTALL_PATH=/usr/lib/petsc
ENV HDF5_INSTALL_PATH=/usr/lib/aarch64-linux-gnu/hdf5/openmpi

ENV HDF5_INSTALL_PATH=/usr/lib/x86_64-linux-gnu/hdf5/openmpi
# ENV HDF5_INSTALL_PATH=/usr/lib/aarch64-linux-gnu/hdf5/openmpi

# clone the OP-PIC library
WORKDIR /home/myuser/
Expand Down Expand Up @@ -86,7 +88,8 @@ WORKDIR /home/myuser/OP-PIC/app_fempic
RUN make PETSC=1 seq
RUN make PETSC=1 mpi
RUN make PETSC=1 omp
RUN make PETSC=1 mpi_hdf5
RUN make PETSC=1 mpi_hdf5 || \
echo "Script is written for architecture x86_64, please check the arch using echo $(uname -m) and change HDF5_INSTALL_PATH in this script"

# Copy the unzipped artifacts
ADD OP-PIC_Artifacts /home/myuser/OP-PIC_Artifacts
Expand Down

0 comments on commit da0a258

Please sign in to comment.