Skip to content
Snippets Groups Projects
Commit 5fe62947 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

fix error on module

parent 15096fdd
No related branches found
No related tags found
1 merge request!16MPI operators
Pipeline #30497 failed
......@@ -312,12 +312,17 @@ class IOParams(namedtuple("IOParams", ['filename', 'filepath',
dump_times_fp64 = tuple(map(np.float64, dump_times))
dump_times_fp32 = tuple(map(np.float32, dump_times))
ram_path = IO.ram_path()
if force_ram_fs:
enable_ram_fs = True
if (ram_path is None):
raise RuntimeError('Could not find any memory based filesystem (ramfs, tmpfs).')
try:
ram_path = IO.ram_path()
except RuntimeError:
if force_ram_fs:
raise
else:
ram_path = None
disk_filepath = None
if enable_ram_fs and (ram_path is not None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment