Skip to content

Upgrade runner environment#152

Merged
pm-blanco merged 1 commit into
pyMBE-dev:mainfrom
jngrad:runner_updates
Jul 2, 2026
Merged

Upgrade runner environment#152
pm-blanco merged 1 commit into
pyMBE-dev:mainfrom
jngrad:runner_updates

Conversation

@jngrad

@jngrad jngrad commented Jul 2, 2026

Copy link
Copy Markdown
Member

No description provided.

@jngrad jngrad requested a review from pm-blanco July 2, 2026 15:21
@jngrad

jngrad commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

I gave the matrix options more generic names, so that we can later decide to write eessi_modules: ESPResSo/4.2.2-foss-2023b LAMMPS/29Aug2024-foss-2023b-kokkos to get both ESPResSo and LAMMPS in the same testsuite, or any other package that is too time-consuming to install via pip install. Alternatively, we could modify the job matrix with LAMMPS-only packages; that would be cleaner in my opinion, since pyMBE should be able to run with either engine even when the other engine is missing.


cmake_minimum_required(VERSION 3.22.1)
find_package(Python 3.8 REQUIRED COMPONENTS Interpreter NumPy)
find_package(Python 3.8 REQUIRED COMPONENTS Interpreter)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NumPy option was actually superfluous. It instructs CMake to search for NumPy header files, but those are not actually needed, since we are not compiling any source code. The presence of NumPy here can trigger a CMake runtime error on HPC clusters under unclear (and hard to reproduce) circumstances.

@pm-blanco

Copy link
Copy Markdown
Collaborator

LGTM

@pm-blanco pm-blanco merged commit d6a9d07 into pyMBE-dev:main Jul 2, 2026
4 checks passed
@jngrad jngrad deleted the runner_updates branch July 3, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants