LLNL / SAMRAI

Structured Adaptive Mesh Refinement Application Infrastructure - a scalable C++ framework for block-structured AMR application development
https://computing.llnl.gov/projects/samrai
Other
224 stars 80 forks source link

RestartManager path containing double slash #210

Open PhilipDeegan opened 2 years ago

PhilipDeegan commented 2 years ago

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