[petsc-dev] fortran compiler option

Satish Balay balay at mcs.anl.gov
Wed May 14 14:26:49 CDT 2014


looks like ifort,pgf90 are truly freeform.

absoft-f90, gfortran, sunf90 are limited to 132 chars.

Satish

On Wed, 14 May 2014, Barry Smith wrote:

> 
>   Satish, 
> 
>     gfortran defaults to 132 
> 
> -ffree-line-length-n
> Set column after which characters are ignored in typical free-form lines in the source file. The default value is 132. n may be ‘none’, meaning that the entire line is meaningful. -ffree-line-length-0 means the same thing as -ffree-line-length-none. 
> 
> Request-assigned: Satish   have ./configure check and add the argument ffree-line-length-none when setting up the Fortran compiler
> 
>    Thanks
> 
>     Barry
> 
> Where it does all the other adding of various compiler options deep in BuildSystem
> 
> 


More information about the petsc-dev mailing list