diff --git a/Source/driver/Castro_io.cpp b/Source/driver/Castro_io.cpp index 9b08cc95a3..07d9b7334a 100644 --- a/Source/driver/Castro_io.cpp +++ b/Source/driver/Castro_io.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include @@ -579,7 +578,7 @@ Castro::writeJobInfo (const std::string& dir, const Real io_time) jobInfoFile << "output date / time: " << std::put_time(std::localtime(&now), "%c\n") << "\n"; - jobInfoFile << "output dir: " << std::filesystem::current_path() << "\n"; + jobInfoFile << "output dir: " << amrex::FileSystem::CurrentPath() << "\n"; jobInfoFile << "I/O time (s): " << io_time << "\n";