Skip to content

Commit

Permalink
macOS-15 only mpi x 2
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Nov 27, 2024
1 parent ee141ba commit 96f0927
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/mcstas-basictest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ jobs:
- name: Launch NCrystal test instrument (mpi)
id: ncrystal-test-mpi
if: runner.os == 'Linux' || runner.os == 'macOS' # Linux or macOS only
if: runner.os == 'Linux' || matrix.os == 'macos-15' # Linux or macOS-15 only
# Status: Works on Unixes ("ncrystal missing for Windows")
run: |
set -e
Expand All @@ -257,11 +257,7 @@ jobs:
clang --version
mpirun --version
ncrystal-config --version
if [ "x$(uname)" == "xLinux" ]; then
export NUM_MPI=2
else
export NUM_MPI=1
fi
export NUM_MPI=2
../install_mcstas/bin/${MCRUN_EXECUTABLE} --mpi=${NUM_MPI} NCrystal_example.instr sample_cfg="Y2O3_sg206_Yttrium_Oxide.ncmat\;density=0.6x"
- name: Launch NeXus test instrument
Expand Down

0 comments on commit 96f0927

Please sign in to comment.