[mpich-discuss] Error when compiling with mpif90
Rajeev Thakur
thakur at mcs.anl.gov
Sat Feb 12 19:50:26 CST 2011
What is --enable-fx for? Just try doing
./configure --prefix=/usr/local/mpich2 --enable-shared --enable-sharedlibs=osx-gcc 2>&1 | tee c.txt
Rajeev
On Feb 12, 2011, at 5: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>
> Subject: Re: [mpich-discuss] Error when compiling with mpif90
> To: mpich-discuss at mcs.anl.gov
> Message-ID:
> <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
> >
>
> <c.txt><m.txt>_______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list