diff options
author | Stan Seibert <stan@mtrr.org> | 2011-08-17 14:47:29 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-08-17 14:47:29 -0400 |
commit | dcdd67ffbeacc26fdbd8c8dcf41e4dd53c39c512 (patch) | |
tree | 339f4024be665fd6ecbcdf6a4ab1178dc9561ceb | |
parent | b88e37c5c7de5411fb003a3c146a1b697b5813ad (diff) | |
download | chroma-dcdd67ffbeacc26fdbd8c8dcf41e4dd53c39c512.tar.gz chroma-dcdd67ffbeacc26fdbd8c8dcf41e4dd53c39c512.tar.bz2 chroma-dcdd67ffbeacc26fdbd8c8dcf41e4dd53c39c512.zip |
Put the temporary ZeroMQ IPC socket file into /tmp directory.
-rw-r--r-- | generator/photon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/photon.py b/generator/photon.py index fbaadf0..00f366d 100644 --- a/generator/photon.py +++ b/generator/photon.py @@ -61,7 +61,7 @@ def socket_iterator(nelements, socket): class G4ParallelGenerator(object): def __init__(self, nprocesses, material, base_seed=None): self.material = material - base_address = 'ipc://chroma_'+str(uuid.uuid4()) + base_address = 'ipc:///tmp/chroma_'+str(uuid.uuid4()) self.vertex_address = base_address + '.vertex' self.photon_address = base_address + '.photon' self.processes = [ G4GeneratorProcess(i, material, self.vertex_address, self.photon_address, seed=base_seed + i) |