NuGrid website
NuGrid users need to have a basic grasp of the Linux command line.
NuGrid is about nuclear astrophysics simulations which requires building codes which requires programming. The following is a list of possible places to start learning about programming:
We recommend the Anaconda python distribution. It comes with its own package manager conda which makes setting up virtual environments very easy. These virtual environment allow you to load different versions of packages. This is especially useful if you would like to try your code with both python 2.7 and 3.5.
If you have used pip and virtualenv in the past, then conda does the job of both of these.
Here are some examples how to used conda, go to the original conda documentation for up-to-date and detailed info:
command | comment |
---|---|
source activate snowflakes |
activate environment snowflakes |
conda info --envs |
list all environments |
conda env export |
Export environment, list packages available in this environment |
conda create -n myenv python=2 numpy |
create python 2 environment with name myenv and install the numpy packages |