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 16, 2023
1 parent c9899d2 commit eedea46
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 @@ -22,7 +22,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 @@ -37,7 +37,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 @@ -26,7 +26,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 eedea46

Please sign in to comment.