[ET Trac] [Einstein Toolkit] #1612: race condition when building Cactus utilities
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Mar 24 02:19:19 CDT 2015
#1612: race condition when building Cactus utilities
---------------------+------------------------------------------------------
Reporter: rhaas | Owner:
Type: defect | Status: closed
Priority: minor | Milestone:
Component: Cactus | Version: development version
Resolution: fixed | Keywords:
---------------------+------------------------------------------------------
Changes (by rhaas):
* status: new => closed
* resolution: => fixed
Comment:
I believe this is fixed. Bluewaters support replied to my ticket (last May
but apparently I myself never replied and am not aware of having received
any emails). The line in question now reads:
{{{
#WRKDIR=/tmp/`date +%s` Change per BWSS-601 tbouvet 05/08/14
WRKDIR=/tmp/`date +%s.%N`
mkdir $WRKDIR
}}}
which appends the number of nanoseconds. The probably makes it much less
likely to happen again (though I'd still have preferred if $$ was added
for the PID as well in case the nanosecond time is not really updated
every single nanoseconds but eg only every 1/50 s or so).
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1612#comment:7>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list