[MITgcm-devel] darwin_ia32_gfortran

Jean-Michel Campin jmc at ocean.mit.edu
Tue Sep 20 10:56:28 EDT 2011


Hi Martin,

I fixed the FFLAGS. 
And regarding INCLUDES & LIBS setting,
1) I think that this is somehow consistent with what
  was there in the previous optfile & in darwin_ia32_gfortran+mpi
2) since I was not able to test this optfile, and don't know
  how standard those path are (especially in the +mpi one)
  I did not want to add some problems with netcdf path.
  So, yes, I was aware of NETCDF_ROOT beeing ignored when using
  default MPI (without MPI_INC_DIR).
If you can test improve this (and better, if you have a
way to test it), please go for it.

Cheers,
Jean-Michel

Oe Mon, Sep 19, 2011 at 03:17:30PM +0200, Martin Losch wrote:
> Jean-Michel,
> 
> just to make sure before I change this: the current lines 52-54 in darwin_ia32_gfortran:
> > FFLAGS="$FFLAGS -fsecond-underscore -fconvert=big-endian"
> > #- might want to use '-fdefault-real-8' for fizhi pkg:
> > #FFLAGS="$FFLAGS -fdefault-real-8"
> are pretty much useless as FFLAGS is overwritten in the "if tIEEE; then" block. I suggest moving the below this block (i.e. after line 64).
> 
> The same is true for the includes and libs that are overwritten by some mpi-paths at the end of the file.
> 
> Martin
> 
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel



More information about the MITgcm-devel mailing list