Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPI_INIT failed #22

Open
ronaldolaishram opened this issue Nov 28, 2024 · 0 comments
Open

MPI_INIT failed #22

ronaldolaishram opened this issue Nov 28, 2024 · 0 comments

Comments

@ronaldolaishram
Copy link

While trying to run SEDfit_from_binmap
I got error always

here is the code snap

binid_range = [0,3]
fit_method = 'mcmc'
nwalkers = 100
nsteps = 600
nproc = 5

# Run fitting
SEDfit_from_binmap(
    fits_binmap, 
    binid_range=binid_range, 
    models_spec=models_spec, 
    params_ranges=params_ranges, 
    params_priors=params_priors,
    free_z=0, 
    gal_z=gal_z, 
    fit_method=fit_method, 
    nproc=nproc, 
    nwalkers=nwalkers, 
    nsteps=nsteps, 
    cosmo=0, 
    H0=70.0, 
    Om0=0.3,
    add_igm_absorption=add_igm_absorption, 
    igm_type=igm_type, 
    store_full_samplers=1
)

I always got
shmem: mmap: an error occurred while determining whether or not /var/folders/yx/7_4ythq14rxdl8zc8kbj0lyh0000gn/T//ompi.wlan-67-011.501/jf.0/2350448641/sm_segment.wlan-67-011.501.8c190001.0 could be created.
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems. This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):

PML add procs failed
--> Returned "Not found" (-13) instead of "Success" (0)


It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems. This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):
ompi_mpi_init: ompi_mpi_instance_init failed
--> Returned "Not found" (-13) instead of "Success" (0)

[wlan-67-011.mtk.nao.ac.jp:23608] shmem: mmap: an error occurred while determining whether or not /var/folders/yx/7_4ythq14rxdl8zc8kbj0lyh0000gn/T//ompi.wlan-67-011.501/jf.0/2350448641/sm_segment.wlan-67-011.501.8c190001.0 could be created.
...

Process name: [prterun-wlan-67-011-23749@1,3] Exit code: 14

rm: /Users/ronaldolaishram/software/piXedfit/data/temp/samplers_29481.hdf5: No such file or directory

When I gave nproc=1, it says we need to have two.
why this happened

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant