Fwd: Having a compile issue
Wei-keng Liao
wkliao at ece.northwestern.edu
Wed Dec 9 16:59:03 CST 2009
Joe,
I am glad the problem is solved.
Wei-keng
Begin forwarded message:
> From: Joe Buck <jbbuck at gmail.com>
> Date: December 9, 2009 4:53:46 PM CST
> To: Wei-keng Liao <wkliao at ece.northwestern.edu>
> Subject: Re: Having a compile issue
>
> Lining up MPI with gfortran (and not what it was using, f77 which
> pointed to fort77 which uses f2c) worked like a charm.
> That was a great catch from the configure and make output. I really,
> really appreciate your help on this.
> If you're ever out in CA near Santa Cruz, let me know and I'll buy
> you a drink or lunch or something :)
> -Joe Buck
>
> On Wed, Dec 9, 2009 at 1:39 PM, Wei-keng Liao <wkliao at ece.northwestern.edu
> > wrote:
> By the way, the command that shows how an MPICH was built is:
> mpich2version
>
> Please try both mpich2version and /install/mpich2-121/bin/
> mpich2version
>
> Wei-keng
>
> Begin forwarded message:
>
> From: Wei-keng Liao <wkliao at ece.northwestern.edu>
> Date: December 9, 2009 3:35:40 PM CST
> To: Joe Buck <jbbuck at gmail.com>
>
> Subject: Re: Having a compile issue
>
> Joe,
>
> Your mpif77 is built with /usr/bin/f77.
>
> In your environment setup, you used /usr/bin/gfortran
> for F77, F90, and FC. But the MPIF77 and MPIF90 variables
> point to the compilers which are not built with gfortran.
> I suspect your /usr/bin/f77 may be different from
> /usr/bin/gfortran.
>
> Can you also run "/install/mpich2-121/bin/mpif77 -v"?
> You will see what Fortran compiler was used to build
> this mpif77.
>
> Can you check if you have an MPICH that is built with
> gfortran? If yes, please try that.
>
> Or you can try by changing F77 and F90 to the actual
> fortran compilers used by your mpif77 and mpif90.
> Basically, match the compilers in MPI and F77/F90.
>
> Wei-keng
>
> On Dec 9, 2009, at 2:56 PM, Joe Buck wrote:
>
> Wei-keng,
> The mpif77 vs/install/mpich2-121/bin/mpif77 was an oversight. I
> have corrected it to be /install/mpich2-121/bin/mpif77 to match up
> with the mpicc (and other variables) naming convention.
>
> Here's the mpif77-v output:
> buck at bender:/git/parallel-netcdf$ mpif77 -v
> mpif77 for MPICH2 version 1.2.1
> /usr/bin/f77: fort77 Version 1.15
> /usr/bin/f77: No input files specified
>
> and I'm attaching the pertinent environment variables.
>
> Best Regards,
> -Joe Buck
> <env.txt>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20091209/b85fc448/attachment.htm>
More information about the parallel-netcdf
mailing list