<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hmmm, actually now that I try it, I am not able to compile a "hello world" program with -no-gcc and #include <stdarg.h> together.</div><div><br></div><div>If I remove -no-gcc from my configure shell script, the configure is successful, which leads me to my next question: </div><div><br></div><div>Is this still considered a true Intel build, even if I've used gcc to build it? From here on will the Intel compilers will run my mpi calls, or will the GNU compiler set continue to be used?</div><div><br></div><div>Thanks,</div><div>Dave</div><div><br></div><div><br></div><br><div><div>On Jun 26, 2012, at 4:48 PM, Dave Goodell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Looks like your intel compiler is broken somehow when compiling under "-no-gcc". The "icc" compiler is finding the system-installed, gcc-specific stdarg.h which is blowing up with a "__MWERKS_" error message. My guess is that it won't complain if you drop "-no-gcc" because this will cause icc to #define "__GNUC__" and similar symbols that will make the system header happier.<br><br>Are you *sure* that the "-no-gcc" option is what you want? Will it compile simple C programs that "#include <stdarg.h>" without any involvement with MPICH2?<br><br>-Dave<br><br>On Jun 25, 2012, at 4:50 PM MDT, David Riethmiller wrote:<br><br><blockquote type="cite">Hi -<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm having trouble compiling mpich2 version 1.4.1p1 on a Mac OSX 10.5 system, using only the Intel compilers. I specifically want to avoid the GNU compilers, in order to match the software available on a supercomputer to which I will port later.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">When running my configure script, I hit the following error:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">...<br></blockquote><blockquote type="cite">checking for size of Fortran type integer... configure: WARNING: Unable to compile the C routine for finding the size of a integer<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">checking for size of Fortran type real... configure: WARNING: Unable to compile the C routine for finding the size of a real<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">checking for size of Fortran type double precision... configure: WARNING: Unable to compile the C routine for finding the size of a double precision<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">checking whether integer*1 is supported... yes<br></blockquote><blockquote type="cite">checking whether integer*2 is supported... yes<br></blockquote><blockquote type="cite">checking whether integer*4 is supported... yes<br></blockquote><blockquote type="cite">checking whether integer*8 is supported... yes<br></blockquote><blockquote type="cite">checking whether integer*16 is supported... no<br></blockquote><blockquote type="cite">checking whether real*4 is supported... yes<br></blockquote><blockquote type="cite">checking whether real*8 is supported... yes<br></blockquote><blockquote type="cite">checking whether real*16 is supported... yes<br></blockquote><blockquote type="cite">configure: error: Unable to configure with Fortran support because configure could not determine the size of a Fortran INTEGER. Consider setting CROSS_F77_SIZEOF_INTEGER to the length in bytes of a Fortran INTEGER<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I've saved my configure command as a shell script:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">#! bin/sh<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">CDIR=/opt/intel/<br></blockquote><blockquote type="cite">FDIR=/opt/intel/fc/10.1.008/<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">sh ${CDIR}/bin/iccvars.sh ia32<br></blockquote><blockquote type="cite">sh ${CDIR}/bin/compilervars.sh ia32<br></blockquote><blockquote type="cite">sh ${FDIR}/bin/ifortvars.sh<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">./configure \<br></blockquote><blockquote type="cite"> --prefix=/Volumes/SecondHD/rieth/mpich2_intel \<br></blockquote><blockquote type="cite"> CC=icc \<br></blockquote><blockquote type="cite"> CFLAGS="-m32 -no-gcc -I${CDIR}/include -L${DYLD_LIBRARY_PATH}" \<br></blockquote><blockquote type="cite"> LDFLAGS="-L${CDIR}/lib -L${FDIR}/lib -L${DYLD_LIBRARY_PATH}" \<br></blockquote><blockquote type="cite"> F77=ifort \<br></blockquote><blockquote type="cite"> FFLAGS="-m32 -no-gfortran -I${FDIR}/include -L${DYLD_LIBRARY_PATH}" \<br></blockquote><blockquote type="cite"> CXX=icpc \<br></blockquote><blockquote type="cite"> CXXFLAGS="-m32 -no-gcc -I${CDIR}/include -L${DYLD_LIBRARY_PATH}" \<br></blockquote><blockquote type="cite"> LDFLAGS="-L${CDIR}/lib -L${FDIR}/lib -L${DYLD_LIBRARY_PATH}" \<br></blockquote><blockquote type="cite"> 2>&1 | tee c.txt<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm attaching the output files. Can anyone see what I'm doing wrong?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks very much,<br></blockquote><blockquote type="cite">Dave<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><c.txt><config.log><config.system><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-------------------------------------------------<br></blockquote><blockquote type="cite">David A. Riethmiller<br></blockquote><blockquote type="cite">Ph.D. Candidate, Astrophysical Institute<br></blockquote><blockquote type="cite">Ohio University<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Clippinger Labs 338<br></blockquote><blockquote type="cite"><a href="http://www.phy.ohiou.edu/~rieth/">http://www.phy.ohiou.edu/~rieth/</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br></blockquote><blockquote type="cite">To manage subscription options or unsubscribe:<br></blockquote><blockquote type="cite"><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br></blockquote><br>_______________________________________________<br>mpich-discuss mailing list <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>To manage subscription options or unsubscribe:<br><a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div>-------------------------------------------------</div><div>David A. Riethmiller</div><div>Ph.D. Candidate, Astrophysical Institute</div><div>Ohio University</div><div><br></div><div>Clippinger Labs 338</div><div><a href="http://www.phy.ohiou.edu/~rieth/">http://www.phy.ohiou.edu/~rieth/</a></div></div><div><br></div></div><br></div></span><br class="Apple-interchange-newline"> </div><br></body></html>