[mpich-discuss] Error when compiling with mpif90
Pavan Balaji
balaji at mcs.anl.gov
Sun Feb 13 16:30:13 CST 2011
Brandt,
The email you just sent to mpich-discuss at mcs was rejected because it was
too big (7MB). Please compress the files before sending them.
Thanks,
-- Pavan
On 02/12/2011 05:03 PM, Brandt Belson wrote:
> Ok, I've added those flags, along with some others, but I still get the
> same error. The output from show is:
>
> /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
>
> I configured with:
>
> ./configure --enable-fx --enable-f77 --prefix=/usr/local/mpich2
> --enable-shared --enable-sharedlibs=osx-gcc 2>&1 | tee c.txt
>
>
> I'm attaching the configure and make (VERBOSE=1) logs too.
>
> Thanks,
> Brandt
>
>
>
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 11 Feb 2011 14:32:01 -0600 (CST)
> From: Anthony Chan <chan at mcs.anl.gov <mailto:chan at mcs.anl.gov>>
> Subject: Re: [mpich-discuss] Error when compiling with mpif90
> To: mpich-discuss at mcs.anl.gov <mailto:mpich-discuss at mcs.anl.gov>
> Message-ID:
> <2104102570.47103.1297456321711.JavaMail.root at zimbra.anl.gov
> <mailto:2104102570.47103.1297456321711.JavaMail.root at zimbra.anl.gov>>
> Content-Type: text/plain; charset=utf-8
>
>
>
> ----- Original Message -----
>
> > not /usr/bin/mpif90, which gives a different error message about not
> > supporting fortran.
> >
> > The output from using show is:
> >
> > /usr/local/bin/gfortran -c bla.f -mcmodel=large
> > -I/usr/local/mpich2/include
> > -L/usr/local/mpich2/lib -cpp -I/usr/local/mpich2/include
> > -I/usr/local/mpich2/include
>
> I am not familiar with Mac, but AFAIK, mpich2's mpif90 does not add
> "-cpp" or "-mcmodel". How did you configure mpich2 ? Can you send us
> the configure and make outputs ? I would like to make sure that
> your mpich2 build is OK.
>
> A.Chan
>
> >
> > And just to repeat, the compiler error messages are below.
> >
> >
> /var/folders/zz/zzzivhrRnAmviuee++2ZO++-7KU/-Tmp-//ccsWDdv3.s:23533:junk
> > `@PLTOFF' after expression
> >
> /var/folders/zz/zzzivhrRnAmviuee++2ZO++-7KU/-Tmp-//ccsWDdv3.s:23537:junk
> > `@GOTOFF' after expression
> >
>
>
>
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the mpich-discuss
mailing list