[petsc-dev] fortran compiler option

Barry Smith bsmith at mcs.anl.gov
Wed May 14 15:54:49 CDT 2014


  add the gfortran flag as I requested and turn gfortran into true free-form. And check the others for options also.

   Thanks

   Barry

On May 14, 2014, at 2:26 PM, Satish Balay <balay at mcs.anl.gov> wrote:

> 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