-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
338 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ lustre_mdc | |
dstat.job | ||
many | ||
conf_csv | ||
dcgm1 | ||
|
||
# not yet tested | ||
rabbitv3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export plugname=dcgm | ||
portbase=61073 | ||
VGARGS="--leak-check=full --track-origins=yes --trace-children=yes" | ||
JOBDATA $TESTDIR/job.data 1 2 | ||
vgoff | ||
LDMSD -p prolog.jobid 1 2 | ||
vgoff | ||
MESSAGE ldms_ls on host 1: | ||
LDMS_LS 1 -lv | ||
SLEEP 1 | ||
MESSAGE ldms_ls on host 2: | ||
LDMS_LS 2 -l | ||
SLEEP 5 | ||
KILL_LDMSD 1 2 | ||
file_created $STOREDIR/node/$testname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
load name=dcgm_sampler | ||
config name=dcgm_sampler producer=localhost${i} schema=${testname} instance=localhost${i}/${testname} component_id=${i} interval=1000000 perm=757 uid=3556 gid=3556 job_set=instance=localhost${i}/job_info use_base=1 | ||
start name=dcgm_sampler interval=1000000 offset=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# cannot load sampler instance on same node. | ||
|
||
load name=store_csv | ||
config name=store_csv path=${STOREDIR} altheader=0 | ||
|
||
prdcr_add name=localhost1 host=${HOST} type=active xprt=${XPRT} port=${port1} interval=2000000 | ||
prdcr_start name=localhost1 | ||
|
||
updtr_add name=allhosts interval=1000000 offset=100000 | ||
updtr_prdcr_add name=allhosts regex=.* | ||
updtr_start name=allhosts | ||
|
||
strgp_add name=store_${testname} plugin=store_csv schema=${testname} container=node | ||
strgp_prdcr_add name=store_${testname} regex=.* | ||
strgp_start name=store_${testname} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,34 @@ | ||
bin_PROGRAMS = ldms-dcgm-list-fields | ||
|
||
libdcgm_sampler_la_SOURCES = \ | ||
dcgm_sampler.c | ||
dcgm_sampler.c | ||
|
||
libdcgm_sampler_la_LIBADD = \ | ||
$(top_builddir)/ldms/src/sampler/libsampler_base.la \ | ||
$(top_builddir)/ldms/src/core/libldms.la \ | ||
$(top_builddir)/lib/src/coll/libcoll.la \ | ||
$(top_builddir)/ldms/src/sampler/libjobid_helper.la \ | ||
$(top_builddir)/ldms/src/sampler/libjobid_helper.la \ | ||
-ldcgm | ||
|
||
libdcgm_sampler_la_LDFLAGS = \ | ||
-no-undefined \ | ||
-export-symbols-regex 'get_plugin' \ | ||
-version-info 1:0:0 | ||
-export-symbols-regex 'get_plugin' \ | ||
-version-info 1:0:0 | ||
libdcgm_sampler_la_CPPFLAGS = \ | ||
@OVIS_INCLUDE_ABS@ | ||
|
||
pkglib_LTLIBRARIES = libdcgm_sampler.la | ||
|
||
dist_man7_MANS = Plugin_dcgm_sampler.man | ||
|
||
dist_noinst_SCRIPTS = gen-ldms-dcgm-list-fields | ||
|
||
ldms-dcgm-list-fields.c: $(srcdir)/gen-ldms-dcgm-list-fields | ||
$(srcdir)/gen-ldms-dcgm-list-fields > ldms-dcgm-list-fields.c | ||
|
||
ldms_dcgm_list_fields_SOURCES = ldms-dcgm-list-fields.c | ||
ldms_dcgm_list_fields_CPPFLAGS = @OVIS_INCLUDE_ABS@ | ||
ldms_dcgm_list_fields_LDADD = -ldcgm | ||
|
||
clean-local:: | ||
$(RM) $(builddir)/ldms_dcgm_list_fields.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.