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

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



Hi Sergio,
I used imsl in the past with cvf6.6 and TRNSYS16, I had to insert in the beginning of the type's code something like:
use imsl
And 
use <nameofthecalledimslsubroutine>
+ extra configuration of the project properties (usually made automatically when installing the imsl package delivered with CVF) : check that imsl libraries checkbox is activated

In order to look see accurately what/where/when the problem is occurring, you should use the CVF debugger rather than looking in TRNSYS list file.



David

-----Message d'origine-----
De : trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] De la part de Sergio Miguel Alegria Casimiro
Envoyé : jeudi 12 janvier 2012 21:45
À : trnsys-users@cae.wisc.edu
Objet : [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
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users