Index: /issm/trunk-jpl/src/m/qmu/postqmu.m
===================================================================
--- /issm/trunk-jpl/src/m/qmu/postqmu.m	(revision 24539)
+++ /issm/trunk-jpl/src/m/qmu/postqmu.m	(revision 24540)
@@ -1,4 +1,4 @@
 function md=postqmu(md)
-%INPUT function md=postqmu(md,qmufile,qmudir)
+%INPUT function md=postqmu(md)
 %Deal with dakota output results in files.
 
Index: /issm/trunk-jpl/src/m/qmu/postqmu.py
===================================================================
--- /issm/trunk-jpl/src/m/qmu/postqmu.py	(revision 24539)
+++ /issm/trunk-jpl/src/m/qmu/postqmu.py	(revision 24540)
@@ -6,12 +6,11 @@
 
 
-def postqmu(md, qmufile, qmudir='qmu' + str(getpid())):
+def postqmu(md):
     '''
     Deal with dakota output results in files.
 
     INPUT function
-    md = postqmu(md, qmufile, qmudir)
+    md = postqmu(md)
 
-    By default: qmudir = 'qmu' + pid (eg. 'qmu2189')
     '''
 
@@ -24,5 +23,5 @@
             print(fline)
 
-        raise RuntimeError('Dakota returned error in ' + str(qmuerrfile) + ' file.  ' + str(qmudir) + ' directory retained.')
+        raise RuntimeError('Dakota returned error in ' + str(qmuerrfile) + ' file.')
 
     # parse inputs and results from dakota
Index: /issm/trunk-jpl/src/m/qmu/preqmu.m
===================================================================
--- /issm/trunk-jpl/src/m/qmu/preqmu.m	(revision 24539)
+++ /issm/trunk-jpl/src/m/qmu/preqmu.m	(revision 24540)
@@ -6,5 +6,4 @@
 %   options come from the solve.m routine. They can include Dakota options:
 %
-%       qmudir:  any directory where to run the qmu analysis
 %       qmufile: input file for Dakota
 %       ivar: selection number for variables input (if several are specified in variables)
@@ -12,10 +11,7 @@
 %       imethod: same thing for methods
 %       iparams: same thing for params
-%       overwrite: overwrite qmudir before analysis
 
 disp('preprocessing dakota inputs');
-qmudir    = getfieldvalue(options,'qmudir',['qmu' num2str(feature('GetPid'))]);  % qmudir = ['qmu_' datestr(now,'yyyymmdd_HHMMSS')];
-qmufile   = getfieldvalue(options,'qmufile','qmu');% qmufile cannot be changed unless ????script.sh is also changed
-overwrite = getfieldvalue(options,'overwrite','n');
+qmufile   = getfieldvalue(options,'qmufile','qmu');
 ivar      = getfieldvalue(options,'ivar',1);
 iresp     = getfieldvalue(options,'iresp',1);
@@ -23,18 +19,6 @@
 iparams   = getfieldvalue(options,'iparams',1);
 
-%first create temporary directory in which we will work
-%if strncmpi(overwrite,'y',1)
-%	system(['rm -rf ' qmudir '/*']); 
-%else
-%	%does the directory exist? if so, then error out
-%	if exist(qmudir)==7,
-%		error('Existing ''%s'' directory, cannot overwrite. Specify ''overwrite'',''y'' option in solve arguments.',options.qmudir);
-%	end
-%end
-%mkdir(qmudir)
-%cd(qmudir)
-
 %when running in library mode, the in file needs to be called md.miscellaneous.name.qmu.in
-qmufile=[md.miscellaneous.name ];
+qmufile=[md.miscellaneous.name];
 
 %retrieve variables and resposnes for this particular analysis.
Index: /issm/trunk-jpl/src/m/qmu/preqmu.py
===================================================================
--- /issm/trunk-jpl/src/m/qmu/preqmu.py	(revision 24539)
+++ /issm/trunk-jpl/src/m/qmu/preqmu.py	(revision 24540)
@@ -15,5 +15,4 @@
    options come from the solve.py routine. They can include Dakota options:
 
-    qmudir:  any directory where to run the qmu analysis
     qmufile: input file for Dakota
 
@@ -23,31 +22,13 @@
     imethod: same thing for methods
     iparams: same thing for params
-
-    overwrite: overwrite qmudir before analysis
 '''
 
     print('preprocessing dakota inputs')
-    qmudir = options.getfieldvalue('qmudir', 'qmu' + str(os.getpid()))
-    # qmudir = ['qmu_' datestr(now, 'yyyymmdd_HHMMSS')]
     qmufile = options.getfieldvalue('qmufile', 'qmu')
     # qmufile cannot be changed unless ????script.sh is also changed
-    overwrite = options.getfieldvalue('overwrite', 'n')
     options.addfielddefault('ivar', 0)
     options.addfielddefault('iresp', 0)
     options.addfielddefault('imethod', 0)
     options.addfielddefault('iparams', 0)
-
-    # first create temporary directory in which we will work
-    if strncmpi(overwrite, 'y', 1):
-        os.system('rm -rf ' + qmudir + '/* ')
-    else:
-        # does the directory exist? if so, then error out
-        if os.path.isdir(qmudir):
-            raise RuntimeError('Existing ' + str(options.qmudir) + ' directory, cannot overwrite. Specify "overwrite", "y" option in solve arguments.')
-
-    # os.makedirs() raises error when dir exists, matlab's mkdir() does not
-    if not os.path.isdir(qmudir):
-        os.makedirs(qmudir)
-    os.chdir(qmudir)
 
     # when running in library mode, the in file needs to be called md.miscellaneous.name.qmu.in
Index: /issm/trunk-jpl/src/m/solve/loadresultsfromdisk.py
===================================================================
--- /issm/trunk-jpl/src/m/solve/loadresultsfromdisk.py	(revision 24539)
+++ /issm/trunk-jpl/src/m/solve/loadresultsfromdisk.py	(revision 24540)
@@ -58,5 +58,5 @@
     #post processes qmu results if necessary
     else:
-        md = postqmu(md, filename)
+        md = postqmu(md)
 
     return md
