diff --git a/dirneucoupling.cc b/dirneucoupling.cc index 3d9380bb44d5069894bc515c81fe1c61240a341f..a38e51a3655f114e8731a30daeec0f79c708384e 100644 --- a/dirneucoupling.cc +++ b/dirneucoupling.cc @@ -713,6 +713,13 @@ int main (int argc, char *argv[]) try << std::endl; } + + // ////////////////////////////// + // Delete temporary memory + // ////////////////////////////// + std::string removeTmpCommand = "rm -rf " + resultPath + "tmp/intermediate*"; + system(removeTmpCommand.c_str()); + // ////////////////////////////// // Output result // //////////////////////////////