question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Execution stops due to Intlel(r) Visual Fortran run-time error

See original GitHub issue

I am running a transient thermal analysis model, but while the model runs through a few loops, I get prompted a message that there is a Visual Fortran run-time error, it says sth like “forrtl: severe(47): write to READONLY file” and the execution stops. When I press ok, I get the following messages in my Python IDE. Do you have any idea why? The model used to run without problems up until a month ago. The steady state model runs without issues.

  File "D:\Python_projects\opto-thermal-transient-new\opto_thermal-loop.py", line 227, in <module>
    ansys.run("*ENDDO")

  File "C:\Users\E.Chatzizyrli\AppData\Local\Continuum\anaconda3\lib\site-packages\pyansys\mapdl.py", line 250, in __exit__
    self._parent._flush_stored()

  File "C:\Users\E.Chatzizyrli\AppData\Local\Continuum\anaconda3\lib\site-packages\pyansys\mapdl.py", line 1237, in _flush_stored
    out = self.input(tmp_inp, write_to_log=False)

  File "C:\Users\E.Chatzizyrli\AppData\Local\Continuum\anaconda3\lib\site-packages\pyansys\mapdl_functions.py", line 52375, in input
    return self.run(command, **kwargs)

  File "C:\Users\E.Chatzizyrli\AppData\Local\Continuum\anaconda3\lib\site-packages\pyansys\mapdl.py", line 1730, in run
    text = self._run(command, **kwargs)

  File "C:\Users\E.Chatzizyrli\AppData\Local\Continuum\anaconda3\lib\site-packages\pyansys\mapdl_corba.py", line 317, in _run
    text = self._server.executeCommandToString(command)

  File "C:\Users\E.Chatzizyrli\AppData\Local\Continuum\anaconda3\lib\site-packages\ansys_corba\ICoMapdlUnit_idl.py", line 206, in executeCommandToString
    return self._obj.invoke("executeCommandToString", _0_AAS_CORBA.MAPDL.Solvers.ICoMapdlUnit._d_executeCommandToString, args)

EAnsysUnknown: AAS_CORBA.MAPDL.Exceptions.EAnsysUnknown(code=-15, description='Low-level communication error -15: Connection was closed', scope='MAPDL', interfaceName='ICoMapdlUnit', operation='executeCommand', moreInfo='/INPUT,C:\\Users\\E972B~1.CHA\\AppData\\Local\\Temp\\tmp_rhwviqftot.inp,,,,')

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:36 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
germa89commented, Oct 27, 2021

Closing this issue because of inactivity and theoretically the bug is already fixed. OP can re-open the issue if he/she wishes.

0reactions
akaszynskicommented, Aug 4, 2021

We’ve fixed this in a later release, but running ansys.run("/CLEAR") will cause MAPDL to terminate after 20 runs. Use ansys.clear() instead as we handle that correctly within the API.

Can you please check to see if that helps with the memory leak?

Read more comments on GitHub >

github_iconTop Results From Across the Web

List of Run-Time Error Messages - Intel
program execution stops (unless a recovery method is specified) ... info (505): Intel(r) Visual Fortran run-time error.
Read more >
Intel(R) Visual Fortran run-time error on elevated permissions ...
When I run it using Intel(R) Visual Fortran compiler with Visual Studio, I am getting following error message: Error: 740 Elevated permissions ......
Read more >
Resolving PSCAD Issues.pdf
R ECEIVING AN “UNABLE TO EXECUTE A SIMULATION EXECUTABLE FOR ... When compiling a case, PSCAD stops unexpectely, with no runtime error.
Read more >
Locating Run-Time Errors
This topic provides some guidelines for locating the cause of exceptions and run-time errors. Intel Fortran run-time error messages do not usually indicate ......
Read more >
Intel(r) Visual Fortran run-time error (forrtl: severe (24)
Dear admin, I am in the process of running analysis, and after the start of the running the analysis stops and displays a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found