glite/jdl/jdl_attributes.h

Go to the documentation of this file.
00001 /*
00002 Copyright (c) Members of the EGEE Collaboration. 2004.
00003 See http://www.eu-egee.org/partners/ for details on the
00004 copyright holders.
00005 
00006 Licensed under the Apache License, Version 2.0 (the "License");
00007 you may not use this file except in compliance with the License.
00008 You may obtain a copy of the License at
00009 
00010     http://www.apache.org/licenses/LICENSE-2.0
00011 
00012 Unless required by applicable law or agreed to in writing, software
00013 distributed under the License is distributed on an "AS IS" BASIS,
00014 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
00015 either express or implied.
00016 See the License for the specific language governing permissions and
00017 limitations under the License.
00018 */
00019 
00020 #ifndef  __JSUIJDLATTRIBUTES_H__
00021 #define __JSUIJDLATTRIBUTES_H__
00022 
00023 namespace glite {
00024 namespace jdl {
00025 
00026 // TBD these attributes have to be moved into a private section of JDLAttributes.def
00027 #define JDL_TYPE_JOB "job"
00028 #define JDL_TYPE_DAG "dag"
00029 #define JDL_TYPE_COLLECTION "collection"
00030 // #define JDL_SUBMIT_TO           "SubmitTo"
00031 
00032 #define JDL_JOBTYPE_MPICH          "mpich"
00033 #define JDL_JOBTYPE_NORMAL         "normal"
00034 #define JDL_JOBTYPE_PARTITIONABLE  "partitionable"
00035 #define JDL_JOBTYPE_PARAMETRIC     "parametric"
00036 #define JDL_JOBTYPE_CHECKPOINTABLE "checkpointable"
00037 #define JDL_JOBTYPE_INTERACTIVE    "interactive"
00038 
00039 // Checkpointable JobType values: //TBD where to put them
00040 #define JDL_CHKPT_JOBSTATE    "JobState"
00041 #define JDL_CHKPT_DATA        "UserData"
00042 #define JDL_CHKPT_STATEID     "StateId"
00043 #define JDL_CHKPT_STEPS       "JobSteps"
00044 #define JDL_CHKPT_CURRENTSTEP "CurrentStep"
00045 
00046 // DagAd attribute names and values://TBD where to put them
00047 #define JDL_TYPE_DAGAD       "DagAd"
00048 #define JDL_DEPENDENCIES     "Dependencies"
00049 #define JDL_HLR_LOCATION_ENV "HLR_LOCATION"
00050 
00051 //Interactive Jobtype environment variables:
00052 #define JDL_INTERACTIVE_SHADOWHOST   "BYPASS_SHADOW_HOST"
00053 #define JDL_INTERACTIVE_SHADOWPORT   "BYPASS_SHADOW_PORT"
00054 #define JDL_INTERACTIVE_STDIN        "GRID_CONSOLE_STDIN"
00055 #define JDL_INTERACTIVE_STDOUT       "GRID_CONSOLE_STDOUT"
00056 #define JDL_INTERACTIVE_STDERR       "GRID_CONSOLE_STDERR"
00057 /*Classical JDL schema:
00058 #define JDL_JOBTYPE_MPICH_REQ_RTE   "other.RunTimeEnvironment"
00059 #define JDL_JOBTYPE_MPICH_REQ_CPU   "other.TotalCPUs"
00060 #define JDL_JOBTYPE_MPICH_RANK_FREE "other.FreeCPUs"
00061 */
00064 #define JDL_JOBTYPE_MPICH_REQ_RTE   "other.GlueHostApplicationSoftwareRunTimeEnvironment"
00065 #define JDL_JOBTYPE_MPICH_REQ_CPU   "other.GlueCEInfoTotalCPUs"
00066 #define JDL_JOBTYPE_MPICH_RANK_FREE "other.GlueCEStateFreeCPUs"
00067 #define JDL_RANK_DATA_ACC_COST      "DataAccessCost"
00068 
00069 //Requirements & Rank default values
00070 #define JDL_DEFAULT_RANK "DefaultRank"
00071 #define JDL_REQ_DEFAULT  "TRUE"
00072 #define JDL_RANK_DEFAULT "-other.GlueCEStateEstimatedResponseTime"
00073 
00074 } // jdl namespace
00075 } // glite namespace
00076 
00077 #endif

Generated on 2 Jul 2013 for jdl-api-cpp-3.4.2 by  doxygen 1.4.7