在Windows中安装 HTCondor

原创 2015年11月18日 10:56:46

本文介绍如何在Windows操作系统中使用msi安装包在安装 HTCondor

 软件环境: 

     操作系统: Windows 7 

    HTCondor: 8.5.0 版



详细步骤

  1.  下载 condor-8.5.0-344547-Windows-x86.msi安装包

  2.  运行condor-8.5.0-344547-Windows-x86.msi安装包。出现安装包启始界面,



点击 Next按钮。


3.  安装包版权界面,



点击 I accept the terms in the License Agreement前的选择框,同意版权协议。点击 Next按钮。


4. 


如果是创建一个新HTCondor机群,需设置机群名称。

如果是加入一个已有的机群,要设置机群中运行管理任务的计算机节点的host名称。

















在windows环境中,HTCondor最好安装在C盘上








选择接受,点击“Yes”按钮。


计算机重启后,在console 控制台 (cmd)中运行 "condor_store_cred add"命令。

输入 管理员密码。

在console 控制台 (cmd)中运行 "sc ceate condor binpath= c:\condor\bin\condor_master.exe"命令。


在console 控制台 (cmd)中运行 "net start condor"命令。


master节点的config文件内容

######################################################################
##
##  condor_config
##
##  This is the global configuration file for condor. This is where
##  you define where the local config file is. Any settings
##  made here may potentially be overridden in the local configuration
##  file.  KEEP THAT IN MIND!  To double-check that a variable is
##  getting set from the configuration file that you expect, use
##  condor_config_val -v <variable name>
##
##  condor_config.annotated is a more detailed sample config file
##
##  Unless otherwise specified, settings that are commented out show
##  the defaults that are used if you don't define a value.  Settings
##  that are defined here MUST BE DEFINED since they have no default
##  value.
##
######################################################################

##  Where have you installed the bin, sbin and lib condor directories?   
RELEASE_DIR = C:\condor

##  Where is the local condor directory for each host?  This is where the local config file(s), logs and
##  spool/execute directories are located. this is the default for Linux and Unix systems.
#LOCAL_DIR = $(TILDE)
##  this is the default on Windows sytems
#LOCAL_DIR = $(RELEASE_DIR)

##  Where is the machine-specific local config file for each host?
LOCAL_CONFIG_FILE = $(LOCAL_DIR)\condor_config.local
##  If your configuration is on a shared file system, then this might be a better default
#LOCAL_CONFIG_FILE = $(RELEASE_DIR)\etc\$(HOSTNAME).local
##  If the local config file is not present, is it an error? (WARNING: This is a potential security issue.)
REQUIRE_LOCAL_CONFIG_FILE = FALSE

##  The normal way to do configuration with RPMs is to read all of the
##  files in a given directory that don't match a regex as configuration files.
##  Config files are read in lexicographic order.
LOCAL_CONFIG_DIR = $(LOCAL_DIR)\config
#LOCAL_CONFIG_DIR_EXCLUDE_REGEXP = ^((\..*)|(.*~)|(#.*)|(.*\.rpmsave)|(.*\.rpmnew))$

##  Use a host-based security policy. By default CONDOR_HOST and the local machine will be allowed
use SECURITY : HOST_BASED
##  To expand your condor pool beyond a single host, set ALLOW_WRITE to match all of the hosts
#ALLOW_WRITE = *.cs.wisc.edu
##  FLOCK_FROM defines the machines that grant access to your pool via flocking. (i.e. these machines can join your pool).
#FLOCK_FROM =
##  FLOCK_TO defines the central managers that your schedd will advertise itself to (i.e. these pools will give matches to your schedd).
#FLOCK_TO = condor.cs.wisc.edu, cm.example.edu

##--------------------------------------------------------------------
## Values set by the condor_configure script:
##--------------------------------------------------------------------

CONDOR_HOST = $(FULL_HOSTNAME)
COLLECTOR_NAME = foo
UID_DOMAIN = 
CONDOR_ADMIN = 
SMTP_SERVER = 
ALLOW_READ = *
ALLOW_WRITE = $(CONDOR_HOST), $(IP_ADDRESS), *.cs.wisc.edu
ALLOW_ADMINISTRATOR = $(IP_ADDRESS)
JAVA = C:\PROGRA~2\Java\jre6\bin\java.exe
use POLICY : ALWAYS_RUN_JOBS
WANT_VACATE = FALSE
WANT_SUSPEND = TRUE
DAEMON_LIST = MASTER SCHEDD COLLECTOR NEGOTIATOR STARTD



版权声明:本人拥有该Blog内全部原创文章的所有权利。任何个人、组织、网站、出版社不得在未经本人许可的情况下用于商业目的。欢迎转载,但务必注明原文链接。 https://blog.csdn.net/cocoonyang/article/details/49903743

VB与VC混合编程中处理消息的方法

VB与VC混合编程中处理消息的方法 http://www.tongyi.net    点击:401     现在越来越多的人采用VB与VC的混合编程:用VB快速开发出漂亮的界面以及外围处理程序,再用V...
  • gnuljf
  • gnuljf
  • 2001-05-26 14:40:00
  • 1021

HTcondor搭建

  • 2013年03月16日 15:05
  • 4.48MB
  • 下载

condor 使用详解

首先,submit一个job需要先创建一个执行程序和描述文件。 在ubuntu里,可以在自己的home文件夹下创建一个examples文件夹存放测试程序,然后sudo chmod -r 777 文件夹...
  • Nov_csdn
  • Nov_csdn
  • 2015-12-31 15:42:09
  • 3893

HTCondor 相关资料及提交任务示例

HTCondor 资料High Throughput Computing (HTC) 官网:HTCondor 官网quickstart: quickstart 官网tutorial: tutorial...
  • cugb0451
  • cugb0451
  • 2015-04-21 14:39:59
  • 2333

# Ubuntu 下HTCondor 8.2.8安装

Ubuntu 下HTCondor 8.2.8安装 声明:安装部分参考[酌希的专栏] http://blog.csdn.net/yuan13091324/article/details/430...
  • cugb0451
  • cugb0451
  • 2015-04-21 13:16:13
  • 991

向HTCondor集群提交LS-DYNA任务

submit文件 #################### # # Example...
  • cocoonyang
  • cocoonyang
  • 2015-11-18 08:52:54
  • 1633

HTCondor 有用的资源

Getting started: Creating a multiple node Condor pool
  • cocoonyang
  • cocoonyang
  • 2015-11-18 06:00:49
  • 988

htcondor for linux

  • 2018年01月19日 18:35
  • 423B
  • 下载

Condor and Pegasus on ubuntu12.04

Single Node Condor and Pegasus on ubuntu12.04  [STEP 1: Install Condor] Download the lates...
  • yuan13091324
  • yuan13091324
  • 2015-01-07 10:47:19
  • 576

Experiences on Couples of Issues of Using Condor.

The following is some issues that I encounter using condor, and some of them may not have right solu...
  • zhxue123
  • zhxue123
  • 2009-09-24 09:59:00
  • 947
收藏助手
不良信息举报
您举报文章:在Windows中安装 HTCondor
举报原因:
原因补充:

(最多只允许输入30个字)