The programming language Python (3.13.5) is available for OCTOPUS.
How to use
environmental setting
-
You need to set up the environment using "environment modules".
$ module load BasePy
$ python3
Install Package
-
Any package can be installed on the front-end node of OCTOPUS. Since connection to the outside world is prohibited from the computation node, please install the packages necessary for the calculation on the front-end node beforehand.
To install the package, please create a virtual environment with venv and use the pip command.
The following is the procedure to create a virtual environment "test-env" and install "numpy".
Create a virtual environment "test-env".
$ python3 -m venv /octfs/work/[group name]/[user name]/test-env/
activate "test-env".
$ source /octfs/work/[group name]/[user name]
/test-env/bin/activate
install package "numpy"
$ pip install numpy
Collecting numpy
numpy-2.3.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (62 kB)
Downloading numpy-2.3.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (16.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.6/16.6 MB 160.4 MB/s 0:00:00
Installing collected packages: numpy
Successfully installed numpy-2.3.5
Displays the installed packages
$ pip freeze
numpy==2.3.5

