Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / mdlib / qm_orca.c
index a8860d679fd5bb84f49e429168445b0d6fdb261c..2b4912d073168ae873f0f04a2a862ad23f8e1793 100644 (file)
@@ -67,7 +67,7 @@ void init_orca(t_QMrec *qm)
     snew(buf, 200);
 
     /* ORCA settings on the system */
-    buf = getenv("BASENAME");
+    buf = getenv("GMX_QM_ORCA_BASENAME");
     if (buf)
     {
         snew(qm->orca_basename, 200);
@@ -75,12 +75,12 @@ void init_orca(t_QMrec *qm)
     }
     else
     {
-        gmx_fatal(FARGS, "$BASENAME not set\n");
+        gmx_fatal(FARGS, "$GMX_QM_ORCA_BASENAME is not set\n");
     }
 
     /* ORCA directory on the system */
     snew(buf, 200);
-    buf = getenv("ORCA_PATH");
+    buf = getenv("GMX_ORCA_PATH");
 
     if (buf)
     {
@@ -89,7 +89,7 @@ void init_orca(t_QMrec *qm)
     }
     else
     {
-        gmx_fatal(FARGS, "$ORCA_PATH not set, check manual\n");
+        gmx_fatal(FARGS, "$GMX_ORCA_PATH not set, check manual\n");
     }
 
     fprintf(stderr, "Setting ORCA path to: %s...\n", qm->orca_dir);