[MITgcm-devel] Beaufort experiment on mac os x
Jean-Michel Campin
jmc at ocean.mit.edu
Thu Mar 15 15:00:54 EDT 2012
Hi Dimitris,
I will leave this decision to Martin.
Do we have a full "testreport -fast" output with these flags ?
and if yes, could it be sent to mitgcm.org ("-a jmc at mitgcm.org") ?
I think this could be useful.
Cheers,
Jean-Michel
On Thu, Mar 15, 2012 at 11:33:22AM -0700, Menemenlis, Dimitris (3248) wrote:
> Torge, thank you for checking.
>
> Martin and Jean-Michel, will you (or should I?) check in the
>
> NOOPTFILES='ini_masks_etc.F gmredi_calc_psi_bvp.F'
>
> fix for darwin_amd64_gfortran and darwin_ia32_gfortran
>
> Let me know
>
> Dimitris Menemenlis
>
> On Mar 15, 2012, at 11:28 AM, Torge Martin wrote:
>
> > Oh, I changed just the Makefile but did not start my tests with genmake.
> >
> > Thanks, Dimitris, this works!
> >
> > changes to darwin_amd64_gfortran:
> >
> > NOOPTFLAGS='-O0'
> > ### NOOPTFILES=''
> > NOOPTFILES='ini_masks_etc.F gmredi_calc_psi_bvp.F'
> >
> > but you have to be careful because these variables are reset later in
> > the optfile if option -ieee is not used:
> >
> > if test "x$IEEE" = x ; then
> > FFLAGS="$FFLAGS -Wunused -Wuninitialized"
> > FOPTIM='-O3 -ftree-vectorize -funroll-loops'
> > NOOPTFLAGS='-O2 -funroll-loops'
> > NOOPTFILES='gad_c4_adv_x.F gad_u3_adv_x.F'
> > else
> > FFLAGS="$FFLAGS -Wunused"
> > FOPTIM='-O0'
> > fi
> >
> > this should be changed to:
> >
> > if test "x$IEEE" = x ; then
> > FFLAGS="$FFLAGS -Wunused -Wuninitialized"
> > FOPTIM='-O3 -ftree-vectorize -funroll-loops'
> > else
> > FFLAGS="$FFLAGS -Wunused"
> > FOPTIM='-O0'
> > fi
> >
> > Torge
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel
More information about the MITgcm-devel
mailing list