Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26731 Discussions

Program runs OK within VS, but not as a standalone

Nikitenko__Eugene
103 Views

Hello,

I am using Composer XE 2011 integrated into MS VS 2010.  I have a couple of separate issues that I hope someone can help me with.

1. The FORTRAN code runs OK when started within VS, but doesn't if started as a standalone exe file.

2. The code doesn't run OK until I put a "write" statement in the body of the code. This "write" statement is absolutely unnecessary for the code, though it makes it run (?!)

Thank you,

Eugene

0 Kudos
1 Reply
mecej4
Black Belt
103 Views

The symptoms indicate that you may have undefined variables and/or array bounds being crossed. Please provide example source code that does what you described. You may consider providing the full code, but it usually works better for you and us if you can pare down the code to a reasonable size (a few hundred lines, if possible).

Reply