... | @@ -48,4 +48,30 @@ cd swift-0.8.5 |
... | @@ -48,4 +48,30 @@ cd swift-0.8.5 |
|
To do:
|
|
To do:
|
|
- Work out how to use metis
|
|
- Work out how to use metis
|
|
- Work out how to use tbbmalloc
|
|
- Work out how to use tbbmalloc
|
|
- Work out how to transfer data efficiently |
|
- Work out how to transfer data efficiently
|
|
\ No newline at end of file |
|
|
|
|
|
|
|
|
|
# Python Tooling
|
|
|
|
|
|
|
|
As HAWK has no connection to the outside world, you need to use a tunnel to transfer pip data. They also do not seem to correctly support python environments so we will user install everything.
|
|
|
|
|
|
|
|
You will need _two_ terminals open, both connected to your machine that you use to access hawk. I will assume that this is the starting point for each terminal in the below configuration.
|
|
|
|
|
|
|
|
Terminal 1
|
|
|
|
```
|
|
|
|
python3 -m venv devpienv
|
|
|
|
source devpienv/bin/activate
|
|
|
|
devpi-server --init
|
|
|
|
|
|
|
|
devpi-server
|
|
|
|
```
|
|
|
|
|
|
|
|
Then in your second terminal, while `devpi-server` is running:
|
|
|
|
```
|
|
|
|
ssh -R 56567:localhost:3141 my-user-name@hawk.hww.hlrs.de
|
|
|
|
# Note that they don't seem to like python enviroments
|
|
|
|
module load python/3.8
|
|
|
|
pip3 install --user --index-url http://localhost:56567/root/pypi/+simple/ numba matplotlib swiftsimio matplotlib
|
|
|
|
```
|
|
|
|
|
|
|
|
Once you are done with terminal 2 you can close both and delete your `devpienv`. |
|
|
|
\ No newline at end of file |