How to submmit a couple of jobs with condor in a heterogeneous pool?

It is an submit sample

 

universe=globus

# You will probably want to change the following line to point to
# some remote site that supports your VO
GlobusScheduler=osg.cnic.cn:/jobmanager-condor

 

# You will certainly want to change the following line to point
# to the executable you want to run on the OSG.  /usr/bin/env is useful for
# testing the submission process, but that's about it.

#The following can be used to execute binaries on a heterogeneous pool.
executable=/opt/app/tmp/condor-ia64/hello.$$(Opsys).$$(Arch)

# If your executable originates from your submission machine rather than
# being guaranteed to be available on the destination, you need to uncomment:
# transfer_input_files = True

#If you have a heterogeneous pool, you can set requirements to meet your requirements.

#The following are all right.

#requirements = Arch == "X86_64" && OpSys == "Linux"

#requirements = (Arch == "IA64")&&(Name == "slot1@c2403")
#requirements = (Arch == "IA64")||(Arch=="X86_64")

#requirements = (Arch == "X86_64")&&(Machine == "d229.csdb.cn")
 

 

 

# These attributes should be False in general for GRID operations
stream_output = False
stream_error  = False

# This makes the standard output of your program end up in the local file
# named test1.out.  Any additional output files your job creates will be detected
# and returned to the submitting directory.

# Standard output from your job.
Output = /home/zhxue/tmp/mulqueue/hi2.out.$(Cluster).$(Process)

# Standard error from your job
Error = /home/zhxue/tmp/mulqueue/hi2.error.$(Cluster).$(Process)

# Condor messages related to the scheduling and execution of your job.
Log = /home/zhxue/tmp/mulqueue/hi2.log.$(Cluster).$(Process)

# Generic directives
#
# maxWallTime in minutes is advisable because some sites have short default times
# if this is not specified.
#
# JobType is advisable because on many sites where the underlying batch manager is
# of the PBS flavor default to the "multiple" type. Note the escaping of the
# quotes on the string value for the quantity. For a full description of RSL, see
# http://www.globus.org/toolkit/docs/2.4/gram/rsl_spec1.html
globusrsl = (maxWallTime=14400)(JobType=/"single/")

# The following line must be last in the file.  The order of the other
# lines does not matter.
queue 3

 

This sample submmites three jobs simultaneously.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值