![]() In order for TRNSYS to use a subroutine, it needs to be included in the Dynamic Link Library TRNLIB.DLL. Digital Visual Fortran 5.0 (DVF50), 6.0 (DVF60) and Compaq Visual Fortran 6.1 (CVF61) From the Command Line The following command line (DOS prompt) statement will allow the compiler to compile a Fortran subroutine in preparation for linking: fl32 /c /I\trnsys15\include To compile a subroutine using the Compile Module menu item in the TRNSHELL program, enter the File/Setup/Compiler menu and enter the line above on the Compile line (the path for the compiling executable will depend on your installation of DVF50, DVF60 or CVF61). Please look at out web page for the most up to date information about using Fortran compilers with TRNSYS. At the solar lab, we have experience with these two developer studios and encourage their use. In reality, any Fortran compiler that can create a 32 bit Dynamic Link Library (.dll) can be used to recompile TRNSYS. This document deals with two compilers the Microsoft PowerStation FORTRAN Developer Studio and the Digital Visual Fortran developer studio. The information is also available at the end of the third chapter in the main TRNSYS manual (Volume 1). ![]() 1 Using Common Fortran Compilers with TRNSYS This document describes how to add the component that you just created to the trnlib.dll, which contains all the TRNSYS source code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |