This is my code and the name of the file is comp.f:
complex :: x
end program comp
If I compile it with ifort "ifort comp.f", when I run it "./a.out", this is the output:
If I compile it with gfortran "gfortran comp.f", when I run it "./a.out", this is the output:
( 6.30000019 , 1.00000000 )
I need an "ifort"like output. Because I am working in some remote computer, I am forced to use gfortran. But the output is problematic because afterwards I need to read in the output in "Wolfram Mathematica"...so,
Is there anyway that I can get the output I would get with ifort, but using gfortran?