problem with non-unique temporary path during MPI-run with inline C eps-function

Bug #447309 reported by Emmanuel Lambert on 2009-10-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When using inline C function for the EPS, there can be a problem during MPI-runs (multiple cores) because the temporary path generated by SciPy is not 100% unique. See:
A warkaorund for this bug in scipy-weave is to add the following code to :

import os, socket, tempfile, random
myhostname = socket.gethostname()
myrandom = random.randint(0,128000)
tempfile.tempdir = tempfile.gettempdir()+'/%s-%s-%i' %(myhostname,mypid,myrandom)

Bugfix was implemented and tested locally and will be committed to Launchpad soon.

this bug was resolved in revision 18 of branch lp:~emmanuel-lambert/python-meep/intec

Changed in python-meep:
status: New → Fix Committed
Changed in python-meep:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers