Changeset 41 for trunk/gridctl.php


Ignore:
Timestamp:
May 10, 2019, 1:45:46 PM (6 years ago)
Author:
gegorbet
Message:

gridctl mods for uslims.uleth.ca demeler3 cluster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gridctl.php

    r40 r41  
    55//include "$us3bin/cleanup_aira.php";
    66//include "$us3bin/cleanup_gfac.php";
     7//include "$us3bin/cleanup.php";
     8
    79
    810// Global variables
     
    841843
    842844   $is_jetstr = preg_match( "/jetstream/", $cluster );
     845   $is_demeler3 = preg_match( "/demeler3/", $cluster );
     846
    843847   if ( $is_jetstr )
    844848      $cmd    = "squeue -j $gfacID 2>&1|tail -n 1";
     
    855859         $system = "$cluster";
    856860      $system = preg_replace( "/\-local/", "", $system );
     861
     862      if ( $is_demeler3 )
     863      {
     864        $system = "demeler3.uleth.ca";
     865      }
     866     
    857867      $cmd    = "/usr/bin/ssh -x us3@$system " . $cmd;
    858868//write_log( "$self  cmd: $cmd" );
     
    9931003   $headers  = "From: $org_name Admin<$admin_email>"     . "\n";
    9941004   $headers .= "Cc: $org_name Admin<$admin_email>"       . "\n";
     1005   $headers .= "Cc: $org_name Admin<alexsav.science@gmail.com>"       . "\n";
    9951006   $headers .= "Bcc: Gary Gorbet<gegorbet@gmail.com>"    . "\n";     // make sure
     1007
    9961008
    9971009   // Set the reply address
Note: See TracChangeset for help on using the changeset viewer.