Questions tagged [g95]
8 questions
2
votes
2 answers
are gfortran and g95 both still supported?
I have heard that g95 is no longer active. Which compiler is now the appropriate one to use (I would be grateful for an up-to-date overview)

peter.murray.rust
- 37,407
- 44
- 153
- 217
2
votes
1 answer
g95 vs gfortran : Dummy procedure 'f' of PURE procedure at (1) must also be PURE
....
abstract interface
pure function fi(t,u) result (fu)
use NumberKinds
real(kp), dimension(:), intent(in) :: u
real(kp), intent(in) :: t
real(kp), dimension(size(u)) :: fu
end function fi
end…

tgoossens
- 9,676
- 2
- 18
- 23
2
votes
2 answers
Undefined reference to 'qcos_' and '_g95_qcos_r16' with quad precision in G95
I tried to make quad precision on FORTRAN[real(kind=16)], but I keep getting error
C:\User\User\AppData\Local\Temp/ccUMY6b.0:forcefunction.f95:(.text+0x437):
undefined reference to 'qcos_'
I tried to change qcos to cos…

Saesun Kim
- 203
- 1
- 3
- 14
1
vote
0 answers
What is the first version of gfortran / ifort / nagfor / g95 that supports ieee_arithmetic?
I would like to decide whether ieee_arithmetic is supported by the Fortran compiler being used. I suppose this can be done, for example, in the preprocessing by checking some macros. To do this, I would like to know the following.
What is the first…

Nuno
- 256
- 1
- 11
1
vote
1 answer
`Allocatable array must have deferred shape` when moving from g95 to gfortran
When transitioning from using the g95 compiler to gfortran I get the following error when I try to compile what previously had been a working code
Error: Allocatable array ' ' at (1) must have a deferred shape
This happens in all of my subroutines…

spacegirl1923
- 173
- 2
- 11
0
votes
0 answers
Fortran: Implement a subroutine that accepts another subroutine as an argument in Fortran 90/95
I would like to write a Fortran subroutine that accepts the name of another subroutine as an argument --- imagine that the first subroutine is a PDE solver while the second provides the right-hand side of the PDE. Note that the second subroutine may…

Nuno
- 256
- 1
- 11
0
votes
1 answer
Make error with g95: Could not determine flag to name executables
I am trying to build EXCiT!NG with the g95 compiler. It seams to work until this errors appear:
checking for linker flag to name executables... configure: error: Could not determine flag to name executables
See `config.log' for more…

Robin Owelov
- 5
- 2
0
votes
0 answers
Can't compile my simple fortran helloworld code
I'm completely new to fortran, and have only done some python and c++ before. I tried following a tutorial, but couldn't get my compiler to work.
When I try the program:
program helloworld
print *,"Hello World!"
end program helloworld
saved as…

Ziltoid
- 1