Changeset 140719


Ignore:
Timestamp:
Oct 1, 2015, 4:00:22 AM (4 years ago)
Author:
aronnax@…
Message:

htcondor: update to 8.4.0

Location:
trunk/dports/science/htcondor
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/htcondor/Portfile

    r139229 r140719  
    88PortGroup               conflicts_build 1.0
    99
    10 github.setup            htcondor htcondor 8_2_3 V
     10github.setup            htcondor htcondor 8_4_0 V
    1111version                 [strsed ${github.version} g/_/\./]
    12 revision                1
    1312maintainers             aronnax
    1413
     
    8887
    8988
    90 checksums               rmd160  9bd1f88821b891c341aae71e1bfcf7a70af296d0 \
    91                         sha256  d1e426f6dc20e5a8afeda16273d26f1d22891b2762c9369c97e438c4f77af6a9
     89checksums               rmd160  3f253ceadf68b14adc76b83bf6165e4b93974bcc \
     90                        sha256  95abe172abd8ebf42333c8267972babba097ff5309f98e201b8e364f2a3add57
    9291
    9392depends_build-append    port:latex2html
     
    114113
    115114# FIXME: Globus support is disabled because Globus is not available in MacPorts.
    116 configure.args-append   -DWITH_GLOBUS:BOOL="0" -DBUILD_TESTING:BOOL="0"
     115configure.args-append   -DWITH_GLOBUS:BOOL="0" -DWITH_VOMS:BOOL="0" -DWITH_GSOAP:BOOL="0" -DBUILD_TESTING:BOOL="0"
    117116
    118117# Man pages are not part of the default build target.
  • trunk/dports/science/htcondor/files/condor_config

    r105270 r140719  
    4949##  What machine is your central manager?
    5050CONDOR_HOST     = 127.0.0.1
     51
     52## Don't use DNS.
     53NO_DNS = True
    5154
    5255##--------------------------------------------------------------------
     
    145148##  people access to your pool via flocking. (i.e. you are granting
    146149##  access to these machines to join your pool).
    147 FLOCK_FROM =
     150#FLOCK_FROM =
    148151##  An example of this is:
    149152#FLOCK_FROM = somehost.friendly.domain, anotherhost.friendly.domain
     
    153156##  want your jobs to be negotiated at -- thereby specifying the
    154157##  pools they will run in.)
    155 FLOCK_TO =
     158#FLOCK_TO =
    156159##  An example of this is:
    157160#FLOCK_TO = central_manager.friendly.domain, condor.cs.wisc.edu
     
    272275##  defined, no attributes can be set with condor_config_val.
    273276
    274 ## Do you want to allow condor_config_val -reset to work at all?
     277## Do you want to allow condor_config_val -rset to work at all?
    275278## This feature is disabled by default, so to enable, you must
    276279## uncomment the following setting and change the value to "True".
     
    335338##--------------------------------------------------------------------
    336339##  Do you want to use a checkpoint server if one is available?  If a
    337 ##  checkpoint server isn't available or USE_CKPT_SERVER is set to
     340##  checkpoint server is not available or USE_CKPT_SERVER is set to
    338341##  False, checkpoints will be written to the local SPOOL directory on
    339342##  the submission machine.
     
    399402
    400403##  Condor needs to create a few lock files to synchronize access to
    401 ##  various log files.  Because of problems we've had with network
     404##  various log files.  Because of problems we had with network
    402405##  filesystems and file locking over the years, we HIGHLY recommend
    403406##  that you put these lock files on a local partition on each
     
    406409##  running as needs to have write access to this directory.  If
    407410##  you're not running as root, this is whatever user you started up
    408 ##  the condor_master as.  If you are running as root, and there's a
    409 ##  condor account, it's probably condor.  Otherwise, it's whatever
     411##  the condor_master as.  If you are running as root, and there is a
     412##  condor account, it is probably condor.  Otherwise, it is whatever
    410413##  you've set in the CONDOR_IDS environment variable.  See the Admin
    411414##  manual for details on this.
     
    414417##  If you don't use a fully qualified name in your /etc/hosts file
    415418##  (or NIS, etc.) for either your official hostname or as an alias,
    416 ##  Condor wouldn't normally be able to use fully qualified names in
     419##  Condor would not normally be able to use fully qualified names in
    417420##  places that it'd like to.  You can set this parameter to the
    418421##  domain you'd like appended to your hostname, if changing your host
    419 ##  information isn't a good option.  This parameter must be set in
     422##  information is not a good option.  This parameter must be set in
    420423##  the global config file (not the LOCAL_CONFIG_FILE from above).
    421424#DEFAULT_DOMAIN_NAME = your.domain.name
     
    436439##  effect when you started the Condor daemons.  If this parameter is
    437440##  set and "True", we increase the limit to as large as it gets.  If
    438 ##  it's set to "False", we set the limit at 0 (which means that no
     441##  it is set to "False", we set the limit at 0 (which means that no
    439442##  core files are even created).  Core files greatly help the Condor
    440443##  developers debug any problems you might be having.
     
    448451##  want.
    449452#ABORT_ON_EXCEPTION = False
    450 
    451 ##  Condor Glidein downloads binaries from a remote server for the
    452 ##  machines into which you're gliding. This saves you from manually
    453 ##  downloading and installing binaries for every architecture you
    454 ##  might want to glidein to. The default server is one maintained at
    455 ##  The University of Wisconsin. If you don't want to use the UW
    456 ##  server, you can set up your own and change the following to
    457 ##  point to it, instead.
    458 GLIDEIN_SERVER_URLS = \
    459   http://www.cs.wisc.edu/condor/glidein/binaries
    460 
    461 ## List the sites you want to GlideIn to on the GLIDEIN_SITES. For example,
    462 ## if you'd like to GlideIn to some Alliance GiB resources,
    463 ## uncomment the line below.
    464 ## Make sure that $(GLIDEIN_SITES) is included in ALLOW_READ and
    465 ## ALLOW_WRITE, or else your GlideIns won't be able to join your pool.
    466 ## This is _NOT_ done for you by default, because it is an even better
    467 ## idea to use a strong security method (such as GSI) rather than
    468 ## host-based security for authorizing glideins.
    469 #GLIDEIN_SITES = *.ncsa.uiuc.edu, *.cs.wisc.edu, *.mcs.anl.gov
    470 #GLIDEIN_SITES =
    471453
    472454##  If your site needs to use UID_DOMAIN settings (defined above) that
     
    522504## Delegation can take up to a second, which is very slow when
    523505## submitting a large number of jobs. Copying exposes the credential
    524 ## to third parties if Condor isn't set to encrypt communications.
     506## to third parties if Condor is not set to encrypt communications.
    525507## By default, Condor will delegate rather than copy.
    526508#DELEGATE_JOB_GSI_CREDENTIALS = True
     
    556538## interface if one is available. If it cannot decide which of two interfaces
    557539## to choose from, it will pick the first one.
     540BIND_ALL_INTERFACES = False
    558541NETWORK_INTERFACE = 127.0.0.1
    559542
     
    566549##
    567550
    568 ALL_DEBUG               =
    569 
    570 MAX_COLLECTOR_LOG       = 1000000
    571 COLLECTOR_DEBUG         =
    572 
    573 MAX_KBDD_LOG            = 1000000
    574 KBDD_DEBUG              =
    575 
    576 MAX_NEGOTIATOR_LOG      = 1000000
    577 NEGOTIATOR_DEBUG        = D_MATCH
    578 MAX_NEGOTIATOR_MATCH_LOG = 1000000
    579 
    580 MAX_SCHEDD_LOG          = 1000000
    581 SCHEDD_DEBUG            = D_PID
    582 
    583 MAX_SHADOW_LOG          = 1000000
    584 SHADOW_DEBUG            =
    585 
    586 MAX_STARTD_LOG          = 1000000
    587 STARTD_DEBUG            =
    588 
    589 MAX_STARTER_LOG         = 1000000
    590 
    591 MAX_MASTER_LOG          = 1000000
    592 MASTER_DEBUG            =
    593 ##  When the master starts up, should it truncate it's log file?
     551#ALL_DEBUG               =
     552#MAX_DEFAULT_LOG                = 10 Mb
     553
     554#MAX_COLLECTOR_LOG      = $(MAX_DEFAULT_LOG)
     555#COLLECTOR_DEBUG                =
     556
     557#MAX_KBDD_LOG           = $(MAX_DEFAULT_LOG)
     558#KBDD_DEBUG             =
     559
     560#MAX_NEGOTIATOR_LOG     = $(MAX_DEFAULT_LOG)
     561#NEGOTIATOR_DEBUG       = D_MATCH
     562#MAX_NEGOTIATOR_MATCH_LOG = $(MAX_DEFAULT_LOG)
     563
     564#MAX_SCHEDD_LOG         = $(MAX_DEFAULT_LOG)
     565#SCHEDD_DEBUG           = D_PID
     566
     567#MAX_SHADOW_LOG         = $(MAX_DEFAULT_LOG)
     568#SHADOW_DEBUG           =
     569
     570#MAX_STARTD_LOG         = $(MAX_DEFAULT_LOG)
     571#STARTD_DEBUG           =
     572
     573#MAX_STARTER_LOG                = $(MAX_DEFAULT_LOG)
     574
     575#MAX_MASTER_LOG         = $(MAX_DEFAULT_LOG)
     576#MASTER_DEBUG           =
     577##  Truncates master log start up?
    594578#TRUNC_MASTER_LOG_ON_OPEN        = False
    595579
    596 MAX_JOB_ROUTER_LOG      = 1000000
    597 JOB_ROUTER_DEBUG        =
    598 
    599 MAX_ROOSTER_LOG         = 1000000
    600 ROOSTER_DEBUG           =
    601 
    602 MAX_SHARED_PORT_LOG     = 1000000
    603 SHARED_PORT_DEBUG       =
    604 
    605 MAX_HDFS_LOG            = 1000000
    606 HDFS_DEBUG              =
     580#MAX_JOB_ROUTER_LOG      = $(MAX_DEFAULT_LOG)
     581#JOB_ROUTER_DEBUG        =
     582
     583#MAX_ROOSTER_LOG         = $(MAX_DEFAULT_LOG)
     584#ROOSTER_DEBUG           =
     585
     586#MAX_SHARED_PORT_LOG     = $(MAX_DEFAULT_LOG)
     587#SHARED_PORT_DEBUG       =
     588
     589#MAX_HDFS_LOG            = $(MAX_DEFAULT_LOG)
     590#HDFS_DEBUG              =
    607591
    608592# High Availability Logs
    609 MAX_HAD_LOG             = 1000000
    610 HAD_DEBUG               =
    611 MAX_REPLICATION_LOG     = 1000000
    612 REPLICATION_DEBUG       =
    613 MAX_TRANSFERER_LOG      = 1000000
    614 TRANSFERER_DEBUG        =
     593#MAX_HAD_LOG            = $(MAX_DEFAULT_LOG)
     594#HAD_DEBUG              =
     595#MAX_REPLICATION_LOG    = $(MAX_DEFAULT_LOG)
     596#REPLICATION_DEBUG      =
     597#MAX_TRANSFERER_LOG     = $(MAX_DEFAULT_LOG)
     598#TRANSFERER_DEBUG       =
    615599
    616600
     
    691675#####################################################################
    692676##  This where you choose the configuration that you would like to
    693 ##  use.  It has no defaults so it must be defined.  We start this
    694 ##  file off with the UWCS_* policy.
    695 ######################################################################
    696 
    697 ##  Also here is what is referred to as the TESTINGMODE_*, which is
    698 ##  a quick hardwired way to test Condor with a simple no-preemption policy.
    699 ##  Replace UWCS_* with TESTINGMODE_* if you wish to do testing mode.
    700 ##  For example:
    701 ##  WANT_SUSPEND                = $(UWCS_WANT_SUSPEND)
    702 ##  becomes
    703 ##  WANT_SUSPEND                = $(TESTINGMODE_WANT_SUSPEND)
     677##  use. If you dont specify, the default policy is a no-preemption
     678##  policy. This is what older config files called TESTINGMODE_*
     679######################################################################
    704680
    705681# When should we only consider SUSPEND instead of PREEMPT?
    706 WANT_SUSPEND            = $(TESTINGMODE_WANT_SUSPEND)
     682#WANT_SUSPEND = False
    707683
    708684# When should we preempt gracefully instead of hard-killing?
    709 WANT_VACATE             = $(TESTINGMODE_WANT_VACATE)
     685#WANT_VACATE = False
    710686
    711687##  When is this machine willing to start a job?
    712 START                   = $(TESTINGMODE_START)
    713 
    714 ##  When should a local universe job be allowed to start?
    715 #START_LOCAL_UNIVERSE   = TotalLocalJobsRunning < 200
    716 
    717 ##  When should a scheduler universe job be allowed to start?
    718 #START_SCHEDULER_UNIVERSE       = TotalSchedulerJobsRunning < 200
     688#START = True
    719689
    720690##  When to suspend a job?
    721 SUSPEND                 = $(TESTINGMODE_SUSPEND)
     691#SUSPEND = False
    722692
    723693##  When to resume a suspended job?
    724 CONTINUE                = $(TESTINGMODE_CONTINUE)
     694#CONTINUE = True
    725695
    726696##  When to nicely stop a job?
    727697##  (as opposed to killing it instantaneously)
    728 PREEMPT                 = $(TESTINGMODE_PREEMPT)
     698#PREEMPT = False
    729699
    730700##  When to instantaneously kill a preempting job
    731701##  (e.g. if a job is in the pre-empting stage for too long)
    732 KILL                    = $(TESTINGMODE_KILL)
    733 
    734 PERIODIC_CHECKPOINT     = $(TESTINGMODE_PERIODIC_CHECKPOINT)
    735 PREEMPTION_REQUIREMENTS = $(TESTINGMODE_PREEMPTION_REQUIREMENTS)
    736 PREEMPTION_RANK         = $(TESTINGMODE_PREEMPTION_RANK)
    737 NEGOTIATOR_PRE_JOB_RANK = $(TESTINGMODE_NEGOTIATOR_PRE_JOB_RANK)
    738 NEGOTIATOR_POST_JOB_RANK = $(TESTINGMODE_NEGOTIATOR_POST_JOB_RANK)
    739 MaxJobRetirementTime    = $(UWCS_MaxJobRetirementTime)
    740 CLAIM_WORKLIFE          = $(TESTINGMODE_CLAIM_WORKLIFE)
     702#KILL = False
     703
     704##  A non-zero value here is another way to have a no-preemption policy
     705##  a job is given this many seconds to exit even when it is preempted.
     706#MaxJobRetirementTime    = 0
     707
     708#PERIODIC_CHECKPOINT = ((time() - LastPeriodicCheckpoint)/60.0) > (180.0 + $RANDOM_INTEGER(-30,30,1))
     709#PREEMPTION_REQUIREMENTS = False
     710#PREEMPTION_RANK = $(UWCS_PREEMPTION_RANK)
     711#NEGOTIATOR_PRE_JOB_RANK = RemoteOwner =?= UNDEFINED
     712#NEGOTIATOR_POST_JOB_RANK = (RemoteOwner =?= UNDEFINED) * (ifthenElse(isUndefined(KFlops), 1000, Kflops) - SlotID - 1.0e10*(Offline=?=True))
     713#CLAIM_WORKLIFE          = 1200
     714
     715##  When should a local universe job be allowed to start?
     716#START_LOCAL_UNIVERSE = TotalLocalJobsRunning < 200
     717
     718##  When should a scheduler universe job be allowed to start?
     719#START_SCHEDULER_UNIVERSE = TotalSchedulerJobsRunning < 200
    741720
    742721#####################################################################
     
    867846##  PREEMPTION_RANK.
    868847UWCS_NEGOTIATOR_POST_JOB_RANK = \
    869  (RemoteOwner =?= UNDEFINED) * (KFlops - SlotID - 1.0e10*(Offline=?=True))
     848 (RemoteOwner =?= UNDEFINED) * (ifthenElse(isUndefined(KFlops), 1000, Kflops) - SlotID - 1.0e10*(Offline=?=True))
    870849
    871850##  The negotiator will not preempt a job running on a given machine
     
    881860##  is the only option and all other negotiation ranks are equal.  For
    882861##  example, if the job has no preference, it is usually preferable to
    883 ##  preempt a job with a small ImageSize instead of a job with a large
    884 ##  ImageSize.  The default is to rank all preemptable matches the
    885 ##  same.  However, the negotiator will always prefer to match the job
    886 ##  with an idle machine over a preemptable machine, if all other
    887 ##  negotiation ranks are equal.
    888 UWCS_PREEMPTION_RANK = (RemoteUserPrio * 1000000) - TARGET.ImageSize
     862##  preempt a job that has just started instead of a job with a longer
     863##  runtime, to cause less badput.  The default is to rank all
     864##  preemptable matches the same.  However, the negotiator will always
     865##  prefer to match the job with an idle machine over a preemptable
     866##  machine, if all other negotiation ranks are equal.
     867
     868UWCS_PREEMPTION_RANK = (RemoteUserPrio * 1000000) - ifThenElse(isUndefined(TotalJobRuntime), 0, TotalJobRuntime)
    889869
    890870
     
    10651045#LOWPORT = 9600
    10661046
    1067 ##  If a daemon doesn't respond for too long, do you want go generate
     1047##  If a daemon does not respond for too long, do you want go generate
    10681048##  a core file?  This basically controls the type of the signal
    10691049##  sent to the child process, and mostly affects the Condor Master
     
    10871067#VIEW_SERVER, CONDOR_VIEW, VIEW_COLLECTOR, HAWKEYE, CREDD, HAD, \
    10881068#DBMSD, QUILL, JOB_ROUTER, ROOSTER, LEASEMANAGER, HDFS, SHARED_PORT, \
    1089 #DEFRAG
     1069#DEFRAG, GANGLIAD
    10901070
    10911071
     
    11051085TRANSFERER                      = $(LIBEXEC)/condor_transferer
    11061086DEFRAG                          = $(LIBEXEC)/condor_defrag
     1087GANGLIAD                        = $(LIBEXEC)/condor_gangliad
    11071088
    11081089##  When the master starts up, it can place it's address (IP and port)
     
    11441125
    11451126##  How often do you want the master to check the time stamps of the
    1146 ##  daemons it's running?  If any daemons have been modified, the
     1127##  running daemons?  If any daemons have been modified, the
    11471128##  master restarts them.
    11481129#MASTER_CHECK_NEW_EXEC_INTERVAL = 300
     
    11791160##  condor_collector
    11801161##--------------------------------------------------------------------
    1181 ## Address to which Condor will send a weekly e-mail with output of
    1182 ## condor_status.
     1162## Address to which Condor will send a weekly e-mail with basic
     1163## non-specific information about your pool. See
     1164## http://htcondor.org/privacy.html for more information.
     1165## To disable this behavior, uncomment the below line to
     1166## explicitly set CONDOR_DEVELOPERS to NONE.
    11831167#CONDOR_DEVELOPERS = condor-admin@cs.wisc.edu
    1184 
    1185 ## Global Collector to periodically advertise basic information about
    1186 ## your pool.
     1168#CONDOR_DEVELOPERS = NONE
     1169
     1170## Global Collector to periodically advertise basic
     1171## non-specific information about your pool. See
     1172## http://htcondor.org/privacy.html for more information.
     1173## To disable this behavior, uncomment the below line to
     1174## explicitly set CONDOR_DEVELOPERS_COLLECTOR to NONE.
    11871175#CONDOR_DEVELOPERS_COLLECTOR = condor.cs.wisc.edu
     1176#CONDOR_DEVELOPERS_COLLECTOR = NONE
    11881177
    11891178##  When the collector starts up, it can place it's address (IP and port)
     
    11951184COLLECTOR_ADDRESS_FILE = $(LOG)/.collector_address
    11961185
     1186##
     1187##  Conventional HTCondor installations start up as root, and can thus
     1188##  set their own file descriptor limit.  Upping the collector's doesn't
     1189##  hurt anything and ameliorates a common scalability problem.
     1190##
     1191# COLLECTOR_MAX_FILE_DESCRIPTORS = 10240
     1192
    11971193
    11981194##--------------------------------------------------------------------
     
    12451241##  When a machine unclaimed, when should it run benchmarks?
    12461242##  LastBenchmark is initialized to 0, so this expression says as soon
    1247 ##  as we're unclaimed, run the benchmarks.  Thereafter, if we're
    1248 ##  unclaimed and it's been at least 4 hours since we ran the last
     1243##  as we're unclaimed, run the benchmarks.  Thereafter, if we are
     1244##  unclaimed and it has been at least 4 hours since we ran the last
    12491245##  benchmarks, run them again.  The startd keeps a weighted average
    12501246##  of the benchmark results to provide more accurate values.
    1251 ##  Note, if you don't want any benchmarks run at all, either comment
    1252 ##  RunBenchmarks out, or set it to "False".
    1253 BenchmarkTimer = (time() - LastBenchmark)
    1254 RunBenchmarks : (LastBenchmark == 0 ) || ($(BenchmarkTimer) >= (4 * $(HOUR)))
    1255 #RunBenchmarks : False
     1247##  Note, if you don't want any benchmarks run at all, set RunBenchmarks to "False".
     1248#RunBenchmarks = False
     1249#RunBenchmarks = (LastBenchmark == 0 ) || ((time() - LastBenchmark) >= (4 * $(HOUR)))
    12561250
    12571251##  When the startd does benchmarks, which set of benchmarks should we
     
    13001294##  quotes (") around your strings.  Numeric values can go in
    13011295##  directly, as can boolean expressions.  For example, if you wanted
    1302 ##  the startd to advertise its list of console devices, when it's
     1296##  the startd to advertise its list of console devices, when it is
    13031297##  configured to run benchmarks, and how often it sends updates to
    13041298##  the central manager, you'd have to define the following helper
     
    13611355##  Macros" in the Condor Administrators Manual for a further
    13621356##  discussion of this setting.  Its use is not recommended.  This
    1363 ##  must be an integer ("N" isn't a valid setting, that's just used to
     1357##  must be an integer ("N" is not a valid setting, that's just used to
    13641358##  represent the default).
    13651359#NUM_CPUS = N
     
    13691363##  effect. If set to 0 or a negative number, it is ignored.
    13701364##  By default, it is ignored. Otherwise, it must be a positive 
    1371 ##  integer ("N" isn't a valid setting, that's just used to
     1365##  integer ("N" is not a valid setting, that's just used to
    13721366##  represent the default).
    13731367#MAX_NUM_CPUS = N
     
    14351429##  setting is only considered if the "type" settings described above
    14361430##  are not in use.  By default, all CPUs are reported.  This setting
    1437 ##  must be an integer ("N" isn't a valid setting, that's just used to
     1431##  must be an integer ("N" is not a valid setting, that's just used to
    14381432##  represent the default).
    14391433#NUM_SLOTS = N
     
    14411435##  How many of the slots the startd is representing should
    14421436##  be "connected" to the console (in other words, notice when there's
    1443 ##  console activity)?  This defaults to all slots (N in a
    1444 ##  machine with N CPUs).  This must be an integer ("N" isn't a valid
    1445 ##  setting, that's just used to represent the default).
    1446 #SLOTS_CONNECTED_TO_CONSOLE = N
     1437##  console activity)?  This defaults to all slots
     1438#SLOTS_CONNECTED_TO_CONSOLE = $(NUM_CPUS)
    14471439
    14481440##  How many of the slots the startd is representing should
    14491441##  be "connected" to the keyboard (for remote tty activity, as well
    1450 ##  as console activity).  Defaults to 1.
    1451 #SLOTS_CONNECTED_TO_KEYBOARD = 1
    1452 
    1453 ##  If there are slots that aren't connected to the
     1442##  as console activity).  Defaults to all slots
     1443#SLOTS_CONNECTED_TO_KEYBOARD = $(NUM_CPUS)
     1444
     1445##  If there are slots that are not connected to the
    14541446##  keyboard or the console (see the above two settings), the
    14551447##  corresponding idle time reported will be the time since the startd
     
    15321524
    15331525##  How many concurrent sub-processes should the schedd spawn to handle
    1534 ##  queries?  (Unix only)
     1526##  queries?  (UNIX only)
    15351527#SCHEDD_QUERY_WORKERS   = 3
    15361528
     
    15811573#PERIODIC_EXPR_INTERVAL = 60
    15821574
     1575##
     1576##  Conventional HTCondor installations start up as root, and can thus
     1577##  set their own file descriptor limit.  Upping the schedd's limit has
     1578##  some minor downsides (larger buffers passed to select() and the like),
     1579##  but upping it makes a class of difficult-to-debug problems much rarer.
     1580##
     1581# SCHEDD_MAX_FILE_DESCRIPTORS = 4096
     1582
    15831583######
    15841584## Queue management settings:
     
    16551655
    16561656##  If the UID_DOMAIN settings match on both the execute and submit
    1657 ##  machines, but the UID of the user who submitted the job isn't in
     1657##  machines, but the UID of the user who submitted the job is not in
    16581658##  the passwd file of the execute machine, the starter will normally
    16591659##  exit with an error.  Do you want the starter to just start up the
    1660 ##  job with the specified UID, even if it's not in the passwd file?
     1660##  job with the specified UID, even if it is not in the passwd file?
    16611661#SOFT_UID_DOMAIN        = FALSE
    16621662
     
    17651765#PREEN_ADMIN            = $(CONDOR_ADMIN)
    17661766
    1767 ##  What files should condor_preen leave in the spool directory?
    1768 VALID_SPOOL_FILES       = job_queue.log, job_queue.log.tmp, history, \
    1769                           Accountant.log, Accountantnew.log, \
    1770                           local_univ_execute, .quillwritepassword, \
    1771                                                   .pgpass, \
    1772                           .schedd_address, .schedd_classad
    1773 
    1774 ##  What files should condor_preen remove from the log directory?
    1775 INVALID_LOG_FILES       = core
    17761767
    17771768##--------------------------------------------------------------------
     
    18371828##
    18381829
    1839 MAX_GRIDMANAGER_LOG     = 1000000
    1840 GRIDMANAGER_DEBUG       =
     1830#MAX_GRIDMANAGER_LOG    = $(MAX_DEFAULT_LOG)
     1831#GRIDMANAGER_DEBUG      =
    18411832
    18421833GRIDMANAGER_LOG = $(LOG)/GridmanagerLog.$(USERNAME)
     
    18471838##--------------------------------------------------------------------
    18481839
    1849 ## The number of seconds between status update requests. You can make
    1850 ## this short (5 seconds) if you want Condor to respond quickly to
    1851 ## instances as they terminate, or you can make it long (300 seconds = 5
    1852 ## minutes) if you know your instances will run for awhile and don't
    1853 ## mind delay between when they stop and when Condor responds to them
    1854 ## stopping.
    1855 GRIDMANAGER_JOB_PROBE_INTERVAL = 300
     1840## Adjust how frequently the gridmanager checks the status of grid jobs.
     1841## GRIDMANAGER_JOB_PROBE_INTERVAL sets the minimum time between checks
     1842## for each job's status in seconds. For grid-types where each job's
     1843## status must be checked individually (gt2, gt5, nordugrid, batch),
     1844## GRIDMANAGER_JOB_PROBE_RATE sets the maximum number of status check
     1845## requests the gridmanager will send to each remote resource per
     1846## second. If enough jobs are submitted to a remote resource, the
     1847## interval between checks for each job will increase so as not to
     1848## exceed the set rate.
     1849#GRIDMANAGER_JOB_PROBE_INTERVAL = 60
     1850#GRIDMANAGER_JOB_PROBE_RATE = 5
    18561851
    18571852## For grid-type gt2 jobs (pre-WS GRAM), limit the number of jobmanager
     
    19201915## Another option is to use /tmp as the location of the CGAHP log.
    19211916##
    1922 MAX_C_GAHP_LOG  = 1000000
     1917#MAX_C_GAHP_LOG = $(MAX_DEFAULT_LOG)
    19231918
    19241919#C_GAHP_LOG = $(LOG)/GridLogs/CGAHPLog.$(USERNAME)
     
    19971992CREDD_LOG                       = $(LOG)/CredLog
    19981993CREDD_DEBUG                     = D_FULLDEBUG
    1999 MAX_CREDD_LOG           = 4000000
    2000 
    2001 ## The credential owner submits the credential.  This list specififies
     1994#MAX_CREDD_LOG          = $(MAX_DEFAULT_LOG)
     1995
     1996## The credential owner submits the credential.  This list specifies
    20021997## other user who are also permitted to see all credentials.  Defaults
    2003 ## to root on Unix systems, and Administrator on Windows systems.
     1998## to root on UNIX systems, and Administrator on Windows systems.
    20041999#CRED_SUPER_USERS =
    20052000
     
    20212016#CRED_CHECK_INTERVAL = 60
    20222017
    2023 ##
    2024 ##--------------------------------------------------------------------
    2025 ##  Stork data placement server
    2026 ##--------------------------------------------------------------------
    2027 ##  Where is the Stork binary installed?
    2028 STORK                           = $(SBIN)/stork_server
    2029 
    2030 ##  When Stork starts up, it can place it's address (IP and port)
    2031 ##  into a file.  This way, tools running on the local machine don't
    2032 ##  need an additional "-n host:port" command line option.  This
    2033 ##  feature can be turned off by commenting out this setting.
    2034 STORK_ADDRESS_FILE = $(LOG)/.stork_address
    2035 
    2036 ##  Specify a remote Stork server here,
    2037 #STORK_HOST  = $(CONDOR_HOST):$(STORK_PORT)
    2038 
    2039 ## STORK_LOG_BASE specifies the basename for heritage Stork log files.
    2040 ## Stork uses this macro to create the following output log files:
    2041 ## $(STORK_LOG_BASE): Stork server job queue classad collection
    2042 ## journal file.
    2043 ## $(STORK_LOG_BASE).history: Used to track completed jobs.
    2044 ## $(STORK_LOG_BASE).user_log: User level log, also used by DAGMan.
    2045 STORK_LOG_BASE          = $(LOG)/Stork
    2046 
    2047 ## Modern Condor DaemonCore logging feature.
    2048 STORK_LOG = $(LOG)/StorkLog
    2049 STORK_DEBUG = D_FULLDEBUG
    2050 MAX_STORK_LOG = 4000000
    2051 
    2052 ## Stork startup arguments
    2053 ## Start Stork on a well-known port.  Uncomment to to simplify
    2054 ## connecting to a remote Stork.  Note: that this interface may change
    2055 ## in a future release.
    2056 #STORK_PORT                     = 34048
    2057 STORK_PORT                      = 9621
    2058 STORK_ARGS = -p $(STORK_PORT) -f -Serverlog $(STORK_LOG_BASE)
    2059 
    2060 ## Stork environment.  Stork modules may require external programs and
    2061 ## shared object libraries.  These are located using the PATH and
    2062 ## LD_LIBRARY_PATH environments.  Further, some modules may require
    2063 ## further specific environments.  By default, Stork inherits a full
    2064 ## environment when invoked from condor_master or the shell.  If the
    2065 ## default environment is not adequate for all Stork modules, specify
    2066 ## a replacement environment here.  This environment will be set by
    2067 ## condor_master before starting Stork, but does not apply if Stork is
    2068 ## started directly from the command line.
    2069 #STORK_ENVIRONMENT = TMP=/tmp;CONDOR_CONFIG=/special/config;PATH=/lib
    2070 
    2071 ## Limits the number of concurrent data placements handled by Stork.
    2072 #STORK_MAX_NUM_JOBS = 5
    2073 
    2074 ## Limits the number of retries for a failed data placement.
    2075 #STORK_MAX_RETRY = 5
    2076 
    2077 ## Limits the run time for a data placement job, after which the
    2078 ## placement is considered failed.
    2079 #STORK_MAXDELAY_INMINUTES = 10
    2080 
    2081 ## Temporary credential storage directory used by Stork.
    2082 #STORK_TMP_CRED_DIR = /tmp
    2083 
    2084 ## Directory containing Stork modules.
    2085 #STORK_MODULE_DIR = $(LIBEXEC)
    2086 
    2087 ##
    2088 ##--------------------------------------------------------------------
    2089 ##  Quill Job Queue Mirroring Server
    2090 ##--------------------------------------------------------------------
    2091 ##  Where is the Quill binary installed and what arguments should be passed?
    2092 QUILL = $(SBIN)/condor_quill
    2093 #QUILL_ARGS =
    2094 
    2095 # Where is the log file for the quill daemon?
    2096 QUILL_LOG = $(LOG)/QuillLog
    2097 
    2098 # The identification and location of the quill daemon for local clients.
    2099 QUILL_ADDRESS_FILE = $(LOG)/.quill_address
    2100 
    2101 # If this is set to true, then the rest of the QUILL arguments must be defined
    2102 # for quill to function. If it is False or left undefined, then quill will not
    2103 # be consulted by either the scheduler or the tools, but in the case of a
    2104 # remote quill query where the local client has quill turned off, but the
    2105 # remote client has quill turned on, things will still function normally.
    2106 #QUILL_ENABLED = TRUE
    2107 
    2108 #
    2109 # If Quill is enabled, by default it will only mirror the current job
    2110 # queue into the database. For historical jobs, and classads from other
    2111 # sources, the SQL Log must be enabled.
    2112 #QUILL_USE_SQL_LOG=FALSE
    2113 
    2114 #
    2115 # The SQL Log can be enabled on a per-daemon basis. For example, to collect
    2116 # historical job information, but store no information about execute machines,
    2117 # uncomment these two lines
    2118 #QUILL_USE_SQL_LOG = FALSE
    2119 #SCHEDD.QUILL_USE_SQL_LOG = TRUE
    2120 
    2121 # This will be the name of a quill daemon using this config file. This name
    2122 # should not conflict with any other quill name--or schedd name.
    2123 #QUILL_NAME = quill@postgresql-server.machine.com
    2124 
    2125 # The Postgreql server requires usernames that can manipulate tables. This will
    2126 # be the username associated with this instance of the quill daemon mirroring
    2127 # a schedd's job queue. Each quill daemon must have a unique username
    2128 # associated with it otherwise multiple quill daemons will corrupt the data
    2129 # held under an identical user name.
    2130 #QUILL_DB_NAME = name_of_db
    2131 
    2132 # The required password for the DB user which quill will use to read
    2133 # information from the database about the queue.
    2134 #QUILL_DB_QUERY_PASSWORD = foobar
    2135 
    2136 # What kind of database server is this?
    2137 # For now, only PGSQL is supported
    2138 #QUILL_DB_TYPE = PGSQL
    2139 
    2140 # The machine and port of the postgres server.
    2141 # Although this says IP Addr, it can be a DNS name.
    2142 # It must match whatever format you used for the .pgpass file, however
    2143 #QUILL_DB_IP_ADDR = machine.domain.com:5432
    2144 
    2145 # The login to use to attach to the database for updating information.
    2146 # There should be an entry in file $SPOOL/.pgpass that gives the password
    2147 # for this login id.
    2148 #QUILL_DB_USER = quillwriter
    2149 
    2150 # Polling period, in seconds, for when quill reads transactions out of the
    2151 # schedd's job queue log file and puts them into the database.
    2152 #QUILL_POLLING_PERIOD = 10
    2153 
    2154 # Allows or disallows a remote query to the quill daemon and database
    2155 # which is reading this log file. Defaults to true.
    2156 #QUILL_IS_REMOTELY_QUERYABLE = TRUE
    2157 
    2158 # Add debugging flags to here if you need to debug quill for some reason.
    2159 #QUILL_DEBUG = D_FULLDEBUG
    2160 
    2161 # Number of seconds the master should wait for the Quill daemon to respond
    2162 # before killing it. This number might need to be increased for very
    2163 # large logfiles.
    2164 # The default is 3600 (one hour), but kicking it up to a few hours won't hurt
    2165 #QUILL_NOT_RESPONDING_TIMEOUT = 3600
    2166 
    2167 # Should Quill hold open a database connection to the DBMSD?
    2168 # Each open connection consumes resources at the server, so large pools
    2169 # (100 or more machines) should set this variable to FALSE. Note the
    2170 # default is TRUE.
    2171 #QUILL_MAINTAIN_DB_CONN = TRUE
    2172 
    2173 ##
    2174 ##--------------------------------------------------------------------
    2175 ##  Database Management Daemon settings
    2176 ##--------------------------------------------------------------------
    2177 ##  Where is the DBMSd binary installed and what arguments should be passed?
    2178 DBMSD = $(SBIN)/condor_dbmsd
    2179 DBMSD_ARGS = -f
    2180 
    2181 # Where is the log file for the quill daemon?
    2182 DBMSD_LOG = $(LOG)/DbmsdLog
    2183 
    2184 # Interval between consecutive purging calls (in seconds)
    2185 #DATABASE_PURGE_INTERVAL = 86400
    2186 
    2187 # Interval between consecutive database reindexing operations
    2188 # This is only used when dbtype = PGSQL
    2189 #DATABASE_REINDEX_INTERVAL = 86400
    2190 
    2191 # Number of days before purging resource classad history
    2192 # This includes things like machine ads, daemon ads, submitters
    2193 #QUILL_RESOURCE_HISTORY_DURATION = 7
    2194 
    2195 # Number of days before purging job run information
    2196 # This includes job events, file transfers, matchmaker matches, etc
    2197 # This does NOT include the final job ad. condor_history does not need
    2198 # any of this information to work.
    2199 #QUILL_RUN_HISTORY_DURATION = 7
    2200 
    2201 # Number of days before purging job classad history
    2202 # This is the information needed to run condor_history
    2203 #QUILL_JOB_HISTORY_DURATION = 3650
    2204 
    2205 # DB size threshold for warning the condor administrator. This is checked
    2206 # after every purge. The size is given in gigabytes.
    2207 #QUILL_DBSIZE_LIMIT = 20
    2208 
    2209 # Number of seconds the master should wait for the DBMSD to respond before
    2210 # killing it. This number might need to be increased for very large databases
    2211 # The default is 3600 (one hour).
    2212 #DBMSD_NOT_RESPONDING_TIMEOUT = 3600
    22132018
    22142019##
     
    22272032#
    22282033VM_GAHP_LOG     = $(LOG)/VMGahpLog
    2229 MAX_VM_GAHP_LOG = 1000000
     2034#MAX_VM_GAHP_LOG        = $(MAX_DEFAULT_LOG)
    22302035#VM_GAHP_DEBUG = D_FULLDEBUG
    22312036
     
    22942099## For VMware, we send SIGSTOP to a process for VM in order to
    22952100## stop the VM temporarily and send SIGCONT to resume the VM.
    2296 ## For Xen, we pause CPU. Pausing CPU doesn't save the memory of VM
     2101## For Xen, we pause CPU. Pausing CPU does not save the memory of VM
    22972102## into a file. It only stops the execution of a VM temporarily.
    22982103#VM_SOFT_SUSPEND = TRUE
     
    23062111## So we need to define "VM_UNIV_NOBODY_USER" with a regular user.
    23072112## For VMware, the user defined in "VM_UNIV_NOBODY_USER" must have a
    2308 ## home directory.  So SOFT_UID_DOMAIN doesn't work for VMware VM universe job.
     2113## home directory.  So SOFT_UID_DOMAIN does not work for VMware VM universe job.
    23092114## If neither "VM_UNIV_NOBODY_USER" nor "SLOTx_VMUSER"/"SLOTx_USER" is defined,
    23102115## VMware VM universe job will run as "condor" instead of "nobody".
     
    23782183#XEN_BOOTLOADER = /usr/bin/pygrub
    23792184
    2380 ##
    2381 ##--------------------------------------------------------------------
    2382 ##  condor_lease_manager lease manager daemon
    2383 ##--------------------------------------------------------------------
    2384 ##  Where is the LeaseManager binary installed?
    2385 LeaseManager                    = $(SBIN)/condor_lease_manager
    2386 
    2387 # Turn on the lease manager
    2388 #DAEMON_LIST                    = $(DAEMON_LIST), LeaseManager
    2389 
    2390 # The identification and location of the lease manager for local clients.
    2391 LeaseManger_ADDRESS_FILE        = $(LOG)/.lease_manager_address
    2392 
    2393 ## LeaseManager startup arguments
    2394 #LeaseManager_ARGS              = -local-name generic
    2395 
    2396 ## LeaseManager daemon debugging log
    2397 LeaseManager_LOG                = $(LOG)/LeaseManagerLog
    2398 LeaseManager_DEBUG              = D_FULLDEBUG
    2399 MAX_LeaseManager_LOG            = 1000000
    2400 
    2401 # Basic parameters
    2402 LeaseManager.GETADS_INTERVAL    = 60
    2403 LeaseManager.UPDATE_INTERVAL    = 300
    2404 LeaseManager.PRUNE_INTERVAL     = 60
    2405 LeaseManager.DEBUG_ADS          = False
    2406 
    2407 LeaseManager.CLASSAD_LOG        = $(SPOOL)/LeaseManagerState
    2408 #LeaseManager.QUERY_ADTYPE      = Any
    2409 #LeaseManager.QUERY_CONSTRAINTS = MyType == "SomeType"
    2410 #LeaseManager.QUERY_CONSTRAINTS = TargetType == "SomeType"
    24112185
    24122186##
     
    24992273## name node (see HDFS_SERVICES) then the specified port will be used
    25002274## to run name node.
    2501 HDFS_NAMENODE = hdfs://example.com:9000
    2502 HDFS_NAMENODE_WEB = example.com:8000
    2503 
    2504 HDFS_BACKUPNODE = hdfs://example.com:50100
    2505 HDFS_BACKUPNODE_WEB = example.com:50105
     2275#HDFS_NAMENODE = hdfs://example.com:9000
     2276#HDFS_NAMENODE_WEB = example.com:8000
     2277
     2278#HDFS_BACKUPNODE = hdfs://example.com:50100
     2279#HDFS_BACKUPNODE_WEB = example.com:50105
    25062280
    25072281## You need to pick one machine as name node by setting this parameter
    25082282## to HDFS_NAMENODE. The remaining machines in a storage cluster will
    25092283## act as data nodes (HDFS_DATANODE).
    2510 HDFS_NODETYPE = HDFS_DATANODE
     2284#HDFS_NODETYPE = HDFS_DATANODE
    25112285
    25122286## If machine is selected to be NameNode then by a role should defined.
     
    25182292##         supports one Backup node at a time.
    25192293## CHECKPOINT: Periodically creates checkpoints of the namespace.
    2520 HDFS_NAMENODE_ROLE = ACTIVE
     2294#HDFS_NAMENODE_ROLE = ACTIVE
    25212295
    25222296## The two set of directories that are required by HDFS are for name
     
    25262300## files. The data node needs its directory to store file blocks and
    25272301## their replicas.
    2528 HDFS_NAMENODE_DIR = /tmp/hadoop_name
    2529 HDFS_DATANODE_DIR = /scratch/tmp/hadoop_data
     2302#HDFS_NAMENODE_DIR = /tmp/hadoop_name
     2303#HDFS_DATANODE_DIR = /scratch/tmp/hadoop_data
    25302304
    25312305## Unlike name node address settings (HDFS_NAMENODE), that needs to be
  • trunk/dports/science/htcondor/files/patch-build-cmake-CondorPackageConfig.cmake.diff

    r107162 r140719  
    1 --- build/cmake/CondorPackageConfig.cmake.orig  2013-05-20 11:00:54.000000000 -0700
    2 +++ build/cmake/CondorPackageConfig.cmake       2013-05-20 11:01:42.000000000 -0700
    3 @@ -116,7 +116,7 @@
     1--- build/cmake/CondorPackageConfig.cmake
     2+++ build/cmake/CondorPackageConfig.cmake
     3@@ -118,7 +118,7 @@ set( C_LIB32                lib)
    44 set( C_LIBEXEC         libexec )
    55 set( C_SBIN                    sbin)
  • trunk/dports/science/htcondor/files/patch-src-condor_scripts-macosx_rewrite_libs.diff

    r106881 r140719  
    1 --- src/condor_scripts/macosx_rewrite_libs.orig 2013-06-07 00:27:47.000000000 -0700
    2 +++ src/condor_scripts/macosx_rewrite_libs      2013-06-07 00:27:52.000000000 -0700
     1--- src/condor_scripts/macosx_rewrite_libs
     2+++ src/condor_scripts/macosx_rewrite_libs
    33@@ -1,43 +1 @@
    44 #!/bin/sh
  • trunk/dports/science/htcondor/files/patch-src-condor_utils-condor_config.cpp.diff

    r106881 r140719  
    1 --- src/condor_utils/condor_config.cpp.orig     2013-05-16 14:43:02.000000000 -0700
    2 +++ src/condor_utils/condor_config.cpp  2013-05-16 14:45:12.000000000 -0700
     1--- src/condor_utils/condor_config.cpp
     2+++ src/condor_utils/condor_config.cpp
    33@@ -35,7 +35,7 @@
    44   doesn't exist, we look in the following locations:
     
    1010       4) ~condor/
    1111 
    12 @@ -576,7 +576,7 @@
     12@@ -916,7 +916,7 @@ real_config(const char* host, int wantsQuiet, int config_options)
    1313                fprintf(stderr,"\nNeither the environment variable %s_CONFIG,\n",
    1414                                myDistro->GetUc() );
    1515 #        if defined UNIX
    16 -               fprintf(stderr,"/etc/%s/, nor ~%s/ contain a %s_config source.\n",
    17 +               fprintf(stderr,"@prefix@/etc/%s/, nor ~%s/ contain a %s_config source.\n",
     16-               fprintf(stderr,"/etc/%s/, /usr/local/etc/, nor ~%s/ contain a %s_config source.\n",
     17+               fprintf(stderr,"@prefix@/etc/%s/, /usr/local/etc/, nor ~%s/ contain a %s_config source.\n",
    1818                                myDistro->Get(), myDistro->Get(), myDistro->Get() );
    1919 #        elif defined WIN32
    2020                fprintf(stderr,"nor the registry contains a %s_config source.\n", myDistro->Get() );
    21 @@ -586,7 +586,7 @@
     21@@ -926,7 +926,7 @@ real_config(const char* host, int wantsQuiet, int config_options)
    2222                fprintf( stderr,"Either set %s_CONFIG to point to a valid config "
    2323                                "source,\n", myDistro->GetUc() );
    2424 #        if defined UNIX
    25 -               fprintf( stderr,"or put a \"%s_config\" file in /etc/%s or ~%s/\n",
    26 +               fprintf( stderr,"or put a \"%s_config\" file in @prefix@/etc/%s or ~%s/\n",
     25-               fprintf( stderr,"or put a \"%s_config\" file in /etc/%s/ /usr/local/etc/ or ~%s/\n",
     26+               fprintf( stderr,"or put a \"%s_config\" file in @prefix@/etc/%s/ /usr/local/etc/ or ~%s/\n",
    2727                                 myDistro->Get(), myDistro->Get(), myDistro->Get() );
    2828 #        elif defined WIN32
    2929                fprintf( stderr,"or put a \"%s_config\" source in the registry at:\n"
    30 @@ -1060,8 +1060,8 @@
    31                         formatstr( locations[0], "%s/.%s/%s", pw->pw_dir, myDistro->Get(),
    32                                          file_name );
    33                 }
     30@@ -1477,8 +1477,8 @@ find_file(const char *env_name, const char *file_name, int config_options)
     31                        // 1) $HOME/.condor/condor_config
     32                // $HOME/.condor/condor_config was added for BOSCO and never used, We are removing it in 8.3.1, but may put it back if users complain.
     33                //find_user_file(locations[0], file_name, false);
    3434-                       // 2) /etc/condor/condor_config
    3535-               locations[1].formatstr( "/etc/%s/%s", myDistro->Get(), file_name );
  • trunk/dports/science/htcondor/files/patch-src-python-bindings-CMakeLists.txt.diff

    r122417 r140719  
    1 --- src/python-bindings/CMakeLists.txt.orig     2014-07-17 11:44:13.000000000 -0700
    2 +++ src/python-bindings/CMakeLists.txt  2014-07-17 11:44:25.000000000 -0700
    3 @@ -11,9 +11,9 @@
    4    set ( CMAKE_LIBRARY_PATH CMAKE_LIBRARY_PATH_ORIG)
     1--- src/python-bindings/CMakeLists.txt
     2+++ src/python-bindings/CMakeLists.txt
     3@@ -101,9 +101,9 @@ else()
     4     set ( CMAKE_LIBRARY_PATH CMAKE_LIBRARY_PATH_ORIG)
    55 
    6    if (PROPER AND "${PYTHON_VERSION_MAJOR}" MATCHES "3")
    7 -    set ( PYTHON_BOOST_LIB boost_python3 )
    8 +    set ( PYTHON_BOOST_LIB boost_python3-mt )
    9    else()
    10 -    set ( PYTHON_BOOST_LIB boost_python )
    11 +    set ( PYTHON_BOOST_LIB boost_python-mt )
    12    endif()
     6     if (PROPER AND "${PYTHON_VERSION_MAJOR}" MATCHES "3")
     7-      set ( PYTHON_BOOST_LIB boost_python3 )
     8+      set ( PYTHON_BOOST_LIB boost_python3-mt )
     9     else()
     10-      set ( PYTHON_BOOST_LIB boost_python )
     11+      set ( PYTHON_BOOST_LIB boost_python-mt )
     12     endif()
    1313 
    14    include_directories(${PYTHON_INCLUDE_DIRS} ${BOOST_INCLUDE})
     14     include_directories(${PYTHON_INCLUDE_DIRS} ${BOOST_INCLUDE})
Note: See TracChangeset for help on using the changeset viewer.