On Mon, May 30, 2005 at 11:17:34PM +0200, Florian Weimer wrote:
> * Steve Kargl:
>
> > I need to add a configure test to determine if MAP_NOSYNC is
> > present.
>
> What about "#ifdef MAP_NOSYNC" in the code? Or do you invoke mmap
> directly from Fortran?
There are sometimes too many TREEs (pun
* Steve Kargl:
> I need to add a configure test to determine if MAP_NOSYNC is
> present.
What about "#ifdef MAP_NOSYNC" in the code? Or do you invoke mmap
directly from Fortran?
gfortran uses mmap for its IO if an OS has mmap. If
found, mmap is used with the MAP_SHARED flag. On linux
(and other OS's) this seems to be okay, but on FreeBSD
IO can significantly degrade if a file pre-exists. In
some testing I've done, linux's MAP_SHARED appears to be
equivalent to FreeBSD's