Skip to content

Commit

Permalink
Check if macOS runs are more stable using just a single core in MPI r…
Browse files Browse the repository at this point in the history
…uns...
  • Loading branch information
willend committed Jan 18, 2024
1 parent 9326995 commit 3559fef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/mcstas-basictest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,12 @@ jobs:
clang --version
mpirun --version
ncrystal-config --version
../install_mcstas/bin/${MCRUN_EXECUTABLE} --mpi=2 NCrystal_example.instr sample_cfg="Y2O3_sg206_Yttrium_Oxide.ncmat\;density=0.6x"
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
id: nexus-test
Expand Down

0 comments on commit 3559fef

Please sign in to comment.