[mpich-discuss] mpi/threads tests fail with 1.4.1p1

Rajeev Thakur thakur at mcs.anl.gov
Tue Jan 17 21:24:10 CST 2012


Why don't you try a standard build with just "configure --prefix=/usr", make, make install, and then run make testing, and see if it runs ok in that simple case.


On Jan 17, 2012, at 4:05 PM, Justin Bronder wrote:

> On 12/01/12 14:37 -0600, Rajeev Thakur wrote:
>> Just remove the --enable-threads=runtime and retry.
> 
> I still get the same errors.  Isn't enable-threads=runtime the default?
> 
>> 
>> Rajeev
>> 
>> On Jan 11, 2012, at 11:24 AM, Justin Bronder wrote:
>> 
>>> I'm getting some new failures when running the test suite with 1.4.1p1.  It
>>> looks like these are simple enough that I'm just running something
>>> incorrectly.
>>> 
>>> I configured with:
>>> 
>>> --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
>>> --enable-shared --with-thread-package=pthreads --enable-threads=runtime
>>> --with-pm=hydra --disable-mpe --with-hwloc-prefix=/usr --disable-fast
>>> --enable-smpcoll --enable-romio --enable-cxx
>>> 
>>> I set all the test files to use the in-source-tree mpiexec with:
>>> 
>>> sed -i "s,-mpiexec=[^ ]*,-mpiexec=$(pwd)/src/pm/hydra/mpiexec.hydra,g" $(find
>>> ./test -name 'Makefile')
>>> 
>>> Then I run the tests with:
>>> 
>>> make CC=$(pwd)/bin/mpicc CXX=$(pwd)/bin/mpicxx F77=$(pwd)/bin/mpif77
>>> FC=$(pwd)/bin/mpif90 testing
>>> 
>>> The only ones failing are in test/mpi/threads and they all fail with an error
>>> similar to:
>>> 
>>> MPI_Init_thread must return MPI_THREAD_MULTIPLE in order for this test to run.
>>> 
>>> I've seen other reports where setting the channel for mpiexec was required,
>>> but it doesn't look like that's supported by mpiexec.hydra.  What am I
>>> missing?
>>> 
>>> Thanks in advance,
>>> 
>>> -- 
>>> Justin Bronder
>>> _______________________________________________
>>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>>> To manage subscription options or unsubscribe:
>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> 
>> _______________________________________________
>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> -- 
> Justin Bronder
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list