Ada, Turing : The cpt command

IDRIS has developed the cpt command for the purpose of monitoring the consumption of computing hours on the supercomputers. With this command, you can see the number of DARI hours currently attributed to your project as well as the number of hours consumed on the machine from which this command is executed. The information relative to the "bonus" hours is also indicated.

Comment : The information given by the cpt command is updated every 24 hours at about 6:30 a.m. Therefore, the hours consumed during the day are not reported until the following morning.

The following is an example of the cpt command output:

$ cpt
Derniere mise a jour le 07/06/2016 06:38
Comptabilite du projet 91605 sur turing. 

================================================================================
 DARI                                                 Heures attribuees : 50000
================================================================================

  Compte   Proprietaire                    Consommation Nb travaux Remboursement
  -------- ------------------------------ ------------- ---------- -------------
  login1   NOM1_Prenom1                         5723.88          9             -
  login2   NOM2_Prenom2                               -          -             -
  -------- ------------------------------ ------------- ---------- -------------
                                   Totaux       5723.88          9          0.00
                              Utilisation        11.45%           

================================================================================
 BONUS                                              Heures potentielles : 10000
================================================================================

  Compte   Proprietaire                    Consommation Nb travaux
  -------- ------------------------------ ------------- ----------
  login2   NOM2_Prenom2                         2064.41          3
  -------- ------------------------------ ------------- ----------
                                   Totaux       2064.41          3
                              Utilisation        20.64%           

Interpretation of the command output:

  1. The first line indicates the date (day/month/year) and time (hr:min) at which the information was updated:
    Derniere mise a jour le 07/06/2016 06:38
  2. The second line indicates the project number (example: 91605) and the hostname (example: Turing) :
    Comptabilite du projet 91605 sur turing.
  3. The next information given is relative to the DARI attribution :
    ================================================================================
     DARI                                                 Heures attribuees : 50000
    ================================================================================
    
      Compte   Proprietaire                    Consommation Nb travaux Remboursement
      -------- ------------------------------ ------------- ---------- -------------
      login1   NOM1_Prenom1                         5723.88          9             -
      login2   NOM2_Prenom2                               -          -             -
      -------- ------------------------------ ------------- ---------- -------------
                                       Totaux       5723.88          9          0.00
                                  Utilisation        11.45%           
    1. Indicates the number of hours attributed to the project (example: 50000h). Note that this value can change over time, in the event that project hours are recuperated or, on the contrary, if additional hours are attributed.
    2. Indicates the number of hours consumed and the number of jobs executed for each login of the project (in the example, only login1 has consumed hours),
    3. Indicates the total number of hours consumed by all logins of the project (example: 5723.88h) and the percentage of the attribution which this represents (example: 11.45%).
  4. Finally, there is information relative to the bonus hours :
    ================================================================================
     BONUS                                              Heures potentielles : 10000
    ================================================================================
    
      Compte   Proprietaire                    Consommation Nb travaux
      -------- ------------------------------ ------------- ----------
      login2   NOM2_Prenom2                         2064.41          3
      -------- ------------------------------ ------------- ----------
                                       Totaux       2064.41          3
                                  Utilisation        20.64%           
    1. Indicates the number of bonus hours of the project (example: 10000h). Note that this value can change over time as it represents 20% of the project's current DARI allocation.
    2. Indicates the number of bonus hours consumed and the number of bonus jobs executed for each project login which has consumed bonus hours.
    3. Indicates the total number of bonus hours consumed by all project logins (example: 2064.41h) and the percentage of the bonus attribution which this represents (example: 20.64%).

The cpt command has the following options:

  1. To obtain help about the command, use option -h: cpt -h
  2. To display only the DARI accounting of the project: cpt -a DARI
    Derniere mise a jour le 07/06/2016 06:38
    Comptabilite du projet 91605 sur turing.
    
    ================================================================================
     DARI                                                 Heures attribuees : 50000
    ================================================================================
    
      Compte   Proprietaire                    Consommation Nb travaux Remboursement
      -------- ------------------------------ ------------- ---------- -------------
      login1   NOM1_Prenom1                         5723.88          9             -
      login2   NOM2_Prenom2                               -          -             -
      -------- ------------------------------ ------------- ---------- -------------
                                       Totaux       5723.88          9          0.00
                                  Utilisation        11.45%           
  3. To display only the bonus accounting of the project: cpt -a BONUS
    Derniere mise a jour le 07/06/2016 06:38
    Comptabilite du projet 91605 sur turing.
    
    ================================================================================
     BONUS                                              Heures potentielles : 10000
    ================================================================================
    
      Compte   Proprietaire                    Consommation Nb travaux
      -------- ------------------------------ ------------- ----------
      login2   NOM2_Prenom2                         2064.41          3
      -------- ------------------------------ ------------- ----------
                                       Totaux       2064.41          3
                                  Utilisation        20.64%           
  4. To display a summary of the hours consumption: cpt -s
    Derniere mise a jour le 07/06/2016 06:38
    Comptabilite du projet 91605 sur turing.
    
    Compta.           Heures  Consommation  NbTravaux Remboursement Utilise
    ---------- ------------- ------------- ---------- ------------- -------
    DARI               50000       5723.88          9          0.00  11.45%
    BONUS              10000       2064.41          3             -  20.64%
  5. By default, the cpt command provides information concerning the machine on which you are connected. If the project has hours on both of the supercomputers, you can obtain information relative to the other supercomputer by using option -c. For example, from the Ada machine, the cpt -c turing command returns the hours consumed on Turing.