MUMPS.jl icon indicating copy to clipboard operation
MUMPS.jl copied to clipboard

MPI_Comm_f2c

Open ricardofrantz opened this issue 1 year ago • 3 comments

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

ricardofrantz avatar Jul 06 '22 20:07 ricardofrantz

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

dpo avatar Jul 06 '22 20:07 dpo

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.

ricardofrantz avatar Jul 06 '22 21:07 ricardofrantz

Sorry for the delay here. Is this on Linux?

dpo avatar Aug 12 '22 12:08 dpo