demote OMP_NUM_THREAD "warning" to "message" in the hope to be less confusing for inexperienced users
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user