|
From: Ed . <ej...@ho...> - 2021-08-08 21:38:04
|
Dear PDL folks,
PDL 2.056 has just been released. Notable changes since 2.055:
* Various aggregate functions like “sum” etc (note, not sumover) have been changed from returning Perl scalars (not documented as doing so) to returning ndarrays
* The legacy raw mmap code has been deleted, and the only available memory-mapping mechanism is now the File::Map-using code
* A bug in PDL::IO::FastRaw::mapfraw which pre-allocated RAM before doing the memory-mapping has been fixed, which means this now works (making a 16GB ndarray of 2e9 “double”s):
pdl> use PDL::IO::FastRaw
pdl> $PDL::BIGPDL = 1
pdl> $on_disk = mapfraw('fname', {Creat => 1, Dims => [2000,1000,1000], Datatype=>double});
pdl> p $on_disk->info
PDL: Double D [2000,1000,1000]
Due to changes to the “Core” structure, you will need to reinstall all your PDL modules. Sorry.
As usual, please give it a try and report problems.
Best regards,
Ed
|