0

User defined model code in different fortran files

Hi everybody,

I am writting a very long user defined model code for PSS/E, so I would like to know if is possible to separate the code in different fortran files and then compiled them together with the PSS/E compiler? It is really annoying fix a bug with such amount of lines in the same file.

Thanks in advance.

sofiguer's avatar
13
sofiguer
asked 2018-11-29 11:16:45 -0500, updated 2018-11-29 12:02:14 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

Wha you could do is break down your user written fortran code into multiple subroutines and then go ahead and create the dll. You can simply create just one dll for all the different fortran .for files. By clicking on Show Progress in Environment manger, and using a text editor eg: notepad++ or ultraedit, the Environment manager shall be able to tell you exactly which line is your code incorrect

txc's avatar
84
txc
answered 2018-11-30 18:45:21 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

The compiling of different pieces of Fortran code is done by the Fortran compiler, which creates *.obj for each piece of code. Break the code into subroutines. The final aggregation of all *.obj or *.lib files (from the PSSe library set) is done by the linker, creating a final dll file. There is no a 'PSS/e compiler''

jconto's avatar
2.9k
jconto
answered 2018-11-29 15:40:41 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer