diff --git a/sn3d.cc b/sn3d.cc index 5edd3c80a..6c79d7935 100644 --- a/sn3d.cc +++ b/sn3d.cc @@ -24,7 +24,6 @@ #include #include #include -#include #ifndef GPU_ON #include #endif @@ -718,7 +717,7 @@ auto main(int argc, char *argv[]) -> int { { // initialise the thread and rank specific output file snprintf(filename, MAXFILENAMELENGTH, "output_%d-%d.txt", my_rank, get_thread_num()); - output_file = std::ofstream(filename, std::ios::noreplace); + output_file = std::ofstream(filename); assert_always(output_file.is_open()); #ifdef _OPENMP