Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96408082
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, Dec 26, 12:10
Size
812 B
Mime Type
text/x-makefile
Expires
Sat, Dec 28, 12:10 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23180614
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 required
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
required:
dnf install -y pyslurm python3-aiohttp python3-pytz.noarch python3-chardet.noarch python3-urllib3.noarch
pip3 uninstall -y attr
pip3 install elasticsearch
#pip3 install --upgrade requests
Event Timeline
Log In to Comment