Skip to content

Commit

Permalink
CUP may not be reliably present in /proc/cpuinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
ebknudsen committed Nov 24, 2023
1 parent 62a6e06 commit 82809c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Ubuntu_22.04/double_down-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [ ! -e ${name}.done ]; then
libembree3-3 libembree-dev

#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
Expand Down
2 changes: 1 addition & 1 deletion Ubuntu_22.04/moab-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [ ! -e ${name}.done ]; then
python3-setuptools\
cython3
#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
Expand Down
2 changes: 1 addition & 1 deletion Ubuntu_22.04/openmc-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ ! -e ${name}.done ]; then
python3-uncertainties

#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
Expand Down

0 comments on commit 82809c5

Please sign in to comment.