Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28456 Discussions

Program runs OK within VS, but not as a standalone

Nikitenko__Eugene
392 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
Honored Contributor III
392 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).

0 Kudos
Reply