Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
gstlal
Commits
179eb6d2
Commit
179eb6d2
authored
5 years ago
by
Patrick Godwin
Browse files
Options
Downloads
Patches
Plain Diff
add Makefile.kafka to O3 share dir
parent
b912bc44
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/share/O3/Makefile.kafka
+47
-0
47 additions, 0 deletions
gstlal-inspiral/share/O3/Makefile.kafka
with
47 additions
and
0 deletions
gstlal-inspiral/share/O3/Makefile.kafka
0 → 100644
+
47
−
0
View file @
179eb6d2
SHELL
:=
/bin/bash
# Use bash syntax
########################
# User/Accounting Tags #
########################
# Set the accounting tag from https://ldas-gridmon.ligo.caltech.edu/ldg_accounting/user
ACCOUNTING_GROUP
=
ligo.dev.o3.cbc.em.gstlalonline
ACCOUNTING_USER
=
patrick.godwin
ANALYSIS_TAG
=
er14
CONDOR_UNIVERSE
=
local
##################
# Kafka Settings #
##################
# kafka options
KAFKA_NODE
=
cbc.ldas.cit
KAFKA_HOSTNAME
:=
$(
shell host
$(
KAFKA_NODE
)
|
awk
'NF>1{print $$NF
}
'
)
KAFKA_PORT
=
9182
ZOOKEEPER_PORT
=
2271
############
# Workflow #
############
all
:
kafka_broker_$(ANALYSIS_TAG).dag
@
echo
"launch kafka dag: condor_submit_dag kafka_broker_
$(
ANALYSIS_TAG
)
.dag"
kafka_broker_$(ANALYSIS_TAG).dag
:
gstlal_kafka_dag
\
--analysis-tag
$(
ANALYSIS_TAG
)
\
--kafka-hostname
$(
KAFKA_HOSTNAME
)
\
--kafka-port
$(
KAFKA_PORT
)
\
--zookeeper-port
$(
ZOOKEEPER_PORT
)
\
--condor-universe
$(
CONDOR_UNIVERSE
)
\
--condor-command
=
accounting_group
=
$(
ACCOUNTING_GROUP
)
\
--condor-command
=
accounting_group_user
=
$(
ACCOUNTING_USER
)
\
clean
:
-
rm
-rvf
*
.sub
*
.dag
*
*
.cache
*
.sh logs
*
.ini
*
.txt
clean-all
:
-
rm
-rvf
*
.sub
*
.dag
*
*
.cache
*
.sh logs
*
.ini
*
.txt kafka
*
zookeeper
*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment