<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hi Jayesh,<br><br>The trick consisted of connect both servers with another intrecommunicator, I thought that it was not necessary using MPI_Intercomm_create.<br><br>This example represents a good scenario of using intercommunicators with isolated servants. It could be interesting to include it into mpich2. examples :D.<br><br>Thanks again Rajeev and Jayesh for your helpful tips and time.<br><br>Best regards</div><br><div><div>El 20/01/2010, a las 18:34, Jayesh Krishna escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br> I have modified your code (You can download the same at <a href="http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/nightly/temp/test_inter_modif.tar.gz">http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/nightly/temp/test_inter_modif.tar.gz</a>) and it works for me (The code is now closer to Rajeev's suggestions).<br> Let me know if it works for you.<br><br>Regards,<br>Jayesh<br>----- Original Message -----<br>From: "Rajeev Thakur" <<a href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</a>><br>To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>Sent: Wednesday, January 20, 2010 6:47:14 AM GMT -06:00 US/Canada Central<br>Subject: Re: [mpich-discuss] New communicator from connect/accept primitives<br><br>I my algorithm server A was connected to 2 clients B and C. Since you have one client connected to 2 servers, I suggested you call<br>the client A and the servers B and C and follow the same algorithm. A is the common point that has connections to both B and C,<br>hence it is important to follow the algorithm as provided. Also, in one of your files I saw MPI_COMM_NULL as a communicator to<br>MPI_Intercomm_create. Although I haven't studied the code in detail, I don't think you can pass COMM_NULL. Use COMM_WORLD as in my<br>algorithm.<br><br>Rajeev<br><br><br><blockquote type="cite">-----Original Message-----<br></blockquote><blockquote type="cite">From: <a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a> <br></blockquote><blockquote type="cite">[mailto:mpich-discuss-bounces@mcs.anl.gov] On Behalf Of <br></blockquote><blockquote type="cite">Francisco Javier García Blas<br></blockquote><blockquote type="cite">Sent: Wednesday, January 20, 2010 4:40 AM<br></blockquote><blockquote type="cite">To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br></blockquote><blockquote type="cite">Subject: Re: [mpich-discuss] New communicator from <br></blockquote><blockquote type="cite">connect/accept primitives<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hello again,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Rajeev, to clarify the code, I put signatures A,B, and C on each file.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Jayesh, On MPI_Intercomm_create( comm_agg, 0, pool_comm[1], <br></blockquote><blockquote type="cite">1, 12345 , &comm_aux ) the size of the peer comunicator is <br></blockquote><blockquote type="cite">1, therefore, passing 1 is incorrect, right?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I got the next error stack on serverC when the last <br></blockquote><blockquote type="cite">MPI_Comm_create is invoked. Rest of processes run fine:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">No matching pg foung for id = 1024812961 Fatal error in <br></blockquote><blockquote type="cite">MPI_Intercomm_create: Internal MPI error!, error stack:<br></blockquote><blockquote type="cite">MPI_Intercomm_create(580).: MPI_Intercomm_create(MPI_COMM_SELF,<br></blockquote><blockquote type="cite">local_leader=0, comm=0x84000001, remote_leader=0, tag=12346,<br></blockquote><blockquote type="cite">newintercomm=0xbfb0a790) failed<br></blockquote><blockquote type="cite">MPID_GPID_ToLpidArray(382): Internal MPI error: Unknown gpid<br></blockquote><blockquote type="cite">(1289156231)0[cli_0]: aborting job:<br></blockquote><blockquote type="cite">Fatal error in MPI_Intercomm_create: Internal MPI error!, error stack:<br></blockquote><blockquote type="cite">MPI_Intercomm_create(580).: MPI_Intercomm_create(MPI_COMM_SELF,<br></blockquote><blockquote type="cite">local_leader=0, comm=0x84000001, remote_leader=0, tag=12346,<br></blockquote><blockquote type="cite">newintercomm=0xbfb0a790) failed<br></blockquote><blockquote type="cite">MPID_GPID_ToLpidArray(382): Internal MPI error: Unknown gpid <br></blockquote><blockquote type="cite">(1289156231)0<br></blockquote><blockquote type="cite">rank 0 in job 9 compute-1-0_45339 caused collective abort <br></blockquote><blockquote type="cite">of all ranks<br></blockquote><blockquote type="cite"> exit status of rank 0: return code 1<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks for all your time.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Best regards<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> escribió:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> Rajeev, correct me if I got it wrong...<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> On the client side when creating the intercommunicator you <br></blockquote></blockquote><blockquote type="cite">should specify the client_B intercommunicator with the <br></blockquote><blockquote type="cite">client_A intracommunicator (MPI_Intercomm_create( comm_agg, <br></blockquote><blockquote type="cite">0, pool_comm[1], 1, 12345 , &comm_aux ); ).<br></blockquote><blockquote type="cite"><blockquote type="cite"> Similarly on the server B side you should specify the client_B <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">intercommunicator with the local communicator in B <br></blockquote></blockquote><blockquote type="cite">(MPI_Intercomm_create( comm_world, 0, comm_inter, 0, 12345 , <br></blockquote><blockquote type="cite">&comm_aux ); ).<br></blockquote><blockquote type="cite"><blockquote type="cite"> Let us know if it works.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Regards,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Jayesh<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">----- Original Message -----<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">From: "Francisco Javier García Blas" <<a href="mailto:fjblas@arcos.inf.uc3m.es">fjblas@arcos.inf.uc3m.es</a>><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To: <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Cc: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sent: Tuesday, January 19, 2010 10:20:46 AM GMT -06:00 US/Canada <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Central<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Subject: Re: [mpich-discuss] New communicator from connect/accept <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">primitives<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hi Jayesh,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I haven't problem with MPI_Intercomm_merge. I tried to <br></blockquote></blockquote><blockquote type="cite">merge using different directions successfully. I checked also <br></blockquote><blockquote type="cite">the size of the new intracommunicator after merging and it is <br></blockquote><blockquote type="cite">correct too (size 2). <br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Additionally, yesterday I tried with MPI_Comm_spawn + <br></blockquote></blockquote><blockquote type="cite">MPI_Intercomm_create examples at testcase without problems. <br></blockquote><blockquote type="cite">In these cases all the processes on the same group have same <br></blockquote><blockquote type="cite">intercommunicators. However, in my case, I am doing something <br></blockquote><blockquote type="cite">wrong when three processes call MPI_Intercomm_create over two <br></blockquote><blockquote type="cite">remote groups. (AB intra, C inter). Arguments mistake maybe? <br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">As suggested Dave, I tried my example with the lasted <br></blockquote></blockquote><blockquote type="cite">stable version of MPICH2, with similar results. <br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks for all<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Regards<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">El 19/01/2010, a las 16:22, <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> escribió: <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hi,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I haven't looked at your code yet. You can look at the <br></blockquote></blockquote><blockquote type="cite">testcase, testconnect.c ( <br></blockquote><blockquote type="cite"><a href="https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/test/mpi/manual">https://svn.mcs.anl.gov/repos/mpi/mpich2/trunk/test/mpi/manual</a><br></blockquote><blockquote type="cite">/testconnect.c ), in the MPICH2 test suite for a simple <br></blockquote><blockquote type="cite">example on how to use connect/accept and intercomm_merge to <br></blockquote><blockquote type="cite">create an intracommunicator. <br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-Jayesh<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">----- Original Message -----<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">From: "Francisco Javier García Blas" < <a href="mailto:fjblas@arcos.inf.uc3m.es">fjblas@arcos.inf.uc3m.es</a> ><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sent: Monday, January 18, 2010 10:26:08 AM GMT -06:00 US/Canada <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Central<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Subject: Re: [mpich-discuss] New communicator from connect/accept <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">primitives<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hello again,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">In first place, thanks for response of Rajeev and Jayesh. Following <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Rajeev 's instruccion, I implemented an basic example using <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">connect/accept and intercomm_create/merge primitives. I am doing <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">something wrong because when MPI_Intercomm_create is <br></blockquote></blockquote><blockquote type="cite">invoked, all the <br></blockquote><blockquote type="cite"><blockquote type="cite">processes become blocked. I don't find the error, maybe it <br></blockquote></blockquote><blockquote type="cite">could be a <br></blockquote><blockquote type="cite"><blockquote type="cite">bad numeration in local and remote communicator but I tried all the <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">combinations.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I am using mpich2 1.0.5. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I attach the source code and a makefile. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Best regards<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Rajeev Thakur escribió: <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">You will need to use intercomm_merge but you have to merge them one<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">pair at a time. Example below from an old mail. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Rajeev<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">If you have 3 intercommunicators AB_inter, AC_inter, and <br></blockquote></blockquote><blockquote type="cite">AD_inter, you<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">can merge them all into a single<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">intercommunicator as follows: <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* begin by doing an MPI_Intercomm_merge on AB_inter, resulting in an<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">intracommunicator AB_intra. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* then create an intercommunicator between AB on one side <br></blockquote></blockquote><blockquote type="cite">and C on the<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">other<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">by using MPI_Intercomm_create. Pass AB_intra as the local_comm on A <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and B,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">MPI_COMM_WORLD as the intracomm on C, and AC_inter as the <br></blockquote></blockquote><blockquote type="cite">peer_comm. <br></blockquote><blockquote type="cite"><blockquote type="cite">This<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">results in the intercommunicator AB_C_inter. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* then call MPI_Intercomm_merge on it to create the <br></blockquote></blockquote><blockquote type="cite">intracommunicator<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">ABC_intra. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* then call MPI_Intercomm_create to create an intercommunicator<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">between ABC<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and D just as you did with AB and C above. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* Again do an intercomm_merge. This will give you an <br></blockquote></blockquote><blockquote type="cite">intracommunicator<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">containing A, B, C, D. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">* If you want an intercommunicator with A in one group and B,C,D in <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">other, as you would get with a single spawn of 3 processes, you have<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">to call<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">MPI_Comm_split to split this single communicator into two<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">intracommunicators, one containing A and the other <br></blockquote></blockquote><blockquote type="cite">containing B,C,D. <br></blockquote><blockquote type="cite"><blockquote type="cite">Then<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">call MPI_Intercomm_create to create the intercommunicator. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">----------------------------------------------------------------------<br></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*From:* <a href="mailto:mpich-discuss-bounces@mcs.anl.gov">mpich-discuss-bounces@mcs.anl.gov</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[mailto:mpich-discuss-bounces@mcs.anl.gov] *On Behalf Of<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*Francisco Javier García Blas<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*Sent:* Friday, January 15, 2010 11:09 AM<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*To:* <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*Subject:* [mpich-discuss] New communicator from connect/accept<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">primitives<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Hello all,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I wondering the possibility of get a new inter-comunicator from N<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">communicators, which are results from different calls of<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">mpi_comm_connect or mpi_comm_accept. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">My initial solution was first, to get the group of each<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">inter-communicator with mpi_comm_group, second, to join all the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">groups into one bigger and finally, to create a new communicator<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">from the group with the mpi_comm_create primitive. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Currently I am handling a pool of inter - communicators in order<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">to keep the functionality. However this idea is not suitable for<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">collective and MPI_ANY_SOURCE sends/recvs. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Exist another way to join all the inter-communicator into one? <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Any suggestion? <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Best regards. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Francisco Javier García Blas<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Computer Architecture, Communications and Systems Area. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Computer Science Department. UNIVERSIDAD CARLOS III DE MADRID<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Avda. de la Universidad, 30<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">28911 Leganés (Madrid), SPAIN<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">e-mail: <a href="mailto:fjblas@arcos.inf.uc3m.es">fjblas@arcos.inf.uc3m.es</a> < <a href="mailto:fjblas@arcos.inf.uc3m.es">mailto:fjblas@arcos.inf.uc3m.es</a> ><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:fjblas@inf.uc3m.es">fjblas@inf.uc3m.es</a> < <a href="mailto:fjblas@inf.uc3m.es">mailto:fjblas@inf.uc3m.es</a> ><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Phone:(+34) 916249118<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FAX: (+34) 916249129<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">----------------------------------------------------------------------<br></blockquote><blockquote type="cite"><blockquote type="cite">--<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">mpich-discuss mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">mpich-discuss mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Francisco Javier García Blas<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Computer Architecture, Communications and Systems Area. <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Computer Science Department. UNIVERSIDAD CARLOS III DE <br></blockquote></blockquote><blockquote type="cite">MADRID Avda. de <br></blockquote><blockquote type="cite"><blockquote type="cite">la Universidad, 30<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">28911 Leganés (Madrid), SPAIN<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">e-mail: <a href="mailto:fjblas@arcos.inf.uc3m.es">fjblas@arcos.inf.uc3m.es</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:fjblas@inf.uc3m.es">fjblas@inf.uc3m.es</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Phone:(+34) 916249118<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">FAX: (+34) 916249129<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">--------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>_______________________________________________<br>mpich-discuss mailing list<br><a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br></div></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><div><font class="Apple-style-span" color="#000000">--------------------------------------------------</font></div><div><font class="Apple-style-span" color="#000000">Francisco Javier García Blas</font></div><div><font class="Apple-style-span" color="#000000">Computer Architecture, Communications and Systems Area.</font></div><div><font class="Apple-style-span" color="#000000">Computer Science Department. UNIVERSIDAD CARLOS III DE MADRID</font></div><div><font class="Apple-style-span" color="#000000">Avda. de la Universidad, 30</font></div><div><font class="Apple-style-span" color="#000000">28911 Leganés (Madrid), SPAIN</font></div><div><font class="Apple-style-span" color="#000000">e-mail: <a href="mailto:fjblas@arcos.inf.uc3m.es">fjblas@arcos.inf.uc3m.es</a></font></div><div><font class="Apple-style-span" color="#000000"> <a href="mailto:fjblas@inf.uc3m.es">fjblas@inf.uc3m.es</a></font></div><div><font class="Apple-style-span" color="#000000">Phone:(+34) 916249118</font></div><div><font class="Apple-style-span" color="#000000">FAX: (+34) 916249129</font></div><div><font class="Apple-style-span" color="#000000">--------------------------------------------------</font></div></span></div></div>
</div>
<br></body></html>