<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>Dave,<br>I look at the config.log file, and there were errors.<br><br>I only have the top level config.log at this moment.&nbsp; Who should I send it to ?<br><br>I will recreate the others files later today.<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> 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.&nbsp; 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&lt;-------<br>#if defined(SIOCGIFCONF) &amp;&amp; defined(HAVE_STRUCT_IFCONF)<br>------8&lt;-------<br><br>to this<br><br>------8&lt;-------<br>#if 0<br>------8&lt;-------<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>&gt; Soory, mistake, it did not work with 1.2.1p1 either.<br>&gt; with this config:<br>&gt; setenv CFLAGS "-O3 -m32"<br>&gt; setenv MPICH2LIB_CFLAGS "-O3 -m32"<br>&gt; <br>&gt; ./configure --prefix=/home/chong/install_dir/mpich2/mpich2.1.21p1/solaris_10&nbsp;  \<br>&gt;&nbsp; &nbsp; 
 --disable-f90 --disable-f77 \<br>&gt;&nbsp; &nbsp;  --enable-fast \<br>&gt;&nbsp; &nbsp;  --verbose \<br>&gt;&nbsp; &nbsp;  --enable-threads=single<br>&gt; <br>&gt; I got this error:<br>&gt;&nbsp;  CC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tcp_getip.c<br>&gt; tcp_getip.c: In function `MPIDI_GetIPInterface':<br>&gt; tcp_getip.c:108: sizeof applied to an incomplete type<br>&gt; tcp_getip.c:113: storage size of `ifconf' isn't known<br>&gt; tcp_getip.c:140: sizeof applied to an incomplete type<br>&gt; tcp_getip.c:157: dereferencing pointer to incomplete type<br>&gt; tcp_getip.c:160: dereferencing pointer to incomplete type<br>&gt; tcp_getip.c:163: dereferencing pointer to incomplete type<br>&gt; tcp_getip.c:205: sizeof applied to an incomplete type<br>&gt; tcp_getip.c:209: dereferencing pointer to incomplete type<br>&gt; *** Error code 1<br>&gt; <br>&gt; <br>&gt; looks like it is in directory
 mpich2-1.2.1p1/src/mpid/ch3/channels/nemesis/nemesis/netmod.<br>&gt; <br>&gt; I will keep probing a little further.&nbsp; if you have any suggestion, please<br>&gt; let me know.<br>&gt; <br>&gt; thanks<br>&gt; tan<br>&gt; <br>&gt; <br>&gt; <br>&gt; From: chong tan &lt;<a ymailto="mailto:chong_guan_tan@yahoo.com" href="mailto:chong_guan_tan@yahoo.com">chong_guan_tan@yahoo.com</a>&gt;<br>&gt; To: <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; Sent: Wed, February 24, 2010 1:54:41 PM<br>&gt; Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10<br>&gt; <br>&gt; Dave,<br>&gt; 1.2.1p1 works.&nbsp; If possible, please put a note on 1.2.1 that it is not for Solaris.<br>&gt; <br>&gt; thanks<br>&gt; tan<br>&gt; <br>&gt; <br>&gt; From: Dave Goodell &lt;<a ymailto="mailto:goodell@mcs.anl.gov" href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>&gt;<br>&gt; To: <a
 ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; Sent: Wed, February 24, 2010 1:21:14 PM<br>&gt; Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10<br>&gt; <br>&gt; 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>&gt; <br>&gt; 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>&gt; <br>&gt; -Dave<br>&gt; <br>&gt; On Feb 24, 2010, at 3:11 PM, chong tan wrote:<br>&gt; <br>&gt; &gt; Dave,<br>&gt; &gt;<br>&gt; &gt; No, I already 'hacked' that line.&nbsp; I ran into other error with that
 line.<br>&gt; &gt;<br>&gt; &gt; I will see if I have any luck with 1.2.1p1.<br>&gt; &gt;<br>&gt; &gt; tan<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; From: Dave Goodell &lt;<a ymailto="mailto:goodell@mcs.anl.gov" href="mailto:goodell@mcs.anl.gov">goodell@mcs.anl.gov</a>&gt;<br>&gt; &gt; To: <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; &gt; Sent: Wed, February 24, 2010 10:47:30 AM<br>&gt; &gt; Subject: Re: [mpich-discuss] MPICH2 1.2.1 build problem on Solaris 5.10<br>&gt; &gt;<br>&gt; &gt; 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>&gt; &gt;<br>&gt; &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; &gt;<br>&gt; &gt; -Dave<br>&gt; &gt;<br>&gt; &gt; On
 Feb 24, 2010, at 11:46 AM, chong tan wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; I have tried GCC and Solaris C, getting pretty much the same errors.<br>&gt; &gt; &gt; configuration:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; setenv CFLAGS "-O3 -m32"<br>&gt; &gt; &gt; setenv MPICH2LIB_CFLAGS "-O3 -m32"<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; ./configure --prefix=&lt;my_install_dir&gt; \<br>&gt; &gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; --disable-f90 --disable-f77 \<br>&gt; &gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; --enable-fast \<br>&gt; &gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; --verbose \<br>&gt; &gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; --enable-threads=single<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; with this configuration, I get this error:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; In file included from ../../../include/mpiimpl.h:120,<br>&gt; &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; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from mpidu_process_locks.h:20,<br>&gt; &gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from mpidu_process_locks.c:6:<br>&gt; &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; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; If I specify --with-device=ch3:ssm, I get this error, among others:<br>&gt; &gt; &gt;<br>&gt; &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; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; any suggestion ?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; thanks<br>&gt; &gt; &gt; tan<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt;
 &gt; mpich-discuss mailing list<br>&gt; &gt; &gt; <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; &gt; &gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; mpich-discuss mailing list<br>&gt; &gt; <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; &gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; mpich-discuss mailing list<br>&gt; &gt; <a ymailto="mailto:mpich-discuss@mcs.anl.gov"
 href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; &gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>&gt; <br>&gt; _______________________________________________<br>&gt; mpich-discuss mailing list<br>&gt; <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; <a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; mpich-discuss mailing list<br>&gt; <a ymailto="mailto:mpich-discuss@mcs.anl.gov" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>&gt; <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>