Skip to content

Commit

Permalink
Try with mpi=1 and include macOS 14
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Nov 27, 2024
1 parent fa502ba commit ff412a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .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' || matrix.os == 'macos-15' # Linux or macOS-15 only
if: runner.os == 'Linux' || runner.os == 'macOS' # Linux or macOS only
# Status: Works on Unixes ("ncrystal missing for Windows")
run: |
set -e
Expand All @@ -257,7 +257,11 @@ jobs:
clang --version
mpirun --version
ncrystal-config --version
if [ "x$(uname)" == "xLinux" ]; then
export NUM_MPI=2
else
export NUM_MPI=1
fi
../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 ff412a6

Please sign in to comment.