When there is a run time error while I am debugging my application via Visual Studio 2013, I expect that the debugger should stop on the line that is causing the problem. However, the debugger unexpectedly stops on a C++ code line in another part of our application.
The details of what is occuring:
1. a traceback dialog box titled «Intel(r) Visual Fortran run-time error» appears. It has correct traceback source code and line information about where the error happens in the Fortran code. The dialog has a single «OK» button.
2. I click «OK»
3. Visual Studio produces a dialog box indicating that my application has triggered a breakpoint. It has two buttons, «Break» and «Continue»
4. I click «Break»
5. The debugger breaks in our C++ code in another thread.
6. I navigate the through all of the threads in the thread window and observe the call stack window for each thread to try and locate the Fortran thread, but it is already terminated
What should should I do to signal the debugger to stop on the Fortran source code line instead of producing the run-time error dialog box with the traceback information?
In VS2005 the behavior was for the debugger to stop in the Fortran source code and then when trying to continue the traceback information dialog box would be produced.
Our application is a C++ executable that calls Fortran dlls.
The Fortran compiler switches are as follows:
/nologo /debug:full /MP /Od /free /warn:interfaces /iface:cvf /module:»Debug\» /object:»Debug\» /Fd»Debugvc120.pdb» /traceback /check:all /libs:dll /threads /dbglibs /c
The linker switches are as follows:
/OUT:»Debugacerate.dll» /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:»acerate.dll.intermediate.manifest» /MANIFESTUAC:»level=’asInvoker’ uiAccess=’false'» /DEBUG /PDB:»acerate.pdb» /SUBSYSTEM:WINDOWS /IMPLIB:»acerate.lib» /DLL HTRILogging.lib
My system info:
Microsoft Visual Studio Premium 2013
Version 12.0.30110.00 Update 1
Microsoft .NET Framework
Version 4.5.50938
Installed Version: Premium
Intel(R) Visual Fortran Composer XE 2013 SP1 Update 2 Integration for Microsoft Visual Studio* 2013, 14.0.0086.12
I’m running some simulations in Matlab (solving an inverse problem) on a remote computer running on windows 7 and I’m using a loop in which I call for Ansys Mechanical to do some calculation before using the results.
It was running fine but after several iterations (87) I received an error coming from Ansys Mechanical See the error
Closing this window close Ansys Mechanical and after reopening it, I have the following Ansys Mechanical APDL Launcher Error: «Cannot create required ‘//mypath/../AppData/Ansys/v150/launcher/profiles.lock’ file. Therefore, cannot write to profile information during this launcher session» By clicking on OK on other window open saying «The launcher menu option ‘Write Laucnher Log File’ is selected. However, because you currently only have read access to the launcher profile, you will also not be permitted to write to the launcher log file during this launcher session».
After that, I can sometimes restart my simulation after a while (which will stop after a certain number of iterations) but if I want to start it again just after having seen the error, I get the Fortran error during the first iteration.
I don’t know much about Fortran and I haven’t seen any similar post. Have any of you already had this issue ?
Thanks for the help,
Nathan
Error Message
Attempting to start or use any of the ArcGIS Desktop products returns a Visual Fortran Run-Time error.
Cause
This error may occur when the system locale and the user locale in the Regional Options are not set correctly. ArcGIS loads the appropriate code page files, which are used internally by ArcGIS to support various languages and character sets, to perform language-related operations using both the system locale and the user locale settings.
Solution or Workaround
In order for ArcGIS to run properly under a selected language environment, the same language setting must be selected for the system default locale and the user locale. This procedure must be completed from the administrator account.
<a href=’http://support.esri.com/en/knowledgebase/techarticles/detail/27176′ target=’_blank’>How To: Configure Windows to run ArcGIS in a selected language environment</a>
Related Information
- Microsoft Global Development and Computing Portal
Last Published: 5/5/2016
Article ID: 000005098
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS
Contact US
Thanks. We have received your request and will respond promptly.
Log In
Come Join Us!
Are you an
Engineering professional?
Join Eng-Tips Forums!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts - Keyword Search
- One-Click Access To Your
Favorite Forums - Automated Signatures
On Your Posts - Best Of All, It’s Free!
*Eng-Tips’s functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Posting Guidelines
Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Students Click Here
visual fortran runtime errorvisual fortran runtime error(OP) 28 May 10 11:04 hey, visual fortran runtime error forrtl: severe (38): error during write, unit 70, does anybody knows this problem? thanks so far Wolfgang Red Flag SubmittedThank you for helping keep Eng-Tips Forums free from inappropriate posts. |
Resources
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability — allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Metal 3D printing has rapidly emerged as a key technology in modern design and manufacturing, so it’s critical educational institutions include it in their curricula to avoid leaving students at a disadvantage as they enter the workforce. Download Now
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now |
Join Eng-Tips® Today!
Join your peers on the Internet’s largest technical engineering professional community.
It’s easy to join and it’s free.
Here’s Why Members Love Eng-Tips Forums:
Talk To Other Members- Notification Of Responses To Questions
- Favorite Forums One Click Access
- Keyword Search Of All Posts, And More…
Register now while it’s still free!
Already a member? Close this window and log in.
Join Us Close

