SAMRAI icon indicating copy to clipboard operation
SAMRAI copied to clipboard

RestartManager path containing double slash

Open PhilipDeegan opened this issue 1 year ago • 0 comments

Hey we've noticed that if we provide a path containing two forward slashes beside each other the following error occurs

P=0000000:Program abort called in file ``/path/to/samrai/source/SAMRAI/tbox/Utilities.cpp'' at line 118
P=0000000:ERROR MESSAGE: 
P=0000000:Error in Utilities::recursiveMkdir...
P=0000000:    Cannot create directory  = path/to/restarts/
P=0000000:

We've wrapped this on our end to not let this happen but maybe you want to handle it too

PhilipDeegan avatar Aug 06 '22 16:08 PhilipDeegan