Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
27779 Discussions

Program runs OK within VS, but not as a standalone



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,


0 Kudos
1 Reply
Black Belt

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).