Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.32 KB

File metadata and controls

61 lines (43 loc) · 1.32 KB

VirtualBox Setup

The following steps are required to finish the VirtualBox setup for the workshop.

4C

In the virtual box most things are already set up. So let's us clone the tutorials

git clone https://github.com/mayrmt/UKACM_GACM_Tutorial_4C_QUEENS.git

The tutorials can now be found in /home/participant/UKACM_GACM_Tutorial_4C_QUEENS.

QUEENS

For the QUEENS tutorials, we need to create a Python environment with QUEENS installed in it.

1. Create a Python environment

Create a conda environment using:

conda create -n queens python==3.11

Now let's activate the enviroment by:

conda activate queens

2. Install QUEENS

Afterwards navigate to the QUEENS source

cd /home/participant/queens

and install QUEENS via

pip install -e .

3. Install Jupyter

We use Jupyter notebooks for the interactivate QUEENS tutorials. So let's install the required packages:

cd /home/participant/UKACM_GACM_Tutorial_4C_QUEENS
pip install -r additional_requirements.txt

4. Run the jupyter notebooks

We are now ready to go. Start Jupyter by

jupyter notebook

This should open a page in the web browser. Open the tutorials under

/home/participant/UKACM_GACM_Tutorial_4C_QUEENS/QUEENS/1-grid-iterator-rosenbrock/1-grid-iterator-rosenbrock.ipynb