diff --git a/src/lammps.cpp b/src/lammps.cpp index a23887fdb9..a3dd4c7eb4 100644 --- a/src/lammps.cpp +++ b/src/lammps.cpp @@ -46,6 +46,9 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator) universe = new Universe(this,communicator); output = NULL; + screen = NULL; + logfile = NULL; + // parse input switches int inflag = 0;