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 (?!)
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).