Changeset 2480 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Sep 19, 2017 6:24:14 AM (7 years ago)
Author:
maronga
Message:

added support for specifying project account in PBS

Location:
palm/trunk/SCRIPTS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/.palm.config.crayh

    r2405 r2480  
    3535# BATCH-directives to be used for batch jobs. If $-characters are required, hide them with \\\
    3636BD:#!/bin/bash
     37BD:#PBS -A {{PROJECT_ACCOUNT}}
    3738BD:#PBS -N {{JOB_ID}}
    3839BD:#PBS -l walltime={{CPU_HOURS}}:{{CPU_MINUTES}}:{{CPU_SECONDS}}
     
    4445# BATCH-directives for batch jobs used to send back the jobfile from a remote to a local host
    4546BDT:#!/bin/bash
     47BDT:#PBS -A {{PROJECT_ACCOUNT}}
    4648BDT:#PBS -N job_protocol_transfer
    4749BDT:#PBS -l walltime=00:30:00
  • palm/trunk/SCRIPTS/palmrun

    r2479 r2480  
    2727# -----------------
    2828# $Id$
     29# bugfix for last revision
     30#
     31# 2479 2017-09-19 06:12:16Z raasch
    2932# option -A (project account number) added
    3033#
     
    12831286 if  [[ $running_in_batch_mode = true  ||  $create_batch_job = true  ||  $create_remote_batch_job = true ]]
    12841287 then
    1285     if [[ "$project_account" !="" ]]
     1288    if [[ "$project_account" != "" ]]
    12861289    then
    12871290       column1="project account number:"
  • palm/trunk/SCRIPTS/palmrungui.py

    r2477 r2480  
    2525# -----------------
    2626# $Id$
     27# option -A (project account number) added
     28#
     29# 2477 2017-09-18 08:42:29Z maronga
    2730# Renamed restart run appendix from "f" to "r". Bugfix for displaying restart runs.>
    2831# Revised list of recently submitted jobs
     
    597600        elif ( self.sender() == self.group_execution.findChild(QtGui.QLineEdit,"line_account")):
    598601            tmptext = self.group_execution.findChild(QtGui.QLineEdit,"line_account").text()
    599             self.change_commandline("u",tmptext)
     602            self.change_commandline("A",tmptext)
    600603       
    601604        elif ( self.sender() ==  self.group_execution.findChild(QtGui.QLineEdit,"line_pe")):
     
    882885                self.group_execution.findChild(QtGui.QLineEdit,"line_q").setText(options)
    883886             
    884             elif ( parameter == "u"):
     887            elif ( parameter == "A"):
    885888                self.group_execution.findChild(QtGui.QLineEdit,"line_account").setText(options)
    886889             
  • palm/trunk/SCRIPTS/palmrungui_files/mainwindow.ui

    r2477 r2480  
    503503       <property name="geometry">
    504504        <rect>
    505          <x>290</x>
     505         <x>340</x>
    506506         <y>30</y>
    507507         <width>81</width>
     
    519519       <property name="geometry">
    520520        <rect>
    521          <x>230</x>
     521         <x>260</x>
    522522         <y>25</y>
    523          <width>51</width>
     523         <width>71</width>
    524524         <height>21</height>
    525525        </rect>
     
    535535       <property name="geometry">
    536536        <rect>
    537          <x>80</x>
     537         <x>120</x>
    538538         <y>55</y>
    539539         <width>101</width>
     
    548548       <property name="geometry">
    549549        <rect>
    550          <x>40</x>
     550         <x>0</x>
    551551         <y>55</y>
    552          <width>31</width>
     552         <width>111</width>
    553553         <height>16</height>
    554554        </rect>
    555555       </property>
    556556       <property name="text">
    557         <string>PEs:</string>
     557        <string>Processing cores:</string>
    558558       </property>
    559559       <property name="alignment">
     
    564564       <property name="geometry">
    565565        <rect>
    566          <x>290</x>
     566         <x>340</x>
    567567         <y>55</y>
    568568         <width>61</width>
     
    577577       <property name="geometry">
    578578        <rect>
    579          <x>190</x>
     579         <x>230</x>
    580580         <y>50</y>
    581          <width>91</width>
     581         <width>101</width>
    582582         <height>21</height>
    583583        </rect>
    584584       </property>
    585585       <property name="text">
    586         <string>Tasks / node:</string>
     586        <string>Tasks per node:</string>
    587587       </property>
    588588       <property name="alignment">
     
    593593       <property name="geometry">
    594594        <rect>
    595          <x>290</x>
     595         <x>340</x>
    596596         <y>80</y>
    597597         <width>81</width>
     
    606606       <property name="geometry">
    607607        <rect>
    608          <x>220</x>
     608         <x>230</x>
    609609         <y>80</y>
    610          <width>61</width>
     610         <width>101</width>
    611611         <height>16</height>
    612612        </rect>
    613613       </property>
    614614       <property name="text">
    615         <string>Account:</string>
     615        <string>Project account:</string>
    616616       </property>
    617617       <property name="alignment">
     
    622622       <property name="geometry">
    623623        <rect>
    624          <x>0</x>
     624         <x>10</x>
    625625         <y>80</y>
    626          <width>71</width>
     626         <width>101</width>
    627627         <height>16</height>
    628628        </rect>
    629629       </property>
    630630       <property name="text">
    631         <string>CPU time:</string>
     631        <string>Wallclock time:</string>
    632632       </property>
    633633       <property name="alignment">
     
    638638       <property name="geometry">
    639639        <rect>
    640          <x>80</x>
     640         <x>120</x>
    641641         <y>80</y>
    642642         <width>101</width>
     
    651651       <property name="geometry">
    652652        <rect>
    653          <x>30</x>
    654          <y>35</y>
    655          <width>41</width>
     653         <x>20</x>
     654         <y>30</y>
     655         <width>91</width>
    656656         <height>16</height>
    657657        </rect>
    658658       </property>
    659659       <property name="text">
    660         <string>Host:</string>
     660        <string>Configuration:</string>
    661661       </property>
    662662       <property name="scaledContents">
     
    670670       <property name="geometry">
    671671        <rect>
    672          <x>80</x>
     672         <x>120</x>
    673673         <y>30</y>
    674674         <width>101</width>
     
    768768      </widget>
    769769     </widget>
    770      <zorder>group_job</zorder>
    771      <zorder>group_runcontrol</zorder>
    772      <zorder>group_execution</zorder>
    773      <zorder>groupBox</zorder>
    774770    </widget>
    775771    <widget class="QWidget" name="tab_2">
     
    13471343 <tabstops>
    13481344  <tabstop>pushButton</tabstop>
    1349   <tabstop>line_jobname</tabstop>
    1350   <tabstop>list_jobname</tabstop>
    13511345  <tabstop>drop_job</tabstop>
    13521346  <tabstop>line_host</tabstop>
    13531347  <tabstop>line_q</tabstop>
    1354   <tabstop>line_account</tabstop>
    13551348  <tabstop>line_pe</tabstop>
    13561349  <tabstop>line_tpn</tabstop>
    13571350  <tabstop>line_time</tabstop>
     1351  <tabstop>line_account</tabstop>
     1352  <tabstop>check_restarts</tabstop>
     1353  <tabstop>check_delete_tmp_files</tabstop>
     1354  <tabstop>check_verbose</tabstop>
     1355  <tabstop>check_cycfill</tabstop>
    13581356  <tabstop>check_ts</tabstop>
    13591357  <tabstop>check_pr</tabstop>
     
    13661364  <tabstop>check_prt</tabstop>
    13671365  <tabstop>check_pts</tabstop>
    1368   <tabstop>check_restarts</tabstop>
    1369   <tabstop>check_delete_tmp_files</tabstop>
    1370   <tabstop>check_verbose</tabstop>
    13711366  <tabstop>button_start</tabstop>
     1367  <tabstop>button_exit</tabstop>
    13721368  <tabstop>button_clear</tabstop>
     1369  <tabstop>commandline</tabstop>
     1370  <tabstop>list_jobname</tabstop>
     1371  <tabstop>line_jobname</tabstop>
    13731372  <tabstop>check_b</tabstop>
    13741373  <tabstop>check_F</tabstop>
     
    13771376  <tabstop>check_O</tabstop>
    13781377  <tabstop>check_x</tabstop>
     1378  <tabstop>check_Z</tabstop>
    13791379  <tabstop>line_m</tabstop>
    13801380  <tabstop>line_M</tabstop>
     
    13831383  <tabstop>line_w</tabstop>
    13841384  <tabstop>line_user</tabstop>
    1385   <tabstop>commandline</tabstop>
    1386   <tabstop>button_exit</tabstop>
     1385  <tabstop>line_PE_atmos</tabstop>
     1386  <tabstop>line_PE_ocean</tabstop>
    13871387 </tabstops>
    13881388 <resources/>
Note: See TracChangeset for help on using the changeset viewer.