

- #SIMPLY FORTRAN THE DEBUGGER EXECUTABLE COULD NOT BE LOCATED MOD#
- #SIMPLY FORTRAN THE DEBUGGER EXECUTABLE COULD NOT BE LOCATED CODE#
MOD file before.Īll SUBROUTINEs and FUNCTIONs are contained in a small number of modules (examples are AeroDyn, AeroSubs, FAST_Subs, FAST_IO_Subs). It was necessary to ensure that any SUBROUTINEs and FUNCTIONs referenced by my new SUBROUTINE were before the file containing the SUBROUTINE in the list and had successfully been compiled into a.

I have discovered the order in which the files are compiled is dictated by the order of the list passed to ifort (for instance NWTC_files or FAST_files in the NREL DOS batch).
#SIMPLY FORTRAN THE DEBUGGER EXECUTABLE COULD NOT BE LOCATED CODE#
I still cannot get Microsoft Visual Studio to execute the code in debug mode (which would be useful). MOD files were acceptable to the compiler which returned no errors. the form distributed as FAST 7.01), modified the small number of files associated with my new code and then compiled those files only, one-by-one - the links with previously-compiled. In order to solve various errors (of the form: #7002 Unresolved external symbol) I compiled the code in the unchanged form (i.e.

Saving local variables between subroutine calls (or at least relying on the values between subroutine calls, which effectively makes the local variables act as global variables) makes it impossible to allow multiple instances running simultaneously within the same simulation (e.g., you try to model two turbines in the same simulation). It is sloppy programming not to initialize variables in the source code, and having to initialize all variables to zero (/Qzero) can result in doing unnecessary operations. The compiler settings I mentioned are mostly programming issues. (The only possible exception would be if you compiled FAST to call an external dll–like a controller–and then it would depend on the dll.) The operating system takes care of issues associated with storing variables while running simultaneous simulations. You can run multiple copies of FAST simultaneously on the same computer without issue.
