[MITgcm-devel] Re: gfortran and namelist handling
chris hill
cnh at mit.edu
Thu Mar 22 08:04:49 EDT 2007
Hi Ed,
We should switch to gfortran on FC7.
We will add gfortran to the faulks (now FC6) testing (faulks has
> GNU Fortran 95 (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51).
That should mean we are well set to drop g77 on FC7.
Should netcdf built for g77 on fc6 work with gfortran?
Chris
P.S I assume your -devel subscription died because mit killed your
@mit.edu e-mail. Feel free to add yourself, if you haven't already.
Ed Hill wrote:
> Hi folks,
>
> Someone un-subscribed me from MITgcm-devel so this email may or may not
> get through. *sigh*
>
> In any case, I spent some time this weekend building netCDF and related
> packages for the upcoming Fedora 7 release. In the past, I've tried to
> fully support both g77 and gfortran with netCDF due to some gfortran
> problems--mostly, the namelist extension as documented at:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24459
>
> The good news is that newer gfortran releases have improved. Attached
> is a sample MITgcm output run with the latest gfortran as shipped in
> the Fedora Core 6 updates:
>
> gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)
>
> and it now works on almost all of the MITgcm tests. At least one of
> the failures is probably due to a sloppy input file that can probably
> be easily fixed:
>
> Experiment: deep_anelastic
> At line 1926 of file ini_parms.f
> Fortran runtime error: namelist not terminated with / or &end
>
> And the gfortran to be shipped with Fedora 7 will be even newer
> (4.1.2) so it will have all the above fixes.
>
>
> As a result, I'm tempted to drop netCDF support for g77 within Fedora 7
> when it ships in a few months.
>
> Do you folks have any opinions on the matter? That is, how badly do
> you want or need netCDF for g77 support in Fedora?
>
> Ed
>
>
>
> ------------------------------------------------------------------------
>
>
> -------------------------------------------------------------------------------
> No results email was sent.
> Sun Mar 18 15:44:45 EDT 2007
>
> OPTFILE=/home/edhill/mit/mit_CVS/MITgcm/tools/build_options/linux_ia32_gfortran
>
> ----T----- ----S----- ----U----- ----V----- --PTR 01-- --PTR 02-- --PTR 03-- --PTR 04-- --PTR 05--
> G D M c m s m s m s m s m s m s m s m s m s
> E p a R g m m e . m m e . m m e . m m e . m m e . m m e . m m e . m m e . m m e .
> N n k u 2 i a a d i a a d i a a d i a a d i a a d i a a d i a a d i a a d i a a d
> 2 d e n d n x n . n x n . n x n . n x n . n x n . n x n . n x n . n x n . n x n .
>
> Y Y Y Y 12 16 16 16 16 16 16 16 16 16 16 13 16 16 16 8 16 FAIL MLAdjust
> Y Y Y Y 11 16 16 16 16 16 16 16 16 14 13 12 16 13 13 7 16 FAIL MLAdjust.0.leith
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass MLAdjust.0.leithD
> Y Y Y Y 11 16 16 16 16 16 16 16 16 14 16 12 16 16 13 8 16 FAIL MLAdjust.0.smag
> Y Y Y Y 11 16 16 16 16 16 16 16 16 14 14 12 14 13 13 9 14 FAIL MLAdjust.1.leith
> Y Y Y Y 14 16 16 16 16 22 22 22 22 22 22 22 22 13 4 13 13 pass adjustment.128x64x1
> Y Y Y Y 14 16 16 16 16 22 22 22 22 16 14 10 16 16 16 9 16 pass adjustment.cs-32x32x1
> Y Y Y Y 14 16 16 16 16 22 22 22 22 16 16 0 16 16 16 0 16 pass adjustment.cs-32x32x1.nlfs
> Y Y Y Y -- N/O advect_cs
> Y Y Y Y -- 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 22 N/O advect_xy
> Y Y Y Y -- 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 22 N/O advect_xy.ab3_c4
> Y Y Y Y -- 16 16 16 16 16 16 16 16 16 16 16 16 22 22 22 22 N/O advect_xz
> Y Y Y Y 14 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass aim.5l_Equatorial_Channel
> Y Y Y Y 14 16 16 16 16 16 16 16 16 16 16 16 16 16 16 13 16 pass aim.5l_LatLon
> Y Y Y Y 14 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass aim.5l_cs
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 14 16 pass aim.5l_cs.thSI
> Y Y Y Y 13 16 16 16 16 16 16 16 16 16 16 16 16 16 16 13 16 16 16 16 16 16 16 16 16 pass cfc_example
> Y Y Y N -- N/O deep_anelastic
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass dome
> Y Y Y Y 13 14 16 16 16 16 16 16 16 14 13 13 16 14 14 13 16 pass exp2
> Y Y Y Y 13 16 16 16 16 16 16 16 16 16 14 13 16 16 14 0 16 pass exp2.rigidLid
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass exp4
> Y Y Y Y 13 16 16 16 16 16 16 16 16 14 13 0 13 13 13 0 14 pass exp5
> Y Y Y N -- N/O fizhi-cs-32x32x40
> Y Y Y Y 0 1 9 3 2 0 0 1 1 11 10 3 2 1 10 3 2 FAIL fizhi-cs-aqualev20
> Y Y Y Y 16 16 16 16 16 22 22 22 22 16 16 16 16 16 16 13 16 pass fizhi-gridalt-hs
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass front_relax
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass global_ocean.90x40x15
> Y Y Y N -- N/O global_ocean.cs32x15
> Y Y Y Y 11 14 16 16 16 16 16 16 16 16 13 14 16 16 13 14 16 FAIL global_ocean.cs32x15.thsice
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass global_ocean.cs32x15.viscA4
> Y Y Y Y 12 13 16 16 16 13 16 16 16 14 13 14 13 14 13 16 16 FAIL global_ocean_ebm
> Y Y Y Y 14 13 16 16 16 16 16 16 16 13 14 13 16 12 16 14 16 pass global_with_exf
> Y Y Y Y 15 16 16 16 16 22 22 22 22 13 16 0 16 16 16 9 16 pass hs94.128x64x5
> Y Y Y Y 13 16 16 16 16 22 22 22 22 12 14 16 13 16 16 0 16 pass hs94.1x64x5
> Y Y Y Y 14 16 16 16 16 22 22 22 22 16 16 1 16 16 16 1 16 pass hs94.cs-32x32x5
> Y Y Y Y 13 16 16 16 16 22 22 22 22 16 16 16 16 16 14 16 16 pass hs94.cs-32x32x5.impIGW
> Y Y Y Y 14 16 16 16 16 22 22 22 22 16 16 1 16 16 16 1 16 pass hs94.cs-32x32x5_copy
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass ideal_2D_oce
> Y Y Y Y 16 16 16 16 16 22 16 16 16 16 16 16 16 22 22 22 22 pass internal_wave
> Y Y Y Y 14 16 16 16 16 16 16 16 22 13 13 0 13 13 13 0 13 pass inverted_barometer
> Y Y Y Y 13 16 16 16 16 16 16 16 16 13 12 11 16 12 13 11 14 pass isomip
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass isomip.htd
> Y Y Y Y 14 16 16 16 16 16 16 16 16 16 16 13 16 16 16 16 16 pass lab_sea
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass lab_sea.lsr
> Y Y Y Y 16 16 16 16 22 16 16 16 22 16 16 16 16 16 16 16 16 pass matrix_example
> Y Y Y Y 12 16 16 16 16 16 16 16 16 13 13 13 14 13 13 12 14 FAIL natl_box
> Y Y Y Y 13 16 16 16 16 16 16 16 16 12 12 7 14 12 14 3 14 pass rotating_tank
> Y Y Y Y 13 16 16 16 16 16 16 16 16 16 16 16 16 13 16 16 16 pass solid-body.cs-32x32x1
> Y Y Y Y 14 16 16 16 16 16 16 16 16 16 16 16 16 16 14 0 16 pass tutorial_baroclinic_gyre
> Y Y Y Y 13 16 16 16 22 16 16 16 22 13 14 12 14 14 14 0 16 pass tutorial_barotropic_gyre
> Y Y Y Y -- 16 16 16 16 16 16 16 16 N/O tutorial_cfc_offline
> Y Y Y Y 14 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass tutorial_global_oce_biogeo
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass tutorial_global_oce_in_p
> Y Y Y Y 14 16 16 16 16 16 14 16 16 16 13 16 16 13 16 14 16 16 14 16 16 pass tutorial_global_oce_latlon
> Y Y Y Y 14 13 16 16 16 22 22 22 22 16 16 16 16 16 16 16 16 pass tutorial_held_suarez_cs
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 22 22 22 22 pass tutorial_plume_on_slope
> Y Y Y Y 4 16 6 16 7 16 16 16 1 4 5 9 5 4 5 10 5 FAIL vermix
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass vermix.ggl90
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass vermix.my82
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass vermix.opps
> Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass vermix.pp81
> Start time: Sun Mar 18 15:44:45 EDT 2007
> End time: Sun Mar 18 16:44:16 EDT 2007
>
More information about the MITgcm-devel
mailing list