Skip to content

Commit

Permalink
Merge pull request cnerg#2 from kkiesling/pymoab-prefix-fix
Browse files Browse the repository at this point in the history
pymoab image fixes
  • Loading branch information
gonuke authored Apr 14, 2020
2 parents dac7c68 + adcaa2c commit 2ab53e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions pymoab-py2-18.04
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ RUN cd $HOME/opt \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined" -DENABLE_MPI=OFF \
-DENABLE_HDF5=ON -DHDF5_ROOT=/usr/lib/x86_64-linux-gnu/hdf5/serial \
-DENABLE_NETCDF=OFF -DENABLE_METIS=OFF -DENABLE_IMESH=OFF -DENABLE_FBIGEOM=OFF \
-DENABLE_PYMOAB=ON -DPREFIX=$HOME/opt/moab \
&& make all -j 8 \
&& cd .. \
-DENABLE_PYMOAB=ON -DCMAKE_INSTALL_PREFIX=$HOME/opt/moab \
&& make -j 8 \
&& make install \
&& cd $HOME/opt/moab \
&& rm -rf build moab

# set environment variables
Expand Down
7 changes: 4 additions & 3 deletions pymoab-py3-18.04
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ RUN cd $HOME/opt \
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-undefined" -DENABLE_MPI=OFF \
-DENABLE_HDF5=ON -DHDF5_ROOT=/usr/lib/x86_64-linux-gnu/hdf5/serial \
-DENABLE_NETCDF=OFF -DENABLE_METIS=OFF -DENABLE_IMESH=OFF -DENABLE_FBIGEOM=OFF \
-DENABLE_PYMOAB=ON -DPREFIX=$HOME/opt/moab \
&& make all -j 8 \
&& cd .. \
-DENABLE_PYMOAB=ON -DCMAKE_INSTALL_PREFIX=$HOME/opt/moab \
&& make -j 8 \
&& make install \
&& cd $HOME/opt/moab \
&& rm -rf build moab

# set environment variables
Expand Down

0 comments on commit 2ab53e2

Please sign in to comment.