From 1b9e8d7eb510208f7884abff57f6d38823d673bb Mon Sep 17 00:00:00 2001 From: Derek Groen Date: Fri, 25 Aug 2023 10:05:21 +0200 Subject: [PATCH 1/2] Fix MPI runs in Pytest workflow #82 --- .github/workflows/Pytests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Pytests.yml b/.github/workflows/Pytests.yml index 745b0c66..0b09bbc5 100644 --- a/.github/workflows/Pytests.yml +++ b/.github/workflows/Pytests.yml @@ -91,8 +91,8 @@ jobs: export PYTHONPATH=/home/runner/work/flee/flee:$PYTHONPATH cd FabFlee/config_files/mali2012 - mpiexec -n 2 python3 run_par.py input_csv source_data 50 simsetting.yml - mpirun -n 2 python3 run_par.py input_csv source_data 50 simsetting.yml + mpiexec -n 2 python3 /home/runner/work/flee/runscripts/run_par.py input_csv source_data 50 simsetting.yml + mpirun -n 2 python3 /home/runner/work/flee/runscripts/run_par.py input_csv source_data 50 simsetting.yml cd ../../.. echo "PYTHONPATH = $PYTHONPATH" From 689f077aa3c13de9cb0d062db30a524f4de998b1 Mon Sep 17 00:00:00 2001 From: Derek Groen Date: Fri, 25 Aug 2023 10:12:04 +0200 Subject: [PATCH 2/2] bug fix #82 --- .github/workflows/Pytests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Pytests.yml b/.github/workflows/Pytests.yml index 0b09bbc5..62e6331f 100644 --- a/.github/workflows/Pytests.yml +++ b/.github/workflows/Pytests.yml @@ -91,8 +91,8 @@ jobs: export PYTHONPATH=/home/runner/work/flee/flee:$PYTHONPATH cd FabFlee/config_files/mali2012 - mpiexec -n 2 python3 /home/runner/work/flee/runscripts/run_par.py input_csv source_data 50 simsetting.yml - mpirun -n 2 python3 /home/runner/work/flee/runscripts/run_par.py input_csv source_data 50 simsetting.yml + mpiexec -n 2 python3 /home/runner/work/flee/flee/runscripts/run_par.py input_csv source_data 50 simsetting.yml + mpirun -n 2 python3 /home/runner/work/flee/flee/runscripts/run_par.py input_csv source_data 50 simsetting.yml cd ../../.. echo "PYTHONPATH = $PYTHONPATH"