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

visual studio 2005 (using intel fortran) questions related to compiling and directories

wvguy8258
Beginner
373 Views
Hi,

First, let me apologize for my lack of computer science knowledge. I'm an ecologist who has been building spatial simulation models in lahey fortran 90 for a few years that have relatively complex algorithms but a simple structure (read in, manipulate with a few subroutines, write out). This compliler will not read in binary files from IDRISI software that represent spatial maps of locations, so I've recently migrated to intel fortran using visual studio 2005 (because it is free). I would like to learn how to do the following (which was easy in lahey) by manipulating VS 2005 settings.

1. compile without debugging and be able to specify where the resulting .exe file is to be located (right now I can only seem to be able to create a .exe by using the debugger) and have it not be deleted upon exiting VS 2005
2. change settings so that after debugging the .exe files are never deleted and are saved in a place of my choosing and not deleted after closing vs2005
3. find syntax errors in my code without having to run the entire program (simply compiling did this in lahey environment)


Thank you to anyone who can help me in my simple needs.

Seth
0 Kudos
1 Reply
tropfen
New Contributor I
373 Views
Quoting - wvguy8258
Hi,

First, let me apologize for my lack of computer science knowledge. I'm an ecologist who has been building spatial simulation models in lahey fortran 90 for a few years that have relatively complex algorithms but a simple structure (read in, manipulate with a few subroutines, write out). This compliler will not read in binary files from IDRISI software that represent spatial maps of locations, so I've recently migrated to intel fortran using visual studio 2005 (because it is free). I would like to learn how to do the following (which was easy in lahey) by manipulating VS 2005 settings.

1. compile without debugging and be able to specify where the resulting .exe file is to be located (right now I can only seem to be able to create a .exe by using the debugger) and have it not be deleted upon exiting VS 2005
2. change settings so that after debugging the .exe files are never deleted and are saved in a place of my choosing and not deleted after closing vs2005
3. find syntax errors in my code without having to run the entire program (simply compiling did this in lahey environment)


Thank you to anyone who can help me in my simple needs.

Seth


Hello Seth,

- if you want to compile use crtl+F7 (in VS).
- the placement of the resulting exe can be defined in VS menu project / 'project' properties; select linker /general
--- you can do this for the (debug, release and both environments)
--- if you not changing the default placement the exe file ist placed in the debug or release directory inside your project
- if you want to keep your file open a new project ... make your development ... and save it
- most syntax errors your will find by crtl+F7 (compiling)

Frank


0 Kudos
Reply