Tags:
tag this topic
create new tag
view all tags
%TOC% ---+ helloAlg/helloTool/helloSvc ---++ The Examples 这三个软件包是三个典型的Algrithm Tool和Service的软件包,可以用作用户编写三种软件包的参考 在相互关系上helloAlg调用了helloSvc和helloTool,从程序内容上和执行结果上,可以看出来. ---++ How to run the example: helloAlg 简单的下载编译并运行“一个”algrithm包是不完整的,行不通的,因为任何软件包必须处在project的目录下,否则编译环境不完整。 1 建立LodeStar某一个release的环境,目前可用的是: * source /afs/ihep.ac.cn/soft/LHAASO/LodeStar-SLC6/Pre-Release/L19-Pre1_v1r1/setup.sh 1 在你的任意一个文件夹中,创建一个project, 名为myproject,并转到到myproject中去 * cmt create_project myproject * cd myproject 1 创建一个Examples文件夹,并进入该文件夹(由于helloXXX软件包在官方软件中都存储在Examples文件夹中,相互关联也都指向Examples路径,如果因为某种原因不使用该路径,就需要在软件包下载后,修改相应软件包的关联文件requirements中的路径指向) * mkdir Examples * cd Examples 1 Download helloAlg: * svn co http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/Examples/helloAlg/v1.0/ helloAlg * svn co http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/Examples/helloSvc/v1.0/ helloSvc * svn co http://svn.lhaaso.ihep.ac.cn/People/zhucg/tags/Examples/helloTool/v1.0/ helloTool 1 编译helloAlg * cd helloAlg/cmt * cmt br cmt config * source setup.sh * cmt br cmt make 1 编译成功后,到share文件夹内执行可执行程序run.py, 从log中可以看出helloAlg如何调用了helloSvc/helloTool * cd ../share * python run.py -- %USERSIG{ZhuChengguang - 2020-04-30}% ---++ Comments <br />%COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r3 - 2020-09-01
-
ZhuChengguang
Home
Site map
AFS web
BES web
BesDistributedComputing web
BESIII web
BOSS web
Castor web
CCSystem web
Amanda web
CA web
PBS web
Quattor web
ClusterFileSystem web
ClusterSys web
CMS web
AMS web
HERD web
Condor web
CRAC web
DayaBay web
DBgroup web
Dirac web
DSEP web
FileStore web
GangLia web
Hadoop web
HERD web
More...
LHAASO Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
Български
Cesky
Dansk
Deutsch
English
Español
_Français_
Italiano
日本語
한글
Nederlands
Polski
Português
Русский
Svenska
简体中文
簡體中文
E
dit
A
ttach
Copyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback