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_Comm_f2c #82

Open
ricardofrantz opened this issue Jul 6, 2022 · 3 comments
Open

MPI_Comm_f2c #82

ricardofrantz opened this issue Jul 6, 2022 · 3 comments

Comments

@ricardofrantz
Copy link

Hi, I am facing an error, but I can not find info about it....

% _mpirun -np 4 julia MUMPS.jl_                                        
*** The MPI_Comm_f2c() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.

% mpirun --version
HYDRA build details:
Version: 4.0.2
Release Date: Thu Apr 7 12:34:45 CDT 2022
CC: clang
Configure options: '--disable-option-checking' '--prefix=/opt/homebrew/Cellar/mpich/4.0.2' '--disable-dependency-tracking' '--enable-fast=all,O3' '--enable-g=dbg' '--enable-romio' '--enable-shared' '--with-pm=hydra' 'FC=gfortran-11' 'FCFLAGS=-fallow-argument-mismatch ' 'F77=gfortran-11' '--disable-silent-rules' '--mandir=/opt/homebrew/Cellar/mpich/4.0.2/share/man' 'FFLAGS=-fallow-argument-mismatch ' 'CC=clang' 'CXX=clang++' '--cache-file=/dev/null' '--srcdir=.' 'CFLAGS= ' 'LDFLAGS=' 'LIBS=' 'CPPFLAGS= '
Process Manager: pmi
Launchers available: ssh rsh fork slurm ll lsf sge manual persist
Topology libraries available: hwloc
Resource management kernels available: user slurm ll lsf sge pbs cobalt
Demux engines available: poll select

Any ideas?
R

@dpo
Copy link
Member

dpo commented Jul 6, 2022

What's in MUMPS.jl_? How did you install MUMPS? Does it work with the script in examples/?

@ricardofrantz
Copy link
Author

Hi, I tried the suggested script and also reinstalling MPICH via brew and I think the problem is connected to MPI.jl

% mpirun -np 4 julia mpi_mumps.jl
┌ Warning: You appear to have run julia under a different mpiexec than the one used by MPI.jl.
│ See the documentation for details.
└ @ MPI ~/.julia/packages/MPI/08SPr/src/environment.jl:38
┌ Warning: You appear to have run julia under a different mpiexec than the one used by MPI.jl.
│ See the documentation for details.
└ @ MPI ~/.julia/packages/MPI/08SPr/src/environment.jl:38
┌ Warning: You appear to have run julia under a different mpiexec than the one used by MPI.jl.
│ See the documentation for details.
└ @ MPI ~/.julia/packages/MPI/08SPr/src/environment.jl:38
┌ Warning: You appear to have run julia under a different mpiexec than the one used by MPI.jl.
│ See the documentation for details.
└ @ MPI ~/.julia/packages/MPI/08SPr/src/environment.jl:38
*** The MPI_Comm_f2c() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
*** The MPI_Comm_f2c() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.
*** Your MPI job will now abort.
*** The MPI_Comm_f2c() function was called before MPI_INIT was invoked.
*** This is disallowed by the MPI standard.

@dpo
Copy link
Member

dpo commented Aug 12, 2022

Sorry for the delay here. Is this on Linux?

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

2 participants