<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"><div>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></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> chong tan <chong_guan_tan@yahoo.com><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> Wed,
February 24, 2010 1:54:41 PM<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>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>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></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><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> Wed, February 24, 2010 1:21:14 PM<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>
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 rel="nofollow" ymailto="mailto:goodell@mcs.anl.gov" target="_blank" href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>><br>> To: <a rel="nofollow"
ymailto="mailto:mpich-discuss@mcs.anl.gov" target="_blank" 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 rel="nofollow" target="_blank" href="https://trac.mcs.anl.gov/projects/mpich2/ticket/992">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 rel="nofollow" ymailto="mailto:mpich-discuss@mcs.anl.gov" target="_blank" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> > <a rel="nofollow" target="_blank" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>> <br>> _______________________________________________<br>> mpich-discuss mailing list<br>> <a rel="nofollow" ymailto="mailto:mpich-discuss@mcs.anl.gov" target="_blank"
href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> <a rel="nofollow" target="_blank" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>> <br>> _______________________________________________<br>> mpich-discuss mailing list<br>> <a rel="nofollow" ymailto="mailto:mpich-discuss@mcs.anl.gov" target="_blank" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>> <a rel="nofollow" target="_blank" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br><br>_______________________________________________<br>mpich-discuss mailing list<br><a rel="nofollow" ymailto="mailto:mpich-discuss@mcs.anl.gov" target="_blank" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br><a rel="nofollow" target="_blank"
href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br></div></div>
</div><br>
</div></div>
</div><br>
</body></html>