Project

General

Profile

Feature #20900

Code improvement in CPU evaluation/detection

Added by Marco Mambelli about 1 year ago. Updated 2 months ago.

Status:
New
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 11 months ago

  • Target version changed from v3_5 to v3_5_1

#2 Updated by Marco Mambelli 2 months ago

  • Target version changed from v3_5_1 to v3_6_1


Also available in: Atom PDF