Change error to warning for missing OMP_NUM_THREADS
[alexxy/gromacs.git] / src / gromacs / gmxlib / gmx_omp_nthreads.c
index 9549b91cb414d461d05f6720f4362b3feb2dc12a..68fdbb37e7074d423a457407926c9c19e29bb644 100644 (file)
@@ -145,9 +145,9 @@ static void pick_module_nthreads(FILE *fplog, int m,
          * OMP_NUM_THREADS also has to be set */
         if (bFullOmpSupport && getenv("OMP_NUM_THREADS") == NULL)
         {
-            gmx_fatal(FARGS, "%s=%d is set, the default number of threads also "
-                      "needs to be set with OMP_NUM_THREADS!",
-                      modth_env_var[m], nth);
+            gmx_warning("%s=%d is set, the default number of threads also "
+                        "needs to be set with OMP_NUM_THREADS!",
+                        modth_env_var[m], nth);
         }
 
         /* with the group scheme warn if any env var except PME is set */