<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&nbsp;&nbsp; \<br>&nbsp;&nbsp;&nbsp; --disable-f90 --disable-f77 \<br>&nbsp;&nbsp;&nbsp; --enable-fast \<br>&nbsp;&nbsp;&nbsp; --verbose \<br>&nbsp;&nbsp;&nbsp; --enable-threads=single<br><br>I got this error:<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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.&nbsp; 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 &lt;chong_guan_tan@yahoo.com&gt;<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.&nbsp; 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 &lt;goodell@mcs.anl.gov&gt;<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.&nbsp; I do still recommend starting with 1.2.1p1 and debugging from there.&nbsp; 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>&gt; Dave,<br>&gt; <br>&gt; No, I already 'hacked' that line.&nbsp; I ran into other error with that line.<br>&gt; <br>&gt; I will see if I have any luck with 1.2.1p1.<br>&gt; <br>&gt; tan<br>&gt; <br>&gt; <br>&gt; From: Dave Goodell &lt;<a rel="nofollow" ymailto="mailto:goodell@mcs.anl.gov" target="_blank" href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>&gt;<br>&gt; 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>&gt; Sent: Wed, February 24, 2010 10:47:30 AM<br>&gt; Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10<br>&gt; <br>&gt; 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>&gt; <br>&gt; The recently-released MPICH2 1.2.1p1 fixes this problem.&nbsp; Please try that instead and let us know if you are still encountering problems.<br>&gt; <br>&gt; -Dave<br>&gt; <br>&gt; On Feb 24, 2010, at 11:46 AM, chong tan wrote:<br>&gt; <br>&gt; &gt; I have tried GCC and Solaris C, getting pretty much the same errors.<br>&gt; &gt; configuration:<br>&gt; &gt;<br>&gt; &gt; setenv CFLAGS "-O3 -m32"<br>&gt; &gt; setenv MPICH2LIB_CFLAGS "-O3 -m32"<br>&gt; &gt;<br>&gt; &gt; ./configure
 --prefix=&lt;my_install_dir&gt; \<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;
 --disable-f90 --disable-f77 \<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; --enable-fast \<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; --verbose \<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; --enable-threads=single<br>&gt; &gt;<br>&gt; &gt; with this configuration, I get this error:<br>&gt; &gt;<br>&gt; &gt; In file included from ../../../include/mpiimpl.h:120,<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from /home/chong/tools/MPICH2/mpich2-1.2.1/src/mpid/ch3/include/mpidimpl.h:22,<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from mpidu_process_locks.h:20,<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from mpidu_process_locks.c:6:<br>&gt; &gt; /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>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; If I specify --with-device=ch3:ssm, I get this error, among others:<br>&gt;
 &gt;<br>&gt; &gt; "/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>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; any suggestion ?<br>&gt; &gt;<br>&gt; &gt; thanks<br>&gt; &gt; tan<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; mpich-discuss mailing list<br>&gt; &gt; <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>&gt; &gt; <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>&gt; <br>&gt; _______________________________________________<br>&gt; mpich-discuss mailing list<br>&gt; <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>&gt; <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>&gt; <br>&gt; _______________________________________________<br>&gt; mpich-discuss mailing list<br>&gt; <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>&gt; <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>