Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100432737
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jan 30, 19:03
Size
600 B
Mime Type
text/x-makefile
Expires
Sat, Feb 1, 19:03 (2 d)
Engine
blob
Format
Raw Data
Handle
23957274
Attached To
R11410 scitas-job-submit
Makefile
View Options
FILES = /etc/systemd/system/elk_slurm_jobacct_async_pyslurm@.service /etc/systemd/system/elk_slurm_jobacct_async_pyslurm@.timer /usr/local/bin/elk_slurm_jobacct_async_pyslurm.py /etc/sysconfig/elk_slurm_jobacct_async_pyslurm.env
CLUSTER := $(shell awk -F'=' '/^ClusterName/{print $$2}' /etc/slurm/slurm.conf)
all: $(FILES) systemd
clean:
systemctl disable elk_slurm_jobacct_async_pyslurm@${CLUSTER}.timer
rm -f $(FILES)
$(FILES):
cp -f $(notdir $@) $@
systemd:
systemctl enable elk_slurm_jobacct_async_pyslurm@${CLUSTER}.timer
systemctl start elk_slurm_jobacct_async_pyslurm@${CLUSTER}.timer
Event Timeline
Log In to Comment