在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内全部原创文章的所有权利。欢迎转载,但务必注明原文链接。任何个人、组织、网站、出版社不得在未经本人许可的情况下用于商业目的。

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

HTCondor 资料High Throughput Computing (HTC) 官网:HTCondor 官网quickstart: quickstart 官网tutorial: tutorial...

condor 使用详解

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

HTCondor 有用的资源

Getting started: Creating a multiple node Condor pool

Delphi7高级应用开发随书源码

  • 2003年04月30日 00:00
  • 676KB
  • 下载

HTcondor搭建

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

【Windows 10 IoT - 1】Window 10系统安装(树莓派 Pi2)

微软Build 2015大会上,Windows 10系统平台一统天下(电脑,平板,手机),甚至安卓、iOS等程序都可以移植运行。我们本篇文章关注的是Windows 10 IoT系统,这个和物联网非常相...

go墙内安装以及vscode调试-windows平台

  • 2017年12月11日 18:54
  • 193.77MB
  • 下载

go1.9.2.windows-amd64.msi 安装包

  • 2017年12月11日 13:05
  • 88.53MB
  • 下载

Windows下JDK和Android Studio的安装与配置

前言:最近在实习,公司配的是Win7,4G,为了不再天天背着自己的笔记本去挤地铁,尝试一下在公司配的电脑上能不能跑起来AS,就又装了一遍AS,上次是请舍友装的,这次记录一下,想安装Android St...

MQTT.fx安装包 windows64位系统

  • 2017年12月08日 13:55
  • 58.11MB
  • 下载
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:在Windows中安装 HTCondor
举报原因:
原因补充:

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