GNU Astronomy Utilities - Tasks: task #15198, Specificifying directory for...
You are not allowed to post comments on this tracker with your current authentication level.
task #15198: Specificifying directory for memory-mapped files
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Thu 28 Feb 2019 03:11:38 PM UTC | ||
Should Start On: | Thu 28 Feb 2019 12:00:00 AM UTC | Should be Finished on: | Thu 28 Feb 2019 12:00:00 AM UTC |
Category: | All Gnuastro | Priority: | 5 - Normal |
Item Group: | Enhancement | Status: | Postponed |
Privacy: | Public | Assigned to: | None |
Percent Complete: | 0% | Open/Closed: | Open |
Effort: | 0.00 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-3230.
Corresponding source code
Currently Gnuastro stores memory-mapped files in the `.gnuastro' directory. Since this directory can also host (important) configuration files, it is best that the memory-mapped files are stored separately.
But unlike the fixed `.gnuastro' directory, since memory-mapped files are usually large (and are temporary), the user might have a good scratch place for them on their system. So the user must be able to specify the directory where the memory-mapped file will be kept.
We can add a general option like `--mmapdir' to let the user specify this directory and add an argument to the dataset allocation function in Gnuastro's library (which will decide if the array should be allocated in RAM or on HDD/SSD.