demote OMP_NUM_THREAD "warning" to "message" in the hope to be less confusing for inexperienced users

This commit is contained in:
Axel Kohlmeyer
2016-09-20 08:57:04 -04:00
parent faa0b401aa
commit 849ff25d92

View File

@ -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();