Hi,
I need to come up with an MPICH build that allows singleton-init processes to use MPI_Comm_connect/accept to get connected. Our MPICH2 build uses the "smpd" process manager to achieve this. However, now that we're upgrading to MPICH (3.1.4), I notice that the "smpd" process manager no longer exists. Is there a combination of process manager and PMI that allows connect/accept for singleton-init processes? I've tried a few things and cannot seem to find a combination that works. Here are the things I've tried:
1. Hydra with pmi=simple - fails when attempting to launch hydra's mpiexec (I don't have the message to hand, but my recollection is that hydra's mpiexec didn't accept "-pmi_args")
2. Hydra with pmi=pmi2/simple - cannot be built
3. Gforker with pmi=pmi2/simple - required a couple of tweaks before it could be built, and then fails in PMPI_Init_thread complaining "Message truncated"
Is there some other combination that might work? Ideally, the singleton-init processes wouldn't need to use mpiexec at all (as was the case with our MPICH2 build using smpd).
Cheers,
Edric.
_______________________________________________
discuss mailing list discuss(a)mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
All links should now be restored.
On 07/31/2016 08:16 AM, Halim Amer wrote:
> Thank you for reporting the problem. We are aware of the issue and are
> working on fixing it ASAP.
>
> --Halim
> www.mcs.anl.gov/~aamer
>
> On 7/31/16 1:20 AM, Michele De Stefano wrote:
>> Dear MPICH staff,
>>
>> in these days I was trying to download MPICH 3.2 and I've found this to
>> be impossible. The links simply continue to redirect to the download
>> page, but no download begins.
>>
>> I've also tried to check the Installer Guide or other guides, but the
>> links are broken too (error 404).
>>
>> Can you please verify that your web site is working properly, please?
>>
>> I suspect you have several links broken also in other pages.
>>
>> Thanks.
>> Best regards.
>>
>> --
>> Michele De Stefano
>> Linked In <http://it.linkedin.com/in/micheledestefano>
>> mds-utils: a general purpose Open Source library
>> <http://sourceforge.net/projects/mds-utils/>
>> Personal Web Site <http://www.micheledestefano.altervista.org>
>>
>>
>> _______________________________________________
>> discuss mailing list discuss(a)mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
> _______________________________________________
> discuss mailing list discuss(a)mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list discuss(a)mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
Here's a hopefully-comprehensible diff for what I changed:
--- REPOSITORY/mpich/src/mpi/comm/comm_agree.c 2015-08-24 16:09:33.000000000 -0400
+++ SANDBOX/mpich/src/mpi/comm/comm_agree.c 2015-08-24 16:09:33.000000000 -0400
@@ -25,7 +25,6 @@
#ifndef MPICH_MPI_FROM_PMPI
#undef MPIX_Comm_agree
#define MPIX_Comm_agree PMPIX_Comm_agree
-#endif
#undef FUNCNAME
#define FUNCNAME MPIR_Comm_agree
@@ -106,6 +105,8 @@
goto fn_exit;
}
+#endif /* !defined(MPICH_MPI_FROM_PMPI) */
+
#undef FUNCNAME
#define FUNCNAME MPIX_Comm_agree
#undef FCNAME
--- REPOSITORY/mpich/src/mpi/comm/comm_shrink.c 2015-08-24 16:09:33.000000000 -0400
+++ SANDBOX/mpich/src/mpi/comm/comm_shrink.c 2015-08-24 16:09:33.000000000 -0400
@@ -39,7 +39,6 @@
#ifndef MPICH_MPI_FROM_PMPI
#undef MPIX_Comm_shrink
#define MPIX_Comm_shrink PMPIX_Comm_shrink
-#endif
#undef FUNCNAME
#define FUNCNAME MPIR_Comm_shrink
@@ -93,6 +92,8 @@
goto fn_exit;
}
+#endif /* !defined(MPICH_MPI_FROM_PMPI) */
+
#undef FUNCNAME
#define FUNCNAME MPIX_Comm_shrink
#undef FCNAME
--- REPOSITORY/mpich/src/glue/romio/all_romio_symbols.c 2015-08-24 16:09:33.000000000 -0400
+++ SANDBOX/mpich/src/glue/romio/all_romio_symbols.c 2015-08-24 16:09:33.000000000 -0400
@@ -36,6 +36,9 @@
#include "mpi.h"
void MPIR_All_romio_symbols(void);
+
+#ifndef MPICH_MPI_FROM_PMPI
+
void MPIR_All_romio_symbols(void)
{
#ifdef MPI_MODE_RDONLY
@@ -525,3 +528,4 @@
}
#endif /* MPI_MODE_RDONLY */
}
+#endif /* !defined(MPICH_MPI_FROM_PMPI) */
Note that the problem doesn't show up when building MPICH in any normal manner - what I'm doing is unpacking the static libraries libmpi.a and libpmpi.a on Mac and re-packaging all the object files into a single .dylib file - and that fails because of the duplicate symbols.
Cheers,
Edric.
-----Original Message-----
Message: 5
Date: Thu, 28 Jul 2016 10:48:23 -0500
From: Kenneth Raffenetti <raffenet(a)mcs.anl.gov>
To: <discuss(a)mpich.org>
Subject: Re: [mpich-discuss] Minor compilation problem with 3 mpich
source files
Message-ID: <47b96cec-9753-01d1-f1bf-a7d4571b4bb2(a)mcs.anl.gov>
Content-Type: text/plain; charset="utf-8"; format=flowed
Thanks, I believe I've seen this issue before but our nightly builds don't currently show any errors. Might be specific to a compiler/linker version.
Do you have a patch you could share to show your fix? If not, I will try to reimplement the solution.
Ken
On 07/28/2016 09:36 AM, Edric Ellis wrote:
> Hi there,
>
>
>
> I found three source files:
>
>
>
> src/mpi/comm/comm_agree.c
>
> src/mpi/comm/comm_shrink.c
>
> src/glue/romio/all_romio_symbols.c
>
>
>
> where the MPIR functions were ending up in both the ?mpi? and ?pmpi?
> object files (we need to repackage the libraries in a slightly odd way
> on Mac, and this was causing that to fail). I fixed this by moving (or
> adding) the ?#ifndef MPICH_MPI_FROM_PMPI? guards to ensure the MPIR
> symbols didn?t end up in the ?mpi? object files. This problem appears
> to still be present in the latest version 3.2 (I?m actually currently
> building 3.1.4).
_______________________________________________
discuss mailing list discuss(a)mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss