Skip to content
Snippets Groups Projects
Commit 35c19089 authored by Martin Schroschk's avatar Martin Schroschk
Browse files

Adjust example from beegfs to horse filesystem

parent a9bace78
No related branches found
No related tags found
2 merge requests!1133Automated merge from preview to main,!1118Remove beegfs from documentation
...@@ -119,7 +119,7 @@ additional Python packages and create an isolated runtime environment. We recomm ...@@ -119,7 +119,7 @@ additional Python packages and create an isolated runtime environment. We recomm
marie@login.alpha$ srun --nodes=1 --cpus-per-task=1 --gres=gpu:1 --time=01:00:00 --pty bash -l marie@login.alpha$ srun --nodes=1 --cpus-per-task=1 --gres=gpu:1 --time=01:00:00 --pty bash -l
marie@alpha$ ws_allocate -n python_virtual_environment -d 1 marie@alpha$ ws_allocate -n python_virtual_environment -d 1
Info: creating workspace. Info: creating workspace.
/beegfs/ws/1/marie-python_virtual_environment /horse/ws/1/marie-python_virtual_environment
remaining extensions : 2 remaining extensions : 2
remaining time in days: 1 remaining time in days: 1
marie@alpha$ module load release/23.04 GCCcore/11.3.0 GCC/11.3.0 OpenMPI/4.1.4 Python/3.10.4 marie@alpha$ module load release/23.04 GCCcore/11.3.0 GCC/11.3.0 OpenMPI/4.1.4 Python/3.10.4
...@@ -130,13 +130,13 @@ additional Python packages and create an isolated runtime environment. We recomm ...@@ -130,13 +130,13 @@ additional Python packages and create an isolated runtime environment. We recomm
/software/rome/r23.04/Python/3.10.4-GCCcore-11.3.0/bin/python /software/rome/r23.04/Python/3.10.4-GCCcore-11.3.0/bin/python
marie@alpha$ pip list marie@alpha$ pip list
[...] [...]
marie@alpha$ virtualenv --system-site-packages /beegfs/ws/1/marie-python_virtual_environment/my-torch-env marie@alpha$ virtualenv --system-site-packages /horse/ws/1/marie-python_virtual_environment/my-torch-env
created virtual environment CPython3.8.6.final.0-64 in 42960ms created virtual environment CPython3.8.6.final.0-64 in 42960ms
creator CPython3Posix(dest=/beegfs/.global1/ws/marie-python_virtual_environment/my-torch-env, clear=False, global=True) creator CPython3Posix(dest=/horse/.global1/ws/marie-python_virtual_environment/my-torch-env, clear=False, global=True)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=~/.local/share/virtualenv) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=~/.local/share/virtualenv)
added seed packages: pip==21.1.3, setuptools==57.2.0, wheel==0.36.2 added seed packages: pip==21.1.3, setuptools==57.2.0, wheel==0.36.2
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
marie@alpha$ source /beegfs/ws/1/marie-python_virtual_environment/my-torch-env/bin/activate marie@alpha$ source /horse/ws/1/marie-python_virtual_environment/my-torch-env/bin/activate
(my-torch-env) marie@alpha$ pip install torchvision==0.13.1 (my-torch-env) marie@alpha$ pip install torchvision==0.13.1
[...] [...]
Installing collected packages: torchvision Installing collected packages: torchvision
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment