From 69156081a2a57080f561e7d34d9d4be252adbc51 Mon Sep 17 00:00:00 2001 From: Raul Otaolea Date: Fri, 28 Nov 2025 12:09:58 +0100 Subject: [PATCH 1/2] Added missing venv activation command. Made wheel installation command agnostic of versions and architectures. --- demo/qrmi/slurm-docker-cluster/INSTALL.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo/qrmi/slurm-docker-cluster/INSTALL.md b/demo/qrmi/slurm-docker-cluster/INSTALL.md index 3732afe..9e9d6e6 100644 --- a/demo/qrmi/slurm-docker-cluster/INSTALL.md +++ b/demo/qrmi/slurm-docker-cluster/INSTALL.md @@ -110,6 +110,7 @@ Slurm Cluster is now set up as shown. ```bash [root@c1 /]# python3.12 -m venv /shared/pyenv +[root@c1 /]# source /shared/pyenv/bin/activate [root@c1 /]# pip install --upgrade pip ``` @@ -123,7 +124,7 @@ Slurm Cluster is now set up as shown. [root@c1 /]# cd /shared/qrmi [root@c1 /]# pip install -r requirements-dev.txt [root@c1 /]# maturin build --release -[root@c1 /]# pip install /shared/qrmi/target/wheels/qrmi-0.8.0-cp312-abi3-manylinux_2_34_aarch64.whl +[root@c1 /]# pip install /shared/qrmi/target/wheels/qrmi-*.whl ``` 4. Building [SPANK Plugin](../../../plugins/spank_qrmi/README.md) From 74b910ec1342904099b574dc182e8bf97bc79508 Mon Sep 17 00:00:00 2001 From: Munetaka Ohtani Date: Thu, 4 Dec 2025 13:38:46 +0900 Subject: [PATCH 2/2] Force to clone 0.9.0 of docker-cluster --- demo/qrmi/slurm-docker-cluster/INSTALL.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/demo/qrmi/slurm-docker-cluster/INSTALL.md b/demo/qrmi/slurm-docker-cluster/INSTALL.md index 9e9d6e6..7b4bb6f 100644 --- a/demo/qrmi/slurm-docker-cluster/INSTALL.md +++ b/demo/qrmi/slurm-docker-cluster/INSTALL.md @@ -30,7 +30,7 @@ cd #### 2. Cloning Slurm Docker Cluster git repository ```bash -git clone https://github.com/giovtorres/slurm-docker-cluster.git +git clone -b 0.9.0 https://github.com/giovtorres/slurm-docker-cluster.git cd slurm-docker-cluster ``` @@ -39,8 +39,8 @@ cd slurm-docker-cluster ```bash mkdir shared pushd shared -git clone git@github.com:qiskit-community/spank-plugins.git -git clone git@github.com:qiskit-community/qrmi.git +git clone https://github.com/qiskit-community/spank-plugins.git +git clone https://github.com/qiskit-community/qrmi.git popd ``` @@ -117,10 +117,7 @@ Slurm Cluster is now set up as shown. 3. Building and installing [QRMI](https://github.com/qiskit-community/qrmi/blob/main/INSTALL.md) ```bash -% docker exec -it c1 bash - [root@c1 /]# source ~/.cargo/env -[root@c1 /]# source /shared/pyenv/bin/activate [root@c1 /]# cd /shared/qrmi [root@c1 /]# pip install -r requirements-dev.txt [root@c1 /]# maturin build --release