From a6252b39a2e086f8ae819785b548e3c6085a6fd3 Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Tue, 10 Oct 2023 11:36:24 -0500 Subject: [PATCH] Update xprof.sh.erb.in (#156) * Update xprof.sh.erb.in * Update xprof.sh.erb.in --- xprof/xprof.sh.erb.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xprof/xprof.sh.erb.in b/xprof/xprof.sh.erb.in index 4d5fb145..c43f97ab 100644 --- a/xprof/xprof.sh.erb.in +++ b/xprof/xprof.sh.erb.in @@ -70,10 +70,10 @@ mpi_local_rank_id() { } -SHARED_LOCAL_FILESYSTEM=/dev/shm/.thapi_lock/$(mpi_job_id) +SHARED_LOCAL_FILESYSTEM=/dev/shm/$(USER)/.thapi_lock/$(mpi_job_id) SHARED_GLOBAL_FILESYSTEM=$HOME/.thapi_lock/$(mpi_job_id) THAPI_OUTPUT=${LTTNG_HOME:-$HOME} -# In live mode, we cannot have a socket name bigger than the unix limit +# In live mode, we cannot have a socket name bigger than the Unix limit THAPI_SESION_ID=$(echo "THAPI_$(hostname)_$(mpi_job_id)" | md5sum | cut -d" " -f1) export LTTNG_HOME=/tmp/lttng_home/$(mpi_job_id)