Skip to content

Location for automized script that install openmc and dependencies

License

Notifications You must be signed in to change notification settings

Santeezy7/openmc_install_scripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

openmc_install_scripts

This is a set of scripts that are intended to help with installation of OpenMC with its DAGMC-backend and its dependencies.

To install to some given location do:

 ./install-all.sh --prefix=<path>

It is assumed that the installing user has permission to write files at the installing location. The most stable way of handling installation at present is to install to a python venv. Like so:

 python -m venv <path>
 source <path>/bin/activate
 ./install-all.sh --prefix=<path>

This will put all the required libraries etc in that location and ensure the python modules are present.

A variant of this procedure which install to e.g. a system location is the following (assuming that the installing username is and has sudo-permissions)

 sudo mkdir <path>
 sudo chown <user> <path>
 python -m venv <path>
 source <path>/bin/activate
 ./install-all.sh --prefix=$VIRTUAL_ENV

The last step uses an environment variable set by the python virtual environment.

About

Location for automized script that install openmc and dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 91.3%
  • Python 6.2%
  • CMake 2.5%