From 16cebf3d8563a9ec3895449a232bde9c58a246ce Mon Sep 17 00:00:00 2001 From: edoapra Date: Mon, 27 Feb 2023 11:35:35 -0800 Subject: [PATCH] fix [ci skip] --- contrib/git.nwchem/github_actions_selfhosted.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/git.nwchem/github_actions_selfhosted.txt b/contrib/git.nwchem/github_actions_selfhosted.txt index 14fb72e5e9..525565eb61 100644 --- a/contrib/git.nwchem/github_actions_selfhosted.txt +++ b/contrib/git.nwchem/github_actions_selfhosted.txt @@ -164,10 +164,10 @@ 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 + if [[ `uname -s` == "Darwin" ]]; then mytee=gtee; dist=Darwin; fi + if test -f "/usr/lib/os-release"; then dist=$(grep ID= /etc/os-release |grep -v VERSION|head -1 |cut -c4-| sed 's/\"//g') ; fi + if [[ $dist == "fedora" ]]; then nprocs=2; else nprocs=3 ;fi + echo nprocs is $nprocs 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