[mpich-discuss] Problems with configuring MPICH with cross compiler

Dave Goodell goodell at mcs.anl.gov
Wed Nov 11 17:21:34 CST 2009


Bug reports are no longer filed via the email interface.  Please use  
the web interface described here to file your bug report: http://wiki.mcs.anl.gov/mpich2/index.php/Creating_New_Bug_Tickets

Thanks,
-Dave

On Nov 11, 2009, at 3:08 PM, chan at mcs.anl.gov wrote:

>
> It looks like the test for MPI_Offset at the end of top-level  
> configre.in
> broke the cross-compile support in MPICH2.  Can you file a bug  
> report at
> mpich2-maint at mcs.anl.gov and send in your config.log and tee.txt
> as well as your configure command that failed ?
>
> There is a distclean target in Makefile but since configure
> failed so no Makefile was created, i.e. no need to do "make  
> distclean".
> (I should have seen this earlier)
>
> If your don't need MPI-IO, i.e. romio, you can try the following to
> see if the configure completes:
>
> ./configure --prefix=/home/junligu/shared/MPICH_alpha2
> --enable-cxx --disable-f77 --disable-romio
> --with-device=ch3:nemesis --with-atomic-primitives=no
> --build=i386-unknown-linux-gnu --host=alpha-unknown-linux-gnu
>
> Let us know how it goes.
>
> A.Chan
>
> ----- "junli gu" <gujunli at gmail.com> wrote:
>
>> Thank you very much for help!
>>
>> I did as you said. But the problem keeps the same. I have attached
>> the
>> output of configuring process in tee.txt . the the other information
>> is in
>> config.log.
>>
>> By the way waht do you mean by "make dist clean"? I tried but there  
>> is
>> make:
>> *** No rule to make target `distclean'.  Stop.
>> "".
>>
>> I hope you can look to it further. Thank you !
>> 2009/11/11 <chan at mcs.anl.gov>
>>
>>>
>>> ----- "junli gu" <gujunli at gmail.com> wrote:
>>>
>>>
>>>>  "export
>>>>
>>>
>> DRIVER_PATH=/opt/crosstool/gcc-3.4.3-glibc-2.3.5/alpha-unknown- 
>> linux-gnu/alpha-unknown-linux-gnu/
>>>>  export GCC=${DRIVER_PATH}/bin/alpha-gcc
>>>>  export CC=${DRIVER_PATH}/bin/alpha-gcc
>>>>  export CXX=${DRIVER_PATH}/bin/g++
>>>>  export AR=${DRIVER_PATH}/bin/ar
>>>>  export LD=${DRIVER_PATH}/bin/ld
>>>>  ./configure --prefix=/home/junligu/shared/MPICH_alpha2
>> --enable-cxx
>>>> --disable-f77 --with-device=ch3:nemesis
>> --with-atomic-primitives=no
>>>> --target=alpha-unknown-linux-gnu --host=i386-unknown-linux-gnu  "
>>>>
>>>
>>> It seems you might have specified --host incorrectly, replace
>>> your --host and --target options by the followings:
>>>
>>> --build=i386-unknown-linux-gnu --host=alpha-unknown-linux-gnu
>>>
>>> (see
>>>
>>>
>> http://www.gnu.org/software/autoconf/manual/autoconf.html#Specifying-Target-Triplets
>>> )
>>>
>>> Be sure to do a "make distclean" before reconfiguring mpich2.
>>> If the problem persists, send us the configure and make outputs
>>> as seen on your terminal (It is possible that cross-compile support
>>> is still buggy)
>>>
>>> BTW, your stderr message should be piped to the configure output
>>> file as it will help us to identify any potential problem/bug
>> faster.
>>> If you are not familiar with piping stderr and stdout to 1 file,
>>> see the mpich2's README or installer's guide.
>>>
>>> A.Chan
>>> _______________________________________________
>>> mpich-discuss mailing list
>>> mpich-discuss at mcs.anl.gov
>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>>
>>
>>
>>
>> -- 
>> ************************************************
>> Gu Junli--谷俊丽
>> PHD Candidate of Tsinghua University
>> Beijing 100084,China
>> Tel: 86-10-62795139
>>
>> ************************************************
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list