From 42e2a3c79ec344b24ee9d39259bd7c517736cc62 Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Tue, 10 Oct 2023 09:30:51 -0500 Subject: [PATCH] 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..8ed0efc9 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/$(hostname)/.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)