This code is run on code blocks, as a fortran application project. Although I intend to use it as a dll to a C# program, currently they are completely unrelated.
Also, the code runs fine, the error shows on PRINT only. Try this, and check the output:
program hello
implicit none
COMPLEX rk...