Skip to content

Add config to run GPU on ARCHER2 #1084

Closed

Description

@paddyroddy

Add your issue here

Setting up the ability to use GPU on ARCHER2

Activity

  1. connoraird commented on Jul 2, 2026

    @connoraird
    Contributor

    On an archer2 gpu partition

    srun --export=PATH --partition=gpu --qos=gpu-shd --gpus=1 --time=1:0:0 --pty /bin/bash

    using these modules

    module load PrgEnv-amd/8.6.0
    module load rocm
    module load craype-accel-amd-gfx90a
    module load craype-x86-milan

    I managed to get jax to run on the Archer2 gpu node (not with glass) using python 3.12 and these packages

    uv pip install jax==0.4.35 jax-rocm60-plugin==0.4.35 jax-rocm60-pjrt==0.4.35

    Test script

    import jax
    print(jax.devices())
    import jax.numpy as jnp
    x = jnp.arange(5)
    print(x)

    Output

    connoraird@nid200002:~/glass> .venv/bin/python test_jax.py
    [RocmDevice(id=0)]
    [0 1 2 3 4]
  2. paddyroddy commented on Jul 2, 2026

    @paddyroddy
    MemberAuthor

    You could change this to:

    uv run --isolated --with "jax==0.4.35" --with "jax-rocm60-plugin==0.4.35" \
      --with "jax-rocm60-pjrt==0.4.35" python -c \
      "import jax; print(jax.devices()); import jax.numpy as jnp; x = jnp.arange(5); print(x)"
  3. paddyroddy commented on Oct 5, 2026

    @paddyroddy
    MemberAuthor

    Finished in #1098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

array-apiWork is related to the Array APIbenchmarksBenchmarking workenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions