Skip to content

mpiexec bug with cosmic-pop #752

@cferrus

Description

@cferrus

mpiexec -n 2 python /home/ferrus/.conda/envs/cosmic/bin/cosmic-pop --final-kstar1 10 --final-kstar2 10 --inifile Params.ini --Nstep 50000 --Niter 1000000000 Traceback (most recent call last): File "/home/ferrus/.conda/envs/cosmic/bin/cosmic-pop", line 274, in <module> f["config"] = json.dumps({'BSEDict' : BSEDict, 'filters' : filters, 'convergence' : convergence, File "/home/ferrus/.conda/envs/cosmic/lib/python3.10/site-packages/h5py/_hl/group.py", line 494, in __setitem__ h5o.link(ds.id, self.id, name, lcpl=lcpl) File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/h5o.pyx", line 267, in h5py.h5o.link OSError: Unable to create link (name already exists)

Not an issue if I run with only -n 1, but then it obviously makes the whole point of running mpiexec moot.
The log and dat files were not already created, but one of the computer's make these files, and then the second one cannot access them. Same thing prints out when -n is 30, but it prints out 29 times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions