{"action":"created","issue":{"url":"https://api.github.com/repos/precice/precice/issues/44","repository_url":"https://api.github.com/repos/precice/precice","labels_url":"https://api.github.com/repos/precice/precice/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/precice/precice/issues/44/comments","events_url":"https://api.github.com/repos/precice/precice/issues/44/events","html_url":"https://github.com/precice/precice/issues/44","id":129779822,"number":44,"title":"Hanging at initialize when both participant do mapping","user":{"login":"gk780","id":16699546,"avatar_url":"https://avatars.githubusercontent.com/u/16699546?v=3","gravatar_id":"","url":"https://api.github.com/users/gk780","html_url":"https://github.com/gk780","followers_url":"https://api.github.com/users/gk780/followers","following_url":"https://api.github.com/users/gk780/following{/other_user}","gists_url":"https://api.github.com/users/gk780/gists{/gist_id}","starred_url":"https://api.github.com/users/gk780/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gk780/subscriptions","organizations_url":"https://api.github.com/users/gk780/orgs","repos_url":"https://api.github.com/users/gk780/repos","events_url":"https://api.github.com/users/gk780/events{/privacy}","received_events_url":"https://api.github.com/users/gk780/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"uekerman","id":2901384,"avatar_url":"https://avatars.githubusercontent.com/u/2901384?v=3","gravatar_id":"","url":"https://api.github.com/users/uekerman","html_url":"https://github.com/uekerman","followers_url":"https://api.github.com/users/uekerman/followers","following_url":"https://api.github.com/users/uekerman/following{/other_user}","gists_url":"https://api.github.com/users/uekerman/gists{/gist_id}","starred_url":"https://api.github.com/users/uekerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uekerman/subscriptions","organizations_url":"https://api.github.com/users/uekerman/orgs","repos_url":"https://api.github.com/users/uekerman/repos","events_url":"https://api.github.com/users/uekerman/events{/privacy}","received_events_url":"https://api.github.com/users/uekerman/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2016-01-29T14:24:44Z","updated_at":"2016-02-15T15:00:20Z","closed_at":null,"body":"When I use precice, and both participants do the data mapping ( read consistent), often the simulation hangs here: \r\n\r\n ```\r\nInitialize preCICE\r\n | precice::impl::SolverInterfaceImpl::initialize()        | Setting up master communication to coupling partner/s\r\n | precice::impl::SolverInterfaceImpl::initialize()        | Coupling partner/s are connected\r\n | precice::geometry::CommunicatedGeometry::sendMesh()     | Gather mesh AcousticSurface_euler\r\n | precice::geometry::CommunicatedGeometry::sendMesh()     | Send global mesh AcousticSurface_euler\r\n | precice::geometry::CommunicatedGeometry::receiveMesh()  | Receive global mesh AcousticSurface_acoustic\r\n | precice::geometry::BroadcastFilterDecomposition::broadcast() | Broadcast mesh AcousticSurface_acoustic\r\n | precice::geometry::BroadcastFilterDecomposition::filter() | Filter mesh AcousticSurface_acoustic\r\n | precice::geometry::BroadcastFilterDecomposition::feedback() | Feedback mesh AcousticSurface_acoustic\r\n | precice::impl::SolverInterfaceImpl::initialize()        | Setting up slaves communication to coupling partner/s\r\n | precice::impl::SolverInterfaceImpl::initialize()        | Slaves are connected\r\n | precice::impl::SolverInterfaceImpl::initialize()        | it 1 of 1 | dt# 1 of 200000000 | t 0 | dt 1e-05 | max dt 1e-05 | ongoing yes | dt complete no | write-initial-data |\r\n ```\r\nand the acoustic domain:\r\n ```\r\n Initialize preCICE\r\n | precice::impl::SolverInterfaceImpl::initialize()        | Setting up master communication to coupling partner/s\r\n | precice::impl::SolverInterfaceImpl::initialize()        | Coupling partner/s are connected\r\n | precice::geometry::CommunicatedGeometry::sendMesh()     | Gather mesh AcousticSurface_acoustic\r\n | precice::geometry::CommunicatedGeometry::sendMesh()     | Send global mesh AcousticSurface_acoustic\r\n | precice::geometry::CommunicatedGeometry::receiveMesh()  | Receive global mesh AcousticSurface_euler\r\n | precice::geometry::BroadcastFilterDecomposition::broadcast() | Broadcast mesh AcousticSurface_euler\r\n | precice::geometry::BroadcastFilterDecomposition::filter() | Filter mesh AcousticSurface_euler\r\n | precice::geometry::BroadcastFilterDecomposition::feedback() | Feedback mesh AcousticSurface_euler\r\n | precice::impl::SolverInterfaceImpl::initialize()        | Setting up slaves communication to coupling partner/s\r\n | precice::impl::SolverInterfaceImpl::initialize()        | Slaves are connected\r\n | precice::impl::SolverInterfaceImpl::initialize()        | it 1 of 1 | dt# 1 of 200000000 | t 0 | dt 1e-05 | max dt 1e-05 | ongoing yes | dt complete no | write-initial-data |\r\n```\r\n\r\nIt is a rather small testcase,2d with 2*1500 points at the interfaces, matching grids.\r\n\r\nUsing debug flags, this is a output where it stops: \r\n```\r\nprecice::com::SocketCommunication::acceptConnectionAsServer() | (72) Leaving (file:src/utils/Tracer.cpp,line:27)\r\n | precice::com::SocketCommunication::getRemoteCommunicatorSize() | (72) Entering  (file:src/utils/Tracer.cpp,line:21)\r\n | precice::com::SocketCommunication::getRemoteCommunicatorSize() | (72) Leaving (file:src/utils/Tracer.cpp,line:27)\r\n | precice::com::SocketCommunication::receive(int)         | (72) Entering rankSender=0 (file:src/utils/Tracer.cpp,line:21)\r\n | precice::com::SocketCommunication::receive(int)         | (72) Leaving (file:src/utils/Tracer.cpp,line:27)\r\n | precice::m2n::PointToPointCommunication::acceptConnection() | (72) Leaving (file:src/utils/Tracer.cpp,line:27)\r\n | precice::m2n::M2N::acceptSlavesConnection()             | (72) Leaving (file:src/utils/Tracer.cpp,line:27)\r\n | precice::cplscheme::ParallelCouplingScheme::initialize() | (72) Entering startTime=0, startTimestep=1 (file:src/utils/Tracer.cpp,line:21)\r\n | precice::cplscheme::ParallelCouplingScheme::initialize() | (72) Leaving (file:src/utils/Tracer.cpp,line:27)\r\n | precice::utils::Parallel::synchronizeProcesses()        | (72) Entering  (file:src/utils/Tracer.cpp,line:21)\r\n```\r\n\r\nI figured out that for jobs where both participants are < 64 processes, it is running fine.  The strange part is, that same executable, same input files from the solver, same precice config and same job script, it is sometimes running. \r\n\r\nI worked a lot with Mohammed Shaheen (IBM support at LRZ)  on this, but from the machine support, he could not fine any problem. \r\n\r\nI am pretty sure that the problem is due to the data mapping on one participant. When I change the read consistent to write conservative of the other participant, I never have a problem at that point. \r\n\r\nThis is quite urgent, since I want to run simulations :) and the data mapping on one participant is really slow ( --> issue 43) ."},"comment":{"url":"https://api.github.com/repos/precice/precice/issues/comments/184241634","html_url":"https://github.com/precice/precice/issues/44#issuecomment-184241634","issue_url":"https://api.github.com/repos/precice/precice/issues/44","id":184241634,"user":{"login":"gk780","id":16699546,"avatar_url":"https://avatars.githubusercontent.com/u/16699546?v=3","gravatar_id":"","url":"https://api.github.com/users/gk780","html_url":"https://github.com/gk780","followers_url":"https://api.github.com/users/gk780/followers","following_url":"https://api.github.com/users/gk780/following{/other_user}","gists_url":"https://api.github.com/users/gk780/gists{/gist_id}","starred_url":"https://api.github.com/users/gk780/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gk780/subscriptions","organizations_url":"https://api.github.com/users/gk780/orgs","repos_url":"https://api.github.com/users/gk780/repos","events_url":"https://api.github.com/users/gk780/events{/privacy}","received_events_url":"https://api.github.com/users/gk780/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T15:00:20Z","updated_at":"2016-02-15T15:00:20Z","body":"hmmmm....I run changeset\r\n\r\n> changeset:   5477:6a8cd068bc28\r\nparent:      5427:74b74b05e54f\r\nuser:        Apes Checker <regressioncheck@sts.nt.uni-siegen.de>\r\ndate:        Thu Feb 04 01:07:39 2016 +0100\r\nsummary:     Added tag working for changeset 74b74b05e54f\r\n\r\nand it is working for me ( it is now at the location where precice setup the communication). I copied the testcase folder from shared. No Idea...I compile with the following modules:\r\n\r\n> Currently Loaded Modulefiles:\r\n>  1) admin/1.0         4) intel/15.0        7) mpi.intel/5.0\r\n>  2) tempdir/1.0       5) poe/1.4           8) fftw/serial/3.3\r\n>  3) lrztools/1.0      6) lrz/default       9) gcc/4.9(default)\r\n\r\nand compile Ateles with ifort. Anyway, first will update precice and see whats happening with the new version."}}