Failed to create standard output file RRS feed

  • Question

  • I am not a programmer by any means.  I have an application that solves finite element problems.  This is being done on a cluster we have set up to solve these large problems.  We have the head node set up and I was using the default template.  When I try to submit a job from the finite element solver it goes through OK, but when I check in the HPC Cluster Manager  I see the job failed. 

    I get the following error message: Failed to create standard output file .  The error code I get is 3.  Does anyone have a clue as to what is going on here from this brief explanation?  If you need additional details please ask.

    Monday, September 26, 2011 3:24 PM

All replies

  • Hi,

    Could you share some more details about how your job is being submitted, for example what commandline is being used? Could you export and share failing job XML file?

    Also what's the version of Windows HPC Server, which you are using?


    Monday, September 26, 2011 9:45 PM
  • Thank you for your reply.   The application I am submitting from has an HPC GUI choice from a pull down menu that allows me to enter in the information.  I just fill in the fields and hit OK.  I"m not sure what the resultant command line looks like.  I was able to export the xml error file and listed the output below.  I changed the name of the servers and directories where applicable just to protect the company.  I am using Server Version 2.2.1841, and Client Version 2.1.1703.

    Thanks again for your assistance.


      <?xml version="1.0" encoding="utf-8" ?>
    - <Job Version="2.000" Id="28" Name="test4" SubmitTime="9/26/2011 2:42:07 PM" CreateTime="9/26/2011 2:41:56 PM" StartTime="9/26/2011 2:49:30 PM" EndTime="9/26/2011 2:49:30 PM" ChangeTime="9/26/2011 2:41:56 PM" UnitType="Core" MinCores="9" MaxCores="9" MinSockets="1" MaxSockets="1" MinNodes="1" MaxNodes="1" RunUntilCanceled="false" IsExclusive="true" ErrorCode="-2147218980" ErrorParams="28.1" State="Failed" PreviousState="Running" UserName="somename\xyz" JobType="Batch" Priority="Normal" RequiredNodes="" IsBackfill="false" NextTaskNiceID="2" HasGrown="false" HasShrunk="false" OrderBy="" TaskLevelUpdateTime="9/26/2011 2:49:30 PM" MinMaxUpdateTime="9/26/2011 2:49:30 PM" ComputedMinCores="1" ComputedMaxCores="1" RequestCancel="None" RequeueCount="3" AutoRequeueCount="0" FailureReason="None" PendingReason="None" ComputedNodeList="US1234567,US1234568" AutoCalculateMax="false" AutoCalculateMin="false" ParentJobId="0" ChildJobId="0" MinCoresPerNode="1" NumberOfCalls="0" NumberOfOutstandingCalls="0" CallDuration="0" CallsPerSecond="0" FailOnTaskFailure="false" Preemptable="true" ProjectId="1" JobTemplateId="4" OwnerId="4" ClientSourceId="4" Project="" JobTemplate="New Job Template 1" DefaultTaskGroupId="31" Owner="somename\xyx" ClientSource="hfss" xmlns="http://schemas.microsoft.com/HPCS2008/scheduler/">
      <Dependencies />
    - <Tasks>
      <Task Version="2.000" Id="16" SubmitTime="9/26/2011 2:49:30 PM" CreateTime="9/26/2011 2:41:56 PM" StartTime="9/26/2011 2:49:30 PM" EndTime="9/26/2011 2:49:30 PM" ChangeTime="9/26/2011 2:49:30 PM" ErrorCode="-2147218990" ErrorParams="US123456:Exception 'Failed to create standard output file 'J:\Directory1\Directory2\Directory3\testfile.progress', error code 3' reported creating the task." State="Failed" PreviousState="Dispatching" ParentJobId="28" RequestCancel="None" Closed="false" RequeueCount="4" AutoRequeueCount="1" FailureReason="ResourceFailure" PendingReason="None" InstanceId="0" Output="" RecordId="16" Name="testfile" MinCores="1" MaxCores="1" MinSockets="1" MaxSockets="1" MinNodes="1" MaxNodes="1" NiceId="1" CommandLine="C:\directory1\directory2\directory3\directory4\directory5\hfss.exe -ng -monitor -distributed -machinelist num=9 -batchoptions " 'hfss/preferences/numberofprocessorsdistributed'=1 'hfss/preferences/numberofprocessors'=1" -batchsolve J:\directoryA\DirectoryB\DirectoryC\testfile.hfss" StdOutFilePath="J:\DirectoryA\DirectoryB\DirectoryC\testfile.progress" StdErrFilePath="J:\DirectoryA\DirectoryB\DirectoryC\testfile.progress" HasCustomProps="false" IsParametric="false" GroupId="31" ParentJobState="Failed" UnitType="Core" ParametricRunningCount="0" ParametricCanceledCount="0" ParametricFailedCount="0" ParametricQueuedCount="0" />
    Tuesday, September 27, 2011 12:34 PM
  • Hi,

    So the full error message from the task is:

    "US123456:Exception 'Failed to create standard output file 'J:\Directory1\Directory2\Directory3\testfile.progress', error code 3' reported creating the task."

    Error code 3 usually means: The system cannot find the path specified.

    Please ensure, that path 'J:\Directory1\Directory2\Directory3' exists before the job is being submitted and that the executing user 'somename\xyz' has appropriate access to it.


    Tuesday, September 27, 2011 5:03 PM
  • That makes sense to me.  I'll give it a try.


    Thank you for your help.

    Tuesday, September 27, 2011 6:49 PM