Hello, Everyone,
Is there a way to store global parameters in a .DLL? If so, how can they be called? I've tried
MODULE mod_double
IMPLICIT NONE
! Double precision
INTEGER,PARAMETER::DP=KIND(0.0D0)
END MODULE mod_double
in the DLL but when using the parameter in a program I got a message, that a constant was expected.
The other issue is the PURE attribute, which seems to get lost somewhere on the way. As long as the pure subroutines are called from internal modules, it works just fine. But as soon as they're called from DLLs, they aren't pure anymore. Any advice on that?
Thanks a lot!