I realize that I set the option --with-atomic-primitives=no to get through the configuration. " OpenPA can emulate atomic primitives using<br>locks by specifying --with-atomic-primitives=no but performance will be very poor. This override should only be specified for correctness<br>
testing purposes." I am afraid that I won't accept the performance to be very poor.<br><br>If I don't set this option, the configuration fails again.<br>I attached the stderr message file screen nemesis.txt, the screen output file nemesis.txt and the config.log. Please check.<br>
<br>If I set the --with-device=ch3:shm, there is also error from checking for x86 mfence instruction using __asm__. I can provide the files including the output information like the above if needed.<br><br>Thank you!<br><br>
<div class="gmail_quote">2009/11/11 <span dir="ltr"><<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
----- "junli gu" <<a href="mailto:gujunli@gmail.com">gujunli@gmail.com</a>> wrote:<br>
<br>
<br>
> "export<br>
> DRIVER_PATH=/opt/crosstool/gcc-3.4.3-glibc-2.3.5/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/<br>
> export GCC=${DRIVER_PATH}/bin/alpha-gcc<br>
> export CC=${DRIVER_PATH}/bin/alpha-gcc<br>
> export CXX=${DRIVER_PATH}/bin/g++<br>
> export AR=${DRIVER_PATH}/bin/ar<br>
> export LD=${DRIVER_PATH}/bin/ld<br>
> ./configure --prefix=/home/junligu/shared/MPICH_alpha2 --enable-cxx<br>
> --disable-f77 --with-device=ch3:nemesis --with-atomic-primitives=no<br>
> --target=alpha-unknown-linux-gnu --host=i386-unknown-linux-gnu "<br>
><br>
<br>
</div>It seems you might have specified --host incorrectly, replace<br>
your --host and --target options by the followings:<br>
<br>
--build=i386-unknown-linux-gnu --host=alpha-unknown-linux-gnu<br>
<br>
(see<br>
<a href="http://www.gnu.org/software/autoconf/manual/autoconf.html#Specifying-Target-Triplets" target="_blank">http://www.gnu.org/software/autoconf/manual/autoconf.html#Specifying-Target-Triplets</a>)<br>
<br>
Be sure to do a "make distclean" before reconfiguring mpich2.<br>
If the problem persists, send us the configure and make outputs<br>
as seen on your terminal (It is possible that cross-compile support<br>
is still buggy)<br>
<br>
BTW, your stderr message should be piped to the configure output<br>
file as it will help us to identify any potential problem/bug faster.<br>
If you are not familiar with piping stderr and stdout to 1 file,<br>
see the mpich2's README or installer's guide.<br>
<br>
A.Chan<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>************************************************<br>Gu Junli--¹È¿¡Àö<br>PHD Candidate of Tsinghua University<br>Beijing 100084,China<br>Tel: 86-10-62795139<br><br>************************************************<br>