Ошибка Runtime Error возникает достаточно часто. Во всяком случае, с ней сталкивается достаточно большое количество пользователей. А возникает она при запуске той или иной программы или игры (помнится, давным-давно при запуске Counter-Strike некоторое время вылетала ошибка Runtime Error 8, пока я ее не исправил). В отличии от многих других ошибок, Runtime Error исправить не так уж сложно, о чем я хочу рассказать вам более подробно.
Причины и решения
Что понять, к какому из действий необходимо прибегнуть для исправления ошибки, надо сначала выяснить, по какой причине она могла возникнуть.
- Скажу сразу, что наиболее популярной причиной, которая встречается в абсолютном большинстве случаев, является обновление программы, либо же ее установка поверх старой версии. Вспомните, если недавно обновили приложении и после этого начала появляться ошибка, значит, проблема именно в обновлении. В этом случае проще всего будет удалить программу полностью с компьютера через «Панель управления», не забыв перенести сохранения, если, например, речь идет об игре. Также я рекомендую очистить реестр от «хвостов», а после этого можно установить программу заново. После этого проблем быть не должно.
- По поводу очистки реестра. Установка обновлений нередко приводит к различным проблемам, возникающим именно в реестре. В принципе, можно попробовать обойтись одной лишь чисткой реестра, не прибегая к удалению программы. Я рекомендую пользоваться такой замечательной программой, как CCleaner. Она распространяется бесплатно (для домашнего пользования) и обладает массой всевозможных функций, одной из который является чистка реестра от поврежденных или проблемных ключей. В принципе, такой же функцией обладают и другие программы, в том числе бесплатные, и по сути нет разницы, чем вы будете пользоваться. Но я все же рекомендую именно CCleaner.
- Допустим, что вы очистили реестр от файлов, а ошибка по-прежнему возникает. Что тогда? Теоретически, возможно проблема кроется во вредоносном файле, который имеется на компьютере. Для его удаление необходимо воспользоваться антивирусом с последними обновлениями, а также утилитой Dr. Web Cureit!, которая отлично справляется с различными троянами и вирусами. Она также бесплатная, скачать ее можно на официальном сайте компании Dr. Web.
- На некоторых форумах пишут, что помогает обновление DirectX. Скачать ее можно на сайте компании Microsoft. Узнать, какая версия утилиты установлена у вас, я уже успел рассказать на страничках сайта.
- Также стоит обратить внимание на текущую версию Visual C++. Для Windows 7 это должна быть Visual C++2010, а для Windows XP — Visual C++2008.
Вот, в общем-то, и все. Эти простые советы должны вам помочь справиться с проблемой, а если этого сделать не получается, напишите мне об этом. Попробуем решить проблему вместе.



