1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753
|
#ifndef __SGE_JOBL_H
#define __SGE_JOBL_H
/*___INFO__MARK_BEGIN__*/
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* the Sun Industry Standards Source License Version 1.2
*
* Sun Microsystems Inc., March, 2001
*
*
* Sun Industry Standards Source License Version 1.2
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.2 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
*
* Copyright: 2001 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
************************************************************************/
/*___INFO__MARK_END__*/
#include "cull/cull.h"
#include "sgeobj/sge_boundaries.h"
#ifdef __cplusplus
extern "C" {
#endif
/****** sgeobj/job/--JB_Type **************************************************
* NAME
* JB_Type - CULL job element
*
* ELEMENTS
* Job identification and dependencies
* ===================================
*
* SGE_ULONG(JB_job_number) ---> JB_id
* Unique job number.
*
* SGE_STRING(JB_job_name)
* Job name ("qsub/qalter -N job_name")
*
* SGE_ULONG(JB_version)
* The number of times the job has been modified.
*
* SGE_LIST(JB_jid_request_list)
* job requested dependencies (JRE_Type only JRE_job_name)
*
* SGE_LIST(JB_jid_predecessor_list)
* Predecessor jobs (JRE_Type only JRE_job_name)
*
* SGE_LIST(JB_jid_successor_list)
* Successor jobs (JRE_Type only JRE_job_number)
*
* SGE_LIST(JB_ja_ad_request_list)
* job requested array dependencies (JRE_Type only JRE_job_name)
*
* SGE_LIST(JB_ja_ad_predecessor_list)
* Predecessor array jobs (JRE_Type only JRE_job_name)
*
* SGE_LIST(JB_ja_ad_successor_list)
* Successor array jobs (JRE_Type only JRE_job_number)
*
* SGE_STRING(JB_session)
* Job's session (JAPI session tag for job event selection)
*
* Project/Department
* ==================
*
* SGE_STRING(JB_project)
* Project name (qsub -P project_name)
*
* SGE_STRING(JB_department)
* Department name. Set by scheduler.
*
* Data related to job script
* ===========================
*
* SGE_STRING(JB_directive_prefix)
* Command prefix for jobscript ("qsub -C prefix") for parsing
* special comments in the script file.
*
* SGE_STRING(JB_exec_file)
* ---> The path to the locally spooled copy on the execution daemon,
* It is script what actually gets executed,
* In the case of a binary, is unused.
*
* SGE_STRING(JB_script_file)
* ---> The path to the job as sent from the CLI, is the path on the submit host
* In the case of a binary, is the path to the binary
*
* SGE_ULONG(JB_script_size)
* ---> really needed?
*
* SGE_STRING(JB_script_ptr)
* ---> the pointer to the character area of the job script
*
* Time information
* ================
*
* SGE_RULONG(JB_submission_time)
*
* SGE_ULONG(JB_execution_time)
* When should the job start ("qsub/qalter -a date_time")
*
* SGE_ULONG(JB_deadline)
* Deadline initiation time. (qsub -dl date_time)
*
* User related information
* ========================
*
* SGE_RSTRING(JB_owner) ---> rename to JB_user to be consistent?
*
* SGE_RULONG(JB_uid)
*
* SGE_RSTRING(JB_group)
*
* SGE_RULONG(JB_gid)
*
* SGE_STRING(JB_account)
* Account string ("qsub/qalter -A account string")
*
* Submission environment
* ======================
*
* SGE_STRING(JB_cwd)
* Current working directory during qsub ("qsub -cwd")
*
* SGE_BOOL(JB_notify)
* Notify job of impending kill/stop signal. ("qsub -notify")
*
* SGE_ULONG(JB_type)
* Start job immediately or not at all. ("qsub -now")
* JG: TODO: it is no boolean, but misused for other information!
*
* SGE_BOOL(JB_reserve)
* Specifies a reservation is desired by the user ("-R y|n").
* Available for non-immediate job submissions. Irrespective
* of the users desire a job reservation is made
*
* o only in reservation scheduling mode
* o only when the maximum number of reservations during a
* scheduling run is greater than the position of the job in
* priority order. The maximum number (SC_max_reservation) can be
* specified in sched_conf(5).
* o only for non-immediate jobs
*
* Default is 'n'.
*
* SGE_ULONG(JB_ar) ---> JB_ar
* Unique advance reservation number.
*
* SGE_ULONG(JB_priority)
* Priority ("qsub/qalter -p priority")
*
* SGE_ULONG(JB_jobshare)
* Priority ("qsub/qalter -js jobshare")
*
* SGE_LIST(JB_shell_list, PN_Type)
* Command interpreter to be used (PN_Type).
* ("qsub/qalter -S shell")
*
* SGE_ULONG(JB_verify)
* Triggers "verify" messages. (qsub -verify)
*
* SGE_LIST(JB_env_list)
* Export these environment variables (VA_Type). ("qsub -V").
*
* SGE_TLIST(JB_context, VA_Type)
* Custom attributes (name,val) pairs (VA_Type).
* ("qsub/qalter -ac/-dc context_list")
*
* SGE_LIST(JB_job_args)
* Job arguments (ST_Type).
*
* SGE_LIST(JB_binding)
* Binding strategy for execution host (and later scheduler)
*
* Checkpointing/Restart
* =====================
* SGE_ULONG(JB_checkpoint_attr) ----> merge all checkpointing
* stuff to one object?
* Checkpoint attributes ("qsub/qalter -c interval_flags")
*
* SGE_STRING(JB_checkpoint_name)
* Name of checkpoint object ("qsub/qalter -ckpt ckpt_name")
*
* SGE_OBJECT(JB_checkpoint_object, CK_Type)
* Checkpoint object which will be sent from qmaster to execd.
*
* SGE_ULONG(JB_checkpoint_interval)
* Checkpoint frequency ("qsub/qalter -c seconds")
*
* SGE_ULONG(JB_restart)
* Is job rerunable? ("qsub/qalter -r y/n")
* JG: TODO: it is no boolean, but misused for other information!
*
* Job I/O
* =======
*
* SGE_LIST(JB_stdout_path_list)
* Pathname for stdout (PN_Type). ("qsub/qalter -o path_name")
*
* SGE_LIST(JB_stderr_path_list)
* Standard error path streams (PN_Type). ("qsub/qalter "-e path_name")
*
* SGE_LIST(JB_stdin_path_list)
* Standard input path streams (PN_Type). ("qsub/qalter "-i path_name")
*
* SGE_BOOL(JB_merge_stderr)
* Merge stdout and stderr? ("qsub/qalter -j y|n")
*
* Resource requests
* =================
*
* SGE_LIST(JB_hard_resource_list, CE_Type)
* Hard resource requirements/limits/restrictions (CE_Type).
* ("qsub -l resource_list")
*
* SGE_LIST(JB_soft_resource_list, CE_Type)
* Soft resource requirements/limits/restrictions (CE_Type).
* ("qsub -l resource_list")
*
* SGE_LIST(JB_hard_queue_list)
* ----> why separated from other requests?
* Hard queue list (QR_Type). ("qsub -q dest_identifier")
*
* SGE_LIST(JB_soft_queue_list)
* ----> why separated from other requests?
* Soft queue list (QR_Type). ("qsub/qselect -q dest_identifier")
*
* Mail options
* ============
*
* SGE_ULONG(JB_mail_options)
* Mail options ("qsub/qalter -m mail_options")
*
* SGE_LIST(JB_mail_list)
* Mail recipients (MR_Type). ("qsub/qalter -M mail_list)
*
* Parallel Job info
* =================
*
* SGE_STRING(JB_pe)
* Name of requested PE or wildcard expression for matching PEs
*
* SGE_LIST(JB_pe_range)
* PE slot range (RN_Type). Qmaster ensures it is ascending and
* normalized.
*
* SGE_LIST(JB_master_hard_queue_list)
* Master queue list (QR_Type). ("qsub -masterq queue_list")
*
* Security related data
* =====================
*
* SGE_STRING(JB_tgt)
* Kerberos client TGT
*
* SGE_STRING(JB_cred)
* DCE/Kerberos credentials
*
* Data related to array jobs
* ==========================
*
* SGE_LIST(JB_ja_structure)
* Elements describing task id range structure during the
* submission time of a (array) job (RN_Type).
* ("qsub -t tid_range")
*
* SGE_LIST(JB_ja_n_h_ids)
* Just submitted array task without hold state (RN_Type).
* ("qsub -t tid_range")
*
* SGE_LIST(JB_ja_u_h_ids)
* Just submitted and user hold applied (RN_Type).
* ("qsub -h -t tid_range")
* ("qalter -h u/U jid.tid1-tid2:step")
*
* SGE_LIST(JB_ja_s_h_ids)
* Just submitted and system hold applied (RN_Type).
* ("qalter -h s/S jid.tid1-tid2:step")
*
* SGE_LIST(JB_ja_o_h_ids)
* Just submitted and operator hold applied (RN_Type).
* ("qalter -h o/O jid.tid1-tid2:step")
*
* SGE_LIST(JB_ja_a_h_ids)
* Just submitted and array hold applied (RN_Type).
* ("qalter -hold_jid_ad wc_job_list")
*
* SGE_LIST(JB_ja_z_ids)
* Zombie task ids (RN_Type).
*
* SGE_LIST(JB_ja_template)
* Template for new tasks. The schedd thread
* stores initial tickets in this element. (JAT_Type)
*
* SGE_LIST(JB_ja_tasks)
* List of array tasks (in case of array jobs) or one task
* (in case of a job) (JAT_Type).
*
* Data used only in scheduler
* ===========================
*
* SGE_HOST(JB_host)
* Host job is executing on. Local to scheduler.
* Not spooled.
*
* SGE_REF(JB_category)
* Category string reference used in scheduler.
*
* Misc
* ====
*
* SGE_LIST(JB_user_list)
* List of usernames (qsub/qalter -u username_list).
* ---> qsub -u does not exist. Not part of a job, but only
* userd for qalter request as where condition. Could most
* probably be passed via lCondition.
*
* SGE_LIST(JB_job_identifier_list)
* ---> condition for qalter? Then it should better be passed
* via condition.
* (ID_Type)
*
* SGE_ULONG(JB_verify_suitable_queues) ---> qalter?
*
* SGE_ULONG(JB_soft_wallclock_gmt)
* Time at which the job's s_rt expires.
*
* SGE_ULONG(JB_hard_wallclock_gmt)
* Time at which the job's h_rt expires.
*
* SGE_DOUBLE(JB_urg )
* Absolute static urgency importance. The admin can use arbitrary
* weighting factors in the formula used to determine this number. So any
* value is possible. Needed only when scheduling code is run.
* Not spooled.
*
* SGE_DOUBLE(JB_nurg )
* Relative importance due to static urgency in the range between 0.0
* and 1.0. No need to make this a per task attribute as long as waiting time
* and deadline remain job attributes.
* Not spooled.
*
* SGE_DOUBLE(JB_nppri )
* Relative importance due to Posix priority in the range between 0.0
* and 1.0. No need to make this a per task attribute as long as the POSIX
* priority remains a job attribute.
* Not spooled.
*
* SGE_DOUBLE(JB_rrcontr )
* Combined contribution to static urgency from all resources. This can
* be any value. Actually this is a property of job category. This field is
* needed only to provide it for diagnosis purposes it as per job information
* via GDI.
* Not spooled.
*
* SGE_DOUBLE(JB_dlcontr )
* Contribution to static urgency from job deadline. This can be any
* value. No need to make this a per task attribute as long a deadline is a
* job attribute. Increases over time.
* Not spooled.
*
* SGE_DOUBLE(JB_wtcontr )
* Contribution to static urgency from waiting time. This can be any
* value. No need to make this a per task attribute as long as waiting time
* is a job attribute. Increases over time.
* Not spooled.
*
* SGE_ULONG(JB_override_tickets)
* - override tickets assigned by admin.
* (qalter -ot tickets).
*
* SGE_LIST(JB_qs_args) ---> qsi?
* Arguments for foreign queuing system (ST_Type).
* Either delete it, or recycle it to be used with starter_method.
*
* SGE_LIST(JB_path_aliases)
* Path aliases list (PA_Type).
*
* SGE_ULONG(JB_pty)
* Interactive job should be started in a pty. 0=no, 1=yes, 2=use default.
*
* SGE_ULONG(JB_ja_task_concurrency)
* The number of concurrent array tasks executing at any given time.
*
*
* FUNCTION
* JB_Type elements only make sense in conjunction with JAT_Type
* elements. One element of each type is necessary to hold all
* data for the execution of one job. One JB_Type element and
* x JAT_Type elements are needed to execute an array job with
* x tasks.
*
* ----------- 1:x ------------
* | JB_Type |<---------------->| JAT_Type |
* ----------- ------------
*
* The relation between these two elements is defined in the
* 'JB_ja_tasks' sublist of a 'JB_Type' element. This list will
* contain all belonging JAT_Type elements.
*
* The 'JAT_Type' CULL element contains all attributes in which
* one array task may differ from another array task of the
* same array job. The 'JB_Type' element defines all attributes
* which are equivalent for all tasks of an array job.
* A job and an array job with one task are equivalent
* concerning their data structures. Both consist of one 'JB_Type'
* and one 'JAT_Type' element.
*
* SEE ALSO
* gdi/job/--JAT_Type
******************************************************************************/
enum {
JB_job_number = JB_LOWERBOUND,
JB_job_name,
JB_version,
JB_jid_request_list,
JB_jid_predecessor_list,
JB_jid_successor_list,
JB_ja_ad_request_list,
JB_ja_ad_predecessor_list,
JB_ja_ad_successor_list,
JB_session,
JB_project,
JB_department,
JB_directive_prefix,
JB_exec_file,
JB_script_file,
JB_script_size,
JB_script_ptr,
JB_submission_time,
JB_execution_time,
JB_deadline,
JB_owner,
JB_uid,
JB_group,
JB_gid,
JB_account,
JB_cwd,
JB_notify,
JB_type,
JB_reserve,
JB_priority,
JB_jobshare,
JB_shell_list,
JB_verify,
JB_env_list,
JB_context,
JB_job_args,
JB_checkpoint_attr,
JB_checkpoint_name,
JB_checkpoint_object,
JB_checkpoint_interval,
JB_restart,
JB_stdout_path_list,
JB_stderr_path_list,
JB_stdin_path_list,
JB_merge_stderr,
JB_hard_resource_list,
JB_soft_resource_list,
JB_hard_queue_list,
JB_soft_queue_list,
JB_mail_options,
JB_mail_list,
JB_pe,
JB_pe_range,
JB_master_hard_queue_list,
JB_tgt,
JB_cred,
JB_ja_structure,
JB_ja_n_h_ids,
JB_ja_u_h_ids,
JB_ja_s_h_ids,
JB_ja_o_h_ids,
JB_ja_a_h_ids,
JB_ja_z_ids,
JB_ja_template,
JB_ja_tasks,
JB_host,
JB_category,
JB_user_list,
JB_job_identifier_list,
JB_verify_suitable_queues,
JB_soft_wallclock_gmt,
JB_hard_wallclock_gmt,
JB_override_tickets,
JB_qs_args,
JB_path_aliases,
JB_urg,
JB_nurg,
JB_nppri,
JB_rrcontr,
JB_dlcontr,
JB_wtcontr,
JB_ar,
JB_pty,
JB_ja_task_concurrency,
JB_binding
};
/*
* IF YOU CHANGE SOMETHING HERE THEN CHANGE ALSO THE ADOC COMMENT ABOVE
*/
LISTDEF(JB_Type)
JGDI_ROOT_OBJ(Job, SGE_JB_LIST, ADD | MODIFY| DELETE | GET | GET_LIST)
JGDI_EVENT_OBJ(ADD(sgeE_JOB_ADD) | MODIFY(sgeE_JOB_MOD) | DELETE(sgeE_JOB_DEL) | GET_LIST(sgeE_JOB_LIST))
SGE_ULONG(JB_job_number, CULL_PRIMARY_KEY | CULL_HASH | CULL_SPOOL)
SGE_STRING(JB_job_name, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_version, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_LIST(JB_jid_request_list, JRE_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_jid_predecessor_list, JRE_Type, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_LIST(JB_jid_successor_list, JRE_Type, CULL_DEFAULT | CULL_JGDI_RO)
SGE_LIST(JB_ja_ad_request_list, JRE_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_ja_ad_predecessor_list, JRE_Type, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_LIST(JB_ja_ad_successor_list, JRE_Type, CULL_DEFAULT | CULL_JGDI_RO)
SGE_STRING(JB_session, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_project, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_department, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_directive_prefix, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_exec_file, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_script_file, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_script_size, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_script_ptr, CULL_DEFAULT)
SGE_ULONG(JB_submission_time, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_ULONG(JB_execution_time, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_deadline, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_owner, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_ULONG(JB_uid, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_STRING(JB_group, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_ULONG(JB_gid, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_STRING(JB_account, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_cwd, CULL_DEFAULT | CULL_SPOOL)
SGE_BOOL(JB_notify, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_type, CULL_DEFAULT | CULL_SPOOL)
SGE_BOOL(JB_reserve, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_priority, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_jobshare, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_shell_list, PN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_verify, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_MAP(JB_env_list, VA_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_MAP(JB_context, VA_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_job_args, ST_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_checkpoint_attr, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_STRING(JB_checkpoint_name, CULL_DEFAULT | CULL_SPOOL)
SGE_OBJECT(JB_checkpoint_object, CK_Type, CULL_DEFAULT | CULL_JGDI_RO)
SGE_ULONG(JB_checkpoint_interval, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_RO)
SGE_ULONG(JB_restart, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_stdout_path_list, PN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_stderr_path_list, PN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_stdin_path_list, PN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_BOOL(JB_merge_stderr, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_hard_resource_list, CE_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_soft_resource_list, CE_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_hard_queue_list, QR_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_soft_queue_list, QR_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_mail_options, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_mail_list, MR_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_pe, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_pe_range, RN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_master_hard_queue_list, QR_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_STRING(JB_tgt, CULL_DEFAULT)
SGE_STRING(JB_cred, CULL_DEFAULT)
SGE_LIST(JB_ja_structure, RN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_ja_n_h_ids, RN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_ja_u_h_ids, RN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_ja_s_h_ids, RN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_ja_o_h_ids, RN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_ja_a_h_ids, RN_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_ja_z_ids, RN_Type, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_HIDDEN)
SGE_LIST(JB_ja_template, JAT_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_ja_tasks, JAT_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_HOST(JB_host, CULL_DEFAULT | CULL_JGDI_RO)
SGE_REF(JB_category, CT_Type, CULL_DEFAULT)
SGE_LIST(JB_user_list, ST_Type, CULL_DEFAULT)
SGE_LIST(JB_job_identifier_list, ID_Type, CULL_DEFAULT | CULL_JGDI_HIDDEN)
SGE_ULONG(JB_verify_suitable_queues, CULL_DEFAULT)
SGE_ULONG(JB_soft_wallclock_gmt, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_HIDDEN)
SGE_ULONG(JB_hard_wallclock_gmt, CULL_DEFAULT | CULL_SPOOL | CULL_JGDI_HIDDEN)
SGE_ULONG(JB_override_tickets, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_qs_args, ST_Type, CULL_DEFAULT | CULL_JGDI_HIDDEN)
SGE_LIST(JB_path_aliases, PA_Type, CULL_DEFAULT | CULL_SPOOL)
SGE_DOUBLE(JB_urg, CULL_DEFAULT)
SGE_DOUBLE(JB_nurg, CULL_DEFAULT | CULL_JGDI_RO)
SGE_DOUBLE(JB_nppri, CULL_DEFAULT | CULL_JGDI_RO)
SGE_DOUBLE(JB_rrcontr, CULL_DEFAULT | CULL_JGDI_RO)
SGE_DOUBLE(JB_dlcontr, CULL_DEFAULT | CULL_JGDI_RO)
SGE_DOUBLE(JB_wtcontr, CULL_DEFAULT | CULL_JGDI_RO)
SGE_ULONG(JB_ar, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_pty, CULL_DEFAULT | CULL_SPOOL)
SGE_ULONG(JB_ja_task_concurrency, CULL_DEFAULT | CULL_SPOOL)
SGE_LIST(JB_binding, BN_Type, CULL_DEFAULT | CULL_SPOOL)
/*
* IF YOU ADD SOMETHING HERE THEN CHANGE ALSO THE ADOC COMMENT ABOVE
*/
LISTEND
NAMEDEF(JBN)
NAME("JB_job_number")
NAME("JB_job_name")
NAME("JB_version")
NAME("JB_jid_request_list")
NAME("JB_jid_predecessor_list")
NAME("JB_jid_successor_list")
NAME("JB_ja_ad_request_list")
NAME("JB_ja_ad_predecessor_list")
NAME("JB_ja_ad_successor_list")
NAME("JB_session")
NAME("JB_project")
NAME("JB_department")
NAME("JB_directive_prefix")
NAME("JB_exec_file")
NAME("JB_script_file")
NAME("JB_script_size")
NAME("JB_script_ptr")
NAME("JB_submission_time")
NAME("JB_execution_time")
NAME("JB_deadline")
NAME("JB_owner")
NAME("JB_uid")
NAME("JB_group")
NAME("JB_gid")
NAME("JB_account")
NAME("JB_cwd")
NAME("JB_notify")
NAME("JB_type")
NAME("JB_reserve")
NAME("JB_priority")
NAME("JB_jobshare")
NAME("JB_shell_list")
NAME("JB_verify")
NAME("JB_env_list")
NAME("JB_context")
NAME("JB_job_args")
NAME("JB_checkpoint_attr")
NAME("JB_checkpoint_name")
NAME("JB_checkpoint_object")
NAME("JB_checkpoint_interval")
NAME("JB_restart")
NAME("JB_stdout_path_list")
NAME("JB_stderr_path_list")
NAME("JB_stdin_path_list")
NAME("JB_merge_stderr")
NAME("JB_hard_resource_list")
NAME("JB_soft_resource_list")
NAME("JB_hard_queue_list")
NAME("JB_soft_queue_list")
NAME("JB_mail_options")
NAME("JB_mail_list")
NAME("JB_pe")
NAME("JB_pe_range")
NAME("JB_master_hard_queue_list")
NAME("JB_tgt")
NAME("JB_cred")
NAME("JB_ja_structure")
NAME("JB_ja_n_h_ids")
NAME("JB_ja_u_h_ids")
NAME("JB_ja_s_h_ids")
NAME("JB_ja_o_h_ids")
NAME("JB_ja_a_h_ids")
NAME("JB_ja_z_ids")
NAME("JB_ja_template")
NAME("JB_ja_tasks")
NAME("JB_host")
NAME("JB_category")
NAME("JB_user_list")
NAME("JB_job_identifier_list")
NAME("JB_verify_suitable_queues")
NAME("JB_soft_wallclock_gmt")
NAME("JB_hard_wallclock_gmt")
NAME("JB_override_tickets")
NAME("JB_qs_args")
NAME("JB_path_aliases")
NAME("JB_urg")
NAME("JB_nurg")
NAME("JB_nppri")
NAME("JB_rrcontr")
NAME("JB_dlcontr")
NAME("JB_wtcontr")
NAME("JB_ar")
NAME("JB_pty")
NAME("JB_ja_task_concurrency")
NAME("JB_binding")
NAMEEND
#define JBS sizeof(JBN)/sizeof(char*)
/* *INDENT-ON* */
#ifdef __cplusplus
}
#endif
#endif /* __SGE_JOBL_H */
|