Commit 849ff25d authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

demote OMP_NUM_THREAD "warning" to "message" in the hope to be less confusing...

demote OMP_NUM_THREAD "warning" to "message" in the hope to be less confusing for inexperienced users
parent faa0b401
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ Comm::Comm(LAMMPS *lmp) : Pointers(lmp)
  } else if (getenv("OMP_NUM_THREADS") == NULL) {
    nthreads = 1;
    if (me == 0)
      error->warning(FLERR,"OMP_NUM_THREADS environment is not set. "
      error->message(FLERR,"OMP_NUM_THREADS environment is not set. "
                           "Defaulting to 1 thread.");
  } else {
    nthreads = omp_get_max_threads();