Top "Fortran95" questions

Fortran 95 is a minor revision, mostly to resolve some outstanding issues from the Fortran 90 standard.

Fortran: the largest and the smallest integer

Fortran is completely new for me, can anybody help me to solve the follwing problem? I want to find out …

fortran fortran95
Is there a standard way to check for Infinite and NaN in Fortran 90/95?

I've been trying to find a standards-compliant way to check for Infinite and NaN values in Fortran 90/95 but it proved …

fortran fortran95
Reading a character string of unknown length

I have been tasked with writing a Fortran 95 program that will read character input from a file, and then (to …

input fortran character string-length fortran95
Line truncated, Syntax error in argument list

When I compile the program below, I have an error and a warning in the call Coor_Trans command line …

fortran call subroutine fortran95
In fortran how to read all strings line by line from a .dat file in fortran

I have a .dat file , from which I am trying to read line by line and print it. Can anyone …

fortran fortran90 fortran95
Fortran: How to read to an array from a file

I'm trying to read integers from a file to an array. But I get an error when I run the …

io fortran fortran90 fortran77 fortran95
How to remove leading space when printing with write?

Suppose I have the following code program fortran open(900, FILE='SOMETHING') write(900, *) '21' end program fortran The file form …

fortran fortran95
Fortran functions returning unexpected types and values

I'm working on a project that needs to implement few numerical methods in Fortran. For this, I need to write …

function recursion fortran fortran95
Fortran 95 Do-While Loop Not Exiting on False Condition

Here is my code: program change integer:: amount, remainder, q, d, n, p amount = 47 remainder = amount print*,remainder q = 0 d = 0 …

fortran while-loop exit do-while fortran95
Fortran 90/95 library for sparse matrices?

I am looking for a library for dealing with sparse matrices in fortran 90/95. I only need very basic operations like …

fortran sparse-matrix fortran90 blas fortran95