data_base
❭ isf_data_base
❭ IO
❭ LoaderDumper
❭ shared_numpy_store
shared_numpy_store¶
Read and write numpy arrays to and from shared memory.
Shared memory is a memory space that is shared between multiple processes.
Note
This module is speicalized for use with SLURM HPC systems. To use with other systems, set the JOB_SHMTMPDIR environment variable to a directory in shared memory.
Classes¶
Context manager to create an uninterruptible section of code. |
|
Store numpy arrays on disk and share them between processes. |
|
Loader for |
Functions¶
|
Takes an array in memory and puts it into shared memory |
|
Loads a numpy array from disk and puts it into shared memory |
|
Memory map a numpy array on disk. |
|
Loads an existing shared array by its name |
|
Check whether the object can be saved with this dumper. |
|
Dump the shared numpy store in the specified directory. |