I'm happy to announce that the first cut at a working
implementation for PDL memory-mapped IO using the
File::Map module has been completed and pushed to
PDL git.

It the process of development, I found a bug in the
File::Map::sys_map routine which I use and have
reported the problem on http://rt.cpan.org.  In the
meantime, the directions to hand-edit the Map.pm
file are included in the Release_Notes (and below).

I plan to push a CPAN developers release once a fixed
File::Map is pushed to CPAN to support automated
install and testing.

In the meantime, debugging and feedback from the
git version is welcome!

Enjoy,
Chris


Release Notes for PDL 2.4.10_001 --------------------------

General Notes:

* Another quick CPAN developers release

  - It is a snapshot of the current git development tree
    and everything may not work correctly or have complete
    documentation.

  - These release notes may not be fully complete.  Please
    see Changes (from the git log) for full details.

  - All tests may not pass, especially ones corresponding
    to issues in Known_problems.

  - Manual build/install is recommended although the
    cpan shell may be used by specifying the distribution
    path rather than just the module name, e.g.:

      cpan> get  CHM/PDL-2.4.10_001.tar.gz
      cpan> make CHM/PDL-2.4.10_001.tar.gz
      cpan> test CHM/PDL-2.4.10_001.tar.gz
      cpan> look CHM/PDL-2.4.10_001.tar.gz

+---------------------------------------------------------------+
| BE WARNED:  This release includes an update to the internal,  |
| C-level PDL API and will require that you re-build all the    |
| PP modules.  Do not install over an existing PDL installation |
| unless you are prepared to do so!!!                           |
+---------------------------------------------------------------+

Highlights:

* mapflex and mapfraw routines for memory-mapped IO have been
  refactored to use the File::Map module.  The new routines
  should work for all platforms having File::Map installed.
  The new implementation should work for 32- and 64-bit perls
  as well as 64-bit file offsets.  Please test and report.

  NOTE: There is a known problem in File-Map-0.46 where the
  $fd argument is not calculated correctly before calling
  the _mmap_impl() routine.  Until a new release of File::Map,
  you can fix the problem by editing the Map.pm file and
  changing line #114 from this:

     my $fd = ($flags & MAP_ANONYMOUS) ? $ANON_FH : $fh;

  to this (by adding fileno() around the $fh):

     my $fd = ($flags & MAP_ANONYMOUS) ? $ANON_FH : fileno($fh);

  The bug has been reported and a developers release of
  PDL with the fixed version as a dependency will be
  released to CPAN for testing.

* Various cleanup to existing code to fix warnings generated
  by perl-5.15.

* Other cleanup and bugs fixed (sf.net bug #3487569).

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to