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