Index: /issm/trunk-jpl/src/m/qmu/dakota_out_parse.m
===================================================================
--- /issm/trunk-jpl/src/m/qmu/dakota_out_parse.m	(revision 22709)
+++ /issm/trunk-jpl/src/m/qmu/dakota_out_parse.m	(revision 22710)
@@ -79,13 +79,22 @@
 	%%  loop through the file to find the Dakota method name
 
-	[fline]=findline(fidi,'methodName = ');
+	[fline]=findline(fidi,'method');
 	if ~ischar(fline)
 		%do nothing
 	else
 		% display(['  ' deblank(fline)]);
-
 		[ntokens,tokens]=fltokens(fline);
-		method=tokens{1}{3};
-		display(sprintf('Dakota methodName=''%s''.',method));
+		%dakota version >6
+		if strcmp(tokens{1}{1}(7),',')
+			fline=fgetl(fidi);
+			[ntokens,tokens]=fltokens(fline);
+			method=tokens{1}{1};
+			display(sprintf('Dakota method =''%s''.',method));
+		elseif strcmp(tokens{1}{1}(7),'N')
+			[fline]=findline(fidi,'methodName = ');
+			[ntokens,tokens]=fltokens(fline);
+			method=tokens{1}{3};
+			display(sprintf('Dakota methodName=''%s''.',method));
+		end
 	end
 
@@ -141,4 +150,6 @@
 			[method]=itcomp_read(fidi,fline);
 		elseif strncmp(fline,'-----',5)
+		elseif strncmp(fline,'<<<<< Environment execution completed',37)
+			break;
 		else
 			display(['Unexpected line: ' deblank(fline)]);
