From 0b0dc39b394cfa1c75c9c81204ddddebf07a42a0 Mon Sep 17 00:00:00 2001 From: edoapra Date: Sun, 26 Feb 2023 19:19:14 -0800 Subject: [PATCH] tweak nprocs [ci skip] --- contrib/git.nwchem/github_actions_selfhosted.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/git.nwchem/github_actions_selfhosted.txt b/contrib/git.nwchem/github_actions_selfhosted.txt index e3537a3525..4199cc5a2a 100644 --- a/contrib/git.nwchem/github_actions_selfhosted.txt +++ b/contrib/git.nwchem/github_actions_selfhosted.txt @@ -164,8 +164,11 @@ jobs: export TRAVIS_BUILD_DIR=`pwd` unset USE_SIMINT mytee=tee + dist=$(grep ID= /etc/os-release |grep -v VERSION|head -1 |cut -c4-| sed 's/\"//g') + nprocs=3 + if [[ $dist == "fedora" ]]; then nprocs=2; fi if [[ `uname -s` == "Darwin" ]]; then mytee=gtee; fi - source travis/nwchem.bashrc; cd QA && ./doqmtests.mpi 3 | $mytee >(ts "%d%b%Y %H:%M:%S" > ../../../../doqmtests.mpi.log.` date +%b%d%Y_%H:%M`) + source travis/nwchem.bashrc; cd QA && ./doqmtests.mpi $nprocs | $mytee >(ts "%d%b%Y %H:%M:%S" > ../../../../doqmtests.mpi.log.` date +%b%d%Y_%H:%M`) shell: bash - name: Check if QA testing has failed if: ${{ failure() }} && steps.qa_test.outcome == 'failure'