mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
added usage instrucions
This commit is contained in:
parent
104d5bd41d
commit
c894c04865
1 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
# To build with OpenMC
|
||||
# docker build -t openmc .
|
||||
|
||||
# To build with OpenMC and DAGMC enabled
|
||||
# docker build -t openmc_dagmc --build-arg include_dagmc=true .
|
||||
|
||||
FROM ubuntu:latest
|
||||
|
||||
# By default this Dockerfile builds OpenMC without dagmc
|
||||
|
|
@ -71,6 +77,7 @@ RUN if [ "$include_dagmc" = "true" ] ; \
|
|||
-DCMAKE_INSTALL_RPATH=${hdf5_install_dir}:$HOME/MOAB ; \
|
||||
make ; \
|
||||
make install ; \
|
||||
fi
|
||||
|
||||
# Clone and install DAGMC
|
||||
RUN if [ "$include_dagmc" = "true" ] ; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue