Project

General

Profile

Feature #20900

Code improvement in CPU evaluation/detection

Added by Marco Mambelli about 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
09/20/2018
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

Check if GLIDEIN_CPUS in glidien_config is always numeric or can have auto/node/slot
Improve smart_partitionable.sh to deal with it.
It contains many expressions that could be changed to use numerical comparisons like:

  if [ "$num_cpus" == "1" ]; then
    elif [[ "X$RES_SLOT" = "Xmain" && "$num_cpus" > "1" ]]; then

History

#1 Updated by Marco Mambelli about 1 year ago

  • Target version changed from v3_5 to v3_5_1

#2 Updated by Marco Mambelli 4 months ago

  • Target version changed from v3_5_1 to v3_6_1

#3 Updated by Marco Mambelli about 1 month ago

  • Assignee changed from Marco Mambelli to Lorena Lobato Pardavila
  • Status changed from New to Feedback

Changes in v36/20900

#4 Updated by Lorena Lobato Pardavila about 1 month ago

  • Assignee changed from Lorena Lobato Pardavila to Marco Mambelli
  • Status changed from Feedback to Accepted

Looks OK to me. You can merge

#5 Updated by Marco Mambelli about 1 month ago

  • Status changed from Accepted to Resolved


Also available in: Atom PDF