In a calculation procedure I usually apply REAL*8 in math operation. However sometimes accuracy/round off errors affect the results. Then I discovered that with IVF REAL*16 is accepted. This brings accuracy to a new level, but the downside is of course that computation time is tripled, at least!
What I wander is, if it is possible to set the KIND=8 or 16 at the time of computation, as a part of the input data?
I made test with REAL (KIND=NOTSET) retset
error #6683: A kind type parameter must be a compile-time constant. [NOTSET]
I think this indicates that the KIND parameter must be set to 4, 8 or 16 before compilation. Or is there a way around?