Skip to content

Commit

Permalink
Merge pull request #56 from fusion-energy/update-install-versions
Browse files Browse the repository at this point in the history
updated to cq 2.4.0 and openmc 0.14.0
  • Loading branch information
shimwell authored Feb 7, 2024
2 parents 48e9251 + 8a29c34 commit 98615f1
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mamba activate new_env

Install the dependencies
```bash
mamba install -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master -y
mamba install -c conda-forge moab gmsh python-gmsh cadquery -y
```

Then you can install the cad_to_dagmc package with ```pip```
Expand All @@ -57,9 +57,9 @@ pip install cad_to_dagmc

You may also want to install OpenMC with DAGMC to make use of the h5m geometry files produced in simulations. However you could also use other supported particle transport codes such as MCNP, FLUKA and others [link to DAGMC documentation](https://svalinn.github.io/DAGMC/).You can run ```conda install -c conda-forge openmc``` however this more specific command makes sure the latest version of OpenMC which contains DAGMC is chosen by conda / mamba
```bash
mamba install -c conda-forge -y "openmc=0.13.3=dagmc*nompi*"
mamba install -c conda-forge -y "openmc=0.14.0=dagmc*nompi*"
```
You could also [install OpenMC from source](https://docs.openmc.org/en/stable/quickinstall.html) which might be prefered.
You could also [install OpenMC from source](https://docs.openmc.org/en/stable/quickinstall.html) which might be prefered as it can be tricky for the conda enviroment to get resolved


# Install using Conda and pip
Expand All @@ -78,7 +78,7 @@ conda activate new_env

Install the dependencies
```bash
conda install -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master -y
conda install -c conda-forge moab gmsh python-gmsh cadquery -y
```

Then you can install the cad_to_dagmc package with ```pip```
Expand All @@ -88,8 +88,9 @@ pip install cad_to_dagmc

You may also want to install OpenMC with DAGMC to make use of the h5m geometry files produced in simulations. However you could also use other supported particle transport codes such as MCNP, FLUKA and others [link to DAGMC documentation](https://svalinn.github.io/DAGMC/).You can run ```conda install -c conda-forge openmc``` however this more specific command makes sure the latest version of OpenMC which contains DAGMC is chosen by conda / mamba
```bash
conda install -c conda-forge -y "openmc=0.13.3=dagmc*nompi*"
conda install -c conda-forge -y "openmc=0.14.0=dagmc*nompi*"
```
You could also [install OpenMC from source](https://docs.openmc.org/en/stable/quickinstall.html) which might be prefered as it can be tricky for the conda enviroment to get resolved.



Expand Down

0 comments on commit 98615f1

Please sign in to comment.