From ed86a5d9595127fbbc9e7e3c99c31539a168371d Mon Sep 17 00:00:00 2001 From: Erik B Knudsen Date: Fri, 24 Nov 2023 16:05:53 +0100 Subject: [PATCH] CPU is not always reliable --- Ubuntu_22.04/dagmc-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ubuntu_22.04/dagmc-install.sh b/Ubuntu_22.04/dagmc-install.sh index 552578a..c9a605e 100755 --- a/Ubuntu_22.04/dagmc-install.sh +++ b/Ubuntu_22.04/dagmc-install.sh @@ -27,7 +27,7 @@ if [ ! -e ${name}.done ]; then sudo apt-get install --yes python3 #Should we run make in parallel? Default is to use all available cores - ccores=`cat /proc/cpuinfo |grep CPU|wc -l` + ccores=`cat /proc/cpuinfo |grep processor|wc -l` if [ "x$1" != "x" ]; then ccores=$1 fi