[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TRNSYS-users] IMSL subroutines: Do I need special procedures Using them inside a Component ?



Hi to all,

Can anyone tell me if there are any specific procedures that need to be taken into account when using IMSL subroutines inside a TRNSYS component?

Im having trouble using the IMSL subroutine called ZBREN in a type Im writing (Im using CVF 6.6B with TRNSYS 16. Should I use the new Intel compiler?) I tried to use this routine alone just with Fortran environment, outside of TRNSYS, and it worked well. But I've been trying everything I can remember to make it work with TRNSYS, but I simply can't..


Im using the "trace" function in my component in my deck, and the .lst file does not show any errors or warnings. This file ends after showing the order that the TRNSYs components will be called (after Call 3).
Im using this IMSL routine inside a module attached to my type, but I already tried to have it running just inside the code of the component Im writing, but the result is the same:
"Access violation at address XXXXXXXX in module "TypeXXX.dll'. Write of address xxxxx." ; "An unexpected error was found and TRNSYS will abort"

Any guesses are welcome :)
Thanks !

--

MIT Portugal   |   Ph.D. Candidate Student
Sustainable Energy Systems Program