Index: /issm/trunk-jpl/src/m/os/dakotaversion.m
===================================================================
--- /issm/trunk-jpl/src/m/os/dakotaversion.m	(revision 15242)
+++ /issm/trunk-jpl/src/m/os/dakotaversion.m	(revision 15243)
@@ -20,6 +20,6 @@
 	tline=fgets(fid);
 	if ~ischar(tline), break, end
-	if  strncmp(tline,'#define DAKOTA_VERSION',22),
-		DAKOTA_VERSION=strtrim(strrep(tline(24:end),'"',''));
+	if  strncmp(tline,'#define _DAKOTA_VERSION_',24),
+		DAKOTA_VERSION=strtrim(strrep(tline(26:end),'"',''));
 	end
 end
Index: /issm/trunk-jpl/src/m/os/dakotaversion.py
===================================================================
--- /issm/trunk-jpl/src/m/os/dakotaversion.py	(revision 15242)
+++ /issm/trunk-jpl/src/m/os/dakotaversion.py	(revision 15243)
@@ -25,6 +25,6 @@
 
 	for tline in fid:
-		if strncmp(tline,'#define DAKOTA_VERSION',22):
-			DAKOTA_VERSION=tline[23:].replace('"','').strip()
+		if strncmp(tline,'#define _DAKOTA_VERSION_',24):
+			DAKOTA_VERSION=tline[25:].replace('"','').strip()
 			break
 
