Re: [netcdfgroup] Compiling with Gfortran compilers (4.4.1) for 32 vs 64 bit

  • To: Jonathan Day <imipak@xxxxxxxxx>
  • Subject: Re: [netcdfgroup] Compiling with Gfortran compilers (4.4.1) for 32 vs 64 bit
  • From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
  • Date: Mon, 16 Aug 2010 07:43:42 -0600
Jonathan Day <imipak@xxxxxxxxx> writes:

> This discussion has me curious on one point - G95 is an alternative Fortran 
> compiler for the GCC suite. It's also preferred in some places over GFortran, 
> but the reverse is also true in other contexts.
>
> Are there any known issues with NetCDF when using it with G95 that don't 
> occur with GFortran? (Or issues with GFortran that don't apply when using 
> G95.) Are the two close enough the same that - for the purposes of this 
> GFortran discussion - I can regard them as essentially the same?
>

They are not the same. If you compile netCDF with gfortran and then try
to use g95, it will not work. You must compile netCDF with the same
fortran compiler you use for your netCDF programs.

But netcdf works equally well with either gfortran or g95, and is tested
nightly on both.

So from our point of view it doesn't matter which you use...

Thanks,

Ed

-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: