For large ruptures with long response times the HF code will fail with the following message in stdout
need to recompile with larger array size, exiting...
This error occurs because the buffer for the fourier response spectra is not large enough. The solution (for now) is to recompile the container with an executable with a larger buffer. However, the code currently treats this failure as a success because the binary returns exit code 0. Hence, hf-sim should also capture the stdout, search for this statement and raise a RuntimeError in that case.
For large ruptures with long response times the HF code will fail with the following message in stdout
This error occurs because the buffer for the fourier response spectra is not large enough. The solution (for now) is to recompile the container with an executable with a larger buffer. However, the code currently treats this failure as a success because the binary returns exit code 0. Hence, hf-sim should also capture the stdout, search for this statement and raise a
RuntimeErrorin that case.