EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problem with areaDetector netCDF files >2GB on win32-x86
From: "Mark Rivers" <[email protected]>
To: <[email protected]>
Cc: [email protected]
Date: Wed, 6 Jul 2011 13:31:18 -0500
Folks,

I have fixed this problem, with help from the netcdfgroup mailing list.
It required some definitions to use 64-bit off_t and lseek, rather than
32-bit.

The updated code is in Subversion:

https://subversion.xor.aps.anl.gov/synApps/areaDetector/trunk/

and areaDetector can now write netCDF files of any size on win32-x86 and
windows-x64.

Mark


-----Original Message-----
From: Mark Rivers 
Sent: Wednesday, June 22, 2011 12:37 PM
To: [email protected]
Cc: [email protected]
Subject: Problem with areaDetector netCDF files >2GB on win32-x86

Folks,

Has anyone tried writing netCDF files with sizes >2GB in areaDetector
with the win32-x86 architecture?

It is crashing with an assert error for me:

Assertion failed: pxp->bf_offset <= offset && offset < pxp->bf_offset +
(off_t) pxp->bf_extent, file ..\posixio.c, line 325

It works fine on linux-x86 and cygwin-x86, where I have written 5GB
files with no problems.  It is the same source code for netCDF on all
platforms, the source code is included in areaDetector.

I know netCDF can do this on Windows, because IDL's netCDF writer
produces files >4GB with no problems.

It must be some #define or compiler flag I am getting wrong, but I
wonder if anyone else has run into this an solved it?

Thanks,
Mark



References:
Problem with areaDetector netCDF files >2GB on win32-x86 Mark Rivers

Navigate by Date:
Prev: Los Alamos forest fire Jeff Hill
Next: [no subject] Szalata, Zenon M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem with areaDetector netCDF files >2GB on win32-x86 Mark Rivers
Next: Sequencer news: latest snapshot Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·