<div>Ok, I've added those flags, along with some others, but I still get the same error. The output from show is:</div><div><br></div><div>/usr/local/bin/gfortran -c bla.f -fdefault-real-8 -O3 -fdollar-ok -fmax-errors=6 -fconvert=big-endian -frecord-marker=4 -cpp -mcmodel=large -DMPI -I/usr/local/mpich2/include -L/usr/local/mpich2/lib -I/usr/local/mpich2/include -I/usr/local/mpich2/include</div>
<div><br></div><div>I configured with:</div><div><br></div><div><div><div>./configure --enable-fx --enable-f77 --prefix=/usr/local/mpich2 --enable-shared --enable-sharedlibs=osx-gcc 2>&1 | tee c.txt</div></div></div>
<div><br></div><div><br></div><div>I'm attaching the configure and make (VERBOSE=1) logs too.</div><div><br></div><div>Thanks,</div><div>Brandt</div><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 11 Feb 2011 14:32:01 -0600 (CST)<br>
From: Anthony Chan <<a href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</a>><br>
Subject: Re: [mpich-discuss] Error when compiling with mpif90<br>
To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
Message-ID:<br>
<<a href="mailto:2104102570.47103.1297456321711.JavaMail.root@zimbra.anl.gov">2104102570.47103.1297456321711.JavaMail.root@zimbra.anl.gov</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
<br>
<br>
----- Original Message -----<br>
<br>
> not /usr/bin/mpif90, which gives a different error message about not<br>
> supporting fortran.<br>
><br>
> The output from using show is:<br>
><br>
> /usr/local/bin/gfortran -c bla.f -mcmodel=large<br>
> -I/usr/local/mpich2/include<br>
> -L/usr/local/mpich2/lib -cpp -I/usr/local/mpich2/include<br>
> -I/usr/local/mpich2/include<br>
<br>
I am not familiar with Mac, but AFAIK, mpich2's mpif90 does not add<br>
"-cpp" or "-mcmodel". How did you configure mpich2 ? Can you send us<br>
the configure and make outputs ? I would like to make sure that<br>
your mpich2 build is OK.<br>
<br>
A.Chan<br>
<br>
><br>
> And just to repeat, the compiler error messages are below.<br>
><br>
> /var/folders/zz/zzzivhrRnAmviuee++2ZO++-7KU/-Tmp-//ccsWDdv3.s:23533:junk<br>
> `@PLTOFF' after expression<br>
> /var/folders/zz/zzzivhrRnAmviuee++2ZO++-7KU/-Tmp-//ccsWDdv3.s:23537:junk<br>
> `@GOTOFF' after expression<br>
><br>
<br></blockquote></div>