Hi!
I am studying the partitioned-pipe case in the tutorials. I set the intra-participant communication to : <intra-comm:sockets port=“0” network=“lo” exchange-directory=“.”/>, and I used two-level initialization: use-two-level-initialization=“true”. I found that there would be errors as shown in the picture, but when I used <intra-comm:mpi exchange-directory=“.”/>, there would be no errors. The preCICE version I installed is 3.0.0. How can I solve this problem?
@lzx the error message is still not visible in this image: I only see that the issue occurs in the initialization. Screenshots will not help, please upload two text files with the complete output of both solvers.
You can do this, for example, with:
mysolver | tee mysolver.log 2>&1
(the 2>&1 is important, to redirect the errors into the same log file)
The fluid1.log and fluid2.log files are all errors information,and I offer Fluid1_rank0.log and Fluid2_rank0.log files which are the information of rank 0 in two participants,I hope that can be helpful. fluid1.log (10.5 KB) Fluid1_rank0.log (1.5 KB) fluid2.log (87.4 KB) Fluid2_rank0.log (1.5 KB)
(0) [impl::ParticipantImpl]:269 in initialize: Setting up primary communication to coupling partner/s
(Fluid2) (0) [impl::ParticipantImpl]:283 in initialize: Primary ranks are connected
(Fluid2) (0) [impl::ParticipantImpl]:287 in initialize: Setting up preliminary secondary communication to coupling partner/s
(Fluid2) (0) [impl::ParticipantImpl]:57 in preConnectSecondaryRanks: Two-level initialization is still in beta testing. Several edge cases are known to fail. Please report problems nevertheless.
(Fluid2) (0) [partition::ReceivedPartition]:50 in communicate: Receive mesh partitions for mesh Fluid1-Mesh
(Fluid2) (0) [partition::ProvidedPartition]:120 in prepare: Prepare partition for mesh Fluid2-Mesh
(Fluid2) (0) [partition::ReceivedPartition]:357 in filterByBoundingBox: Filter mesh Fluid1-Mesh by bounding box on secondary ranks
(Fluid2) (0) [mapping::NearestNeighborMapping]:80 in computeMapping: Mapping distance min:0 max:3.68888e-15 avg: 2.90816e-15 var: 2.11579e-30 cnt: 5
as last messages. This still does not give me much of a clue of what could be going on.
When you say “used two-level initialization”, does this mean that when you don’t, there is no issue?