When submitting 2019 R3 Mechanical job to Windows HPC cluster through RSM using local scratch as working directory, everything works except 3 issues: •Job State in HPC Job Manager shows “Failed”, rather than “Finished” •Temporarily local scratch folder and solve.out file generated by the job could not be automatically deleted after RSM job is finished. •Below warning in RSM job report log: Traceback (most recent call last): File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 1881, in exitCode = main(sys.argv[1:]) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 345, in main deleteLocalScratchDirectoryOnThisNode(nodeList, True, startingDirectory) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 727, in deleteLocalScratchDirectoryOnThisNode shutil.rmtree(_localScratchDirectory) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 266, in rmtree onerror(os.remove, fullname, sys.exc_info()) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 264, in rmtree os.remove(fullname) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: ‘C:/local/kkyx4xml.xn5solve.out’
- exitCode = main(sys.argv[1:]) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 345, in main deleteLocalScratchDirectoryOnThisNode(nodeList, True, startingDirectory) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 727, in deleteLocalScratchDirectoryOnThisNode shutil.rmtree(_localScratchDirectory) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 266, in rmtree onerror(os.remove, fullname, sys.exc_info()) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 264, in rmtree os.remove(fullname) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: ‘C:/local/kkyx4xml.xn5solve.out’" target="_blank" rel="nofollow" title="LinkedIn">
- exitCode = main(sys.argv[1:]) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 345, in main deleteLocalScratchDirectoryOnThisNode(nodeList, True, startingDirectory) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 727, in deleteLocalScratchDirectoryOnThisNode shutil.rmtree(_localScratchDirectory) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 266, in rmtree onerror(os.remove, fullname, sys.exc_info()) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 264, in rmtree os.remove(fullname) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: ‘C:/local/kkyx4xml.xn5solve.out’" target="_blank" rel="nofollow" title="whatsapp">
- exitCode = main(sys.argv[1:]) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 345, in main deleteLocalScratchDirectoryOnThisNode(nodeList, True, startingDirectory) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 727, in deleteLocalScratchDirectoryOnThisNode shutil.rmtree(_localScratchDirectory) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 266, in rmtree onerror(os.remove, fullname, sys.exc_info()) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 264, in rmtree os.remove(fullname) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: ‘C:/local/kkyx4xml.xn5solve.out’" target="_blank" rel="nofollow" title="reddit">
- exitCode = main(sys.argv[1:]) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 345, in main deleteLocalScratchDirectoryOnThisNode(nodeList, True, startingDirectory) File “head-nodeANSYS Incv195/RSM/Config/scripts/ClusterJobs.py”, line 727, in deleteLocalScratchDirectoryOnThisNode shutil.rmtree(_localScratchDirectory) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 266, in rmtree onerror(os.remove, fullname, sys.exc_info()) File “head-nodeANSYS Incv195commonfilesCPython2_7_15winx64Releasepythonlibshutil.py”, line 264, in rmtree os.remove(fullname) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: ‘C:/local/kkyx4xml.xn5solve.out’" target="_blank" rel="nofollow" title="facebook">
-
-
March 17, 2023 at 1:11 pmSolutionParticipant
Please refer to the attached PDF resolution document.
Attachments:
1. 2061195-revised.pdf
-
Introducing Ansys Electronics Desktop on Ansys Cloud
The Watch & Learn video article provides an overview of cloud computing from Electronics Desktop and details the product licenses and subscriptions to ANSYS Cloud Service that are...
How to Create a Reflector for a Center High-Mounted Stop Lamp (CHMSL)
This video article demonstrates how to create a reflector for a center high-mounted stop lamp. Optical Part design in Ansys SPEOS enables the design and validation of multiple...
Introducing the GEKO Turbulence Model in Ansys Fluent
The GEKO (GEneralized K-Omega) turbulence model offers a flexible, robust, general-purpose approach to RANS turbulence modeling. Introducing 2 videos: Part 1 provides background information on the model and a...
Postprocessing on Ansys EnSight
This video demonstrates exporting data from Fluent in EnSight Case Gold format, and it reviews the basic postprocessing capabilities of EnSight.
- When I am trying to launch Fluent, the GUI is stuck at this message. Host spawning Node 0 on machine “abcd-pc” (win64) There is no error. Same problem in serial mode I am not connected to VPN.
- How many cores are supported with a single or multiple ANSYS HPC pack?
- Unable to save project: Access to the path is denied. Error message is “Access to the path “X:….” is denied”.
- Question: Trying to install and seeing Mount Directory Error “Cannot locate file for media #::1…”
- Tutorial:: Remote Solve Manager Tutorial: Configuring an Advanced ANSYS RSM Cluster (ARC) R18
- Q: How do I set the license server from my client machine?
- Failover feature ‘Discovery – Level 1’ is not available
- Are Ansys versions compatible with one another ?
- What is the limit on number of nodes for university licenses?
- How do I configure RSM to send a solve to a remote machine (no scheduler)?
© 2025 Copyright ANSYS, Inc. All rights reserved.