bash-3.2$ mpirun -np 4 ./step-18
fem group size: 3 comm:3
fem group size: 3 comm:3
fem group size: 3 comm:3
fem group size: 3 comm:32766
rank and size 0,4
rank and size 1,4
rank and size 2,4
rank and size 3,4
ERROR: Uncaught exception in MPI_InitFinalize on proc 3. Skipping MPI_Finalize() to avoid a deadlock.
----------------------------------------------------
Exception on processing:
--------------------------------------------------------
An error occurred in line <79> of file </Applications/deal.II-9.0.0.app/Contents/Resources/spack/src/deal.II-9.0.0/source/base/mpi.cc> in function
unsigned int dealii::Utilities::MPI::this_mpi_process(const MPI_Comm &)
The violated condition was:
ierr == MPI_SUCCESS
Additional information:
deal.II encountered an error while calling an MPI function.
The description of the error provided by MPI is "MPI_ERR_COMM: invalid communicator".
The numerical value of the original error code is 5.
--------------------------------------------------------
Aborting!
----------------------------------------------------
Timestep 1 at time 1
Cycle 0:
-------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
-------------------------------------------------------
Number of active cells: 3712 (by partition: 1360+1286+1066)
Number of degrees of freedom: 17226 (by partition: 6651+5922+4653)
Assembling system...--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[53719,1],3]
Exit code: 1
======END
the meshing uses three processes;
I am not sure howto ensure that all other involved parts (e.g. PETSC) are working with the FEM_Comm instead of the MPI_WORLD_COMM used per default.
Thanks for your help.
DW.
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
if(rank_fem<4) {
TopLevel<3> elastic_problem;
elastic_problem.run ();
}
else{
std::cout<<" I am not allowed to work on this problem ;-) "<<std::endl;
}
MPI_Barrier(MPI_COMM_WORLD);