Skip to content

Commit

Permalink
Cleanup likwid installation before the job. hwperf for CUDA jobs. ens…
Browse files Browse the repository at this point in the history
…ure installation of likwid-sysfeatures
  • Loading branch information
TomTheBear committed Nov 27, 2024
1 parent 8bab325 commit ac1a32f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build-x86-daemon:
- sed -e s+"BUILDDAEMON = .*"+"BUILDDAEMON=false"+g -i config.mk
- sed -e s+"BUILDFREQ = .*"+"BUILDFREQ=false"+g -i config.mk
- make
- make BUILDDAEMON=false BUILDFREQ=false install
- make BUILDDAEMON=false BUILDFREQ=false BUILD_SYSFEATURES=true install
- cp -r /tmp/$CI_JOB_NAME $CI_PROJECT_DIR/$CI_JOB_NAME
- if [ -e $CI_JOB_NAME/sbin/likwid-accessD ]; then rm $CI_JOB_NAME/sbin/likwid-accessD; fi
- if [ -e $CI_JOB_NAME/sbin/likwid-setFreq ]; then rm $CI_JOB_NAME/sbin/likwid-setFreq; fi
Expand Down Expand Up @@ -57,7 +57,7 @@ build-x86-perf:
- sed -e s+"BUILD_SYSFEATURES = .*"+"BUILD_SYSFEATURES=true"+g -i config.mk
- sed -e s+"BUILDFREQ = .*"+"BUILDFREQ=false"+g -i config.mk
- make
- make BUILDDAEMON=false BUILDFREQ=false install
- make BUILDDAEMON=false BUILDFREQ=false BUILD_SYSFEATURES=true install
- cp -r /tmp/$CI_JOB_NAME $CI_PROJECT_DIR/$CI_JOB_NAME
- if [ -e $CI_JOB_NAME/sbin/likwid-accessD ]; then rm $CI_JOB_NAME/sbin/likwid-accessD; fi
- if [ -e $CI_JOB_NAME/sbin/likwid-setFreq ]; then rm $CI_JOB_NAME/sbin/likwid-setFreq; fi
Expand Down
2 changes: 2 additions & 0 deletions test/gitlab-ci/generate_arch_jobs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ test-$L-perf:
tags:
- testcluster
before_script:
- rm -rf /tmp/$depend
- cp -r $depend /tmp/$depend
- cd /tmp/$depend
- export PATH=/tmp/$depend/bin:\$PATH
Expand Down Expand Up @@ -72,6 +73,7 @@ test-$L-daemon:
tags:
- testcluster
before_script:
- rm -rf /tmp/$depend
- cp -r $depend /tmp/$depend
- cd /tmp/$depend
- export PATH=/tmp/$depend/bin:\$PATH
Expand Down
1 change: 1 addition & 0 deletions test/gitlab-ci/generate_cuda_jobs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ build-$PVER:
LIKWID_COMPILER: "GCC"
LIKWID_ACCESSMODE: "perf_event"
SLURM_NODELIST: medusa
SLURM_CONSTRAINT: hwperf
CUDA_MODULE: $VER
script:
- module load "\$CUDA_MODULE"
Expand Down

0 comments on commit ac1a32f

Please sign in to comment.