autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testing for fortran 90 modules


From: Rhys Ulerich
Subject: Re: testing for fortran 90 modules
Date: Sun, 17 Jun 2012 12:03:23 -0700

> One of the simplest extensions is an intrinsic module called iso_fortran_env
> which can be included in a fortran program with the use statement.
> The test code would look like this,
>
> program test
> use iso_fortran_env
> write(*,*) 'hello'
> end program

As a nit, I'd use "use, intrinsic :: iso_fortran_env" as it forces
selection of an intrinsic module.  Though unlikely, your version could
be tripped up by the presence of another module named iso_fortran_env.

- Rhys



reply via email to

[Prev in Thread] Current Thread [Next in Thread]