<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">more error after hacking:<br><br> CC ad_iread.c<br>In file included from /usr/include/sys/signal.h:34,<br> from /usr/include/signal.h:26,<br> from ad_iread.c:14:<br>/usr/include/sys/siginfo.h:259: parse error before "ctid_t"<br>/usr/include/sys/siginfo.h:292: parse error before '}' token<br>/usr/include/sys/siginfo.h:294: parse error before '}' token<br>make: Fatal error: Command failed for target `ad_iread.o'<br>Current working directory ....../mpich2-1.2.1p1/src/mpi/romio/adio/common<br>*** Error code 1<br><br><div
style="font-family: times new roman,new york,times,serif; font-size: 12pt;">tan<br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Dave Goodell <goodell@mcs.anl.gov><br><b><span style="font-weight: bold;">To:</span></b> mpich-discuss@mcs.anl.gov<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, February 25, 2010 9:05:53 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10<br></font><br>
Please send us your c.txt, config.log, and src/mpid/ch3/channels/nemesis/config.log files. This will help us to figure out what went wrong in the configure test.<br><br>After you do that, you should be able to get going again by changing src/mpid/ch3/channels/nemesis/nemesis/netmod/tcp/tcp_getip.c:61 from this<br><br>------8<-------<br>#if defined(SIOCGIFCONF) && defined(HAVE_STRUCT_IFCONF)<br>------8<-------<br><br>to this<br><br>------8<-------<br>#if 0<br>------8<-------<br><br>After making this change you won't be able to choose your TCP communication interface in MPICH2.<br><br>-Dave<br><br>On Feb 24, 2010, at 4:54 PM, chong tan wrote:<br><br>> Soory, mistake, it did not work with 1.2.1p1 either.<br>> with this config:<br>> setenv CFLAGS "-O3 -m32"<br>> setenv MPICH2LIB_CFLAGS "-O3 -m32"<br>> <br>> ./configure --prefix=/home/chong/install_dir/mpich2/mpich2.1.21p1/solaris_10 \<br>>
--disable-f90 --disable-f77 \<br>> --enable-fast \<br>> --verbose \<br>> --enable-threads=single<br>> <br>> I got this error:<br>> CC tcp_getip.c<br>> tcp_getip.c: In function `MPIDI_GetIPInterface':<br>> tcp_getip.c:108: sizeof applied to an incomplete type<br>> tcp_getip.c:113: storage size of `ifconf' isn't known<br>> tcp_getip.c:140: sizeof applied to an incomplete type<br>> tcp_getip.c:157: dereferencing pointer to incomplete type<br>> tcp_getip.c:160: dereferencing pointer to incomplete type<br>> tcp_getip.c:163: dereferencing pointer to incomplete type<br>> tcp_getip.c:205: sizeof applied to an incomplete type<br>> tcp_getip.c:209: dereferencing pointer to incomplete type<br>> *** Error code 1<br>> <br>> <br>> looks like it is in directory
mpich2-1.2.1p1/src/mpid/ch3/channels/nemesis/nemesis/netmod.<br>> <br>> I will keep probing a little further. if you have any suggestion, please<br>> let me know.<br>> <br>> thanks<br>> tan<br>> <br>> <br>> <br>> From: chong tan <<a ymailto="mailto:chong_guan_tan@yahoo.com" href="mailto:chong_guan_tan@yahoo.com">chong_guan_tan@yahoo.com</a>><br>> To: <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> Sent: Wed, February 24, 2010 1:54:41 PM<br>> Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10<br>> <br>> Dave,<br>> 1.2.1p1 works. If possible, please put a note on 1.2.1 that it is not for Solaris.<br>> <br>> thanks<br>> tan<br>> <br>> <br>> From: Dave Goodell <<a ymailto="mailto:goodell@mcs.anl.gov" href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>><br>> To: <a
ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> Sent: Wed, February 24, 2010 1:21:14 PM<br>> Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10<br>> <br>> The "cannot find include file" errors that you are getting indicate that one or more sub-configure scripts did not run successfully but somehow did not cause failure at configure-time.<br>> <br>> If you are not hitting the issue described in #992, then in order to help I will need to see your c.txt and config.log files as described in the MPICH2 README. I do still recommend starting with 1.2.1p1 and debugging from there. It contains a number of useful bug fixes.<br>> <br>> -Dave<br>> <br>> On Feb 24, 2010, at 3:11 PM, chong tan wrote:<br>> <br>> > Dave,<br>> ><br>> > No, I already 'hacked' that line. I ran into other error with that
line.<br>> ><br>> > I will see if I have any luck with 1.2.1p1.<br>> ><br>> > tan<br>> ><br>> ><br>> > From: Dave Goodell <<a ymailto="mailto:goodell@mcs.anl.gov" href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>><br>> > To: <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> > Sent: Wed, February 24, 2010 10:47:30 AM<br>> > Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10<br>> ><br>> > I think you are hitting this issue: <a href="https://trac.mcs.anl.gov/projects/mpich2/ticket/992" target="_blank">https://trac.mcs.anl.gov/projects/mpich2/ticket/992</a><br>> ><br>> > The recently-released MPICH2 1.2.1p1 fixes this problem. Please try that instead and let us know if you are still encountering problems.<br>> ><br>> > -Dave<br>> ><br>> > On
Feb 24, 2010, at 11:46 AM, chong tan wrote:<br>> ><br>> > > I have tried GCC and Solaris C, getting pretty much the same errors.<br>> > > configuration:<br>> > ><br>> > > setenv CFLAGS "-O3 -m32"<br>> > > setenv MPICH2LIB_CFLAGS "-O3 -m32"<br>> > ><br>> > > ./configure --prefix=<my_install_dir> \<br>> > > --disable-f90 --disable-f77 \<br>> > > --enable-fast \<br>> > > --verbose \<br>> > > --enable-threads=single<br>> > ><br>> > > with this configuration, I get this error:<br>> > ><br>> > > In file included from ../../../include/mpiimpl.h:120,<br>> > > from
/home/chong/tools/MPICH2/mpich2-1.2.1/src/mpid/ch3/include/mpidimpl.h:22,<br>> > > from mpidu_process_locks.h:20,<br>> > > from mpidu_process_locks.c:6:<br>> > > /home/chong/tools/MPICH2/mpich2-1.2.1/src/mpid/ch3/include/mpidpre.h:13:28: mpidi_ch3_conf.h: No such file or directory<br>> > ><br>> > ><br>> > > If I specify --with-device=ch3:ssm, I get this error, among others:<br>> > ><br>> > > "/home/chong/tools/MPICH2/mpich2-1.2.1/src/mpid/ch3/include/mpidpre.h", line 13: cannot find include file: "mpidi_ch3_conf.h"<br>> > ><br>> > ><br>> > > any suggestion ?<br>> > ><br>> > > thanks<br>> > > tan<br>> > ><br>> > ><br>> > > _______________________________________________<br>> >
> mpich-discuss mailing list<br>> > > <a ymailto="mailto:mpich-discuss@mcs.anl.gov" 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>> ><br>> > _______________________________________________<br>> > mpich-discuss mailing list<br>> > <a ymailto="mailto:mpich-discuss@mcs.anl.gov" 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>> ><br>> > _______________________________________________<br>> > mpich-discuss mailing list<br>> > <a ymailto="mailto:mpich-discuss@mcs.anl.gov"
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>> <br>> _______________________________________________<br>> mpich-discuss mailing list<br>> <a ymailto="mailto:mpich-discuss@mcs.anl.gov" 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>> <br>> <br>> _______________________________________________<br>> mpich-discuss mailing list<br>> <a ymailto="mailto:mpich-discuss@mcs.anl.gov" 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><br>_______________________________________________<br>mpich-discuss mailing list<br><a ymailto="mailto:mpich-discuss@mcs.anl.gov" 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></div></div>
</div><br>
</body></html>