Lahey/Fujitsu LF95 compatibility help

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Lahey/Fujitsu LF95 compatibility help

dev-2

   Dear,

   I'm new to GNU Fortran and I would appreciate some help on how to compile existing code intended for the Lahey/Fujitsu LF95 compiler.

   On that compiler, the code builds with the following options:
   -nap            -c              -nchk           -nchkglobal     -dal
       -ndbl           -ndll           -nf95           -fix            -ng
       -nin            -ninfo          -li             -nlst           -nlong
       -maxfatals 50   -o0             -npause         -nprivate       -npca
       -nquad          -nsav           -nstaticlink    -stchk          -tp
       -trace          -ntrap          -w              -winconsole     -nwo
       -nxref          -zero

   I would be grateful if you could help me with the corresponding gfortran options.

   Many many thanks,

   vince
Reply | Threaded
Open this post in threaded view
|

Re: Lahey/Fujitsu LF95 compatibility help

jerry DeLisle-3
On 7/14/19 2:23 PM, dev wrote:

>
>     Dear,
>
>     I'm new to GNU Fortran and I would appreciate some help on how to compile existing code intended for the Lahey/Fujitsu LF95 compiler.
>
>     On that compiler, the code builds with the following options:
>     -nap            -c              -nchk           -nchkglobal     -dal
>         -ndbl           -ndll           -nf95           -fix            -ng
>         -nin            -ninfo          -li             -nlst           -nlong
>         -maxfatals 50   -o0             -npause         -nprivate       -npca
>         -nquad          -nsav           -nstaticlink    -stchk          -tp
>         -trace          -ntrap          -w              -winconsole     -nwo
>         -nxref          -zero
>
>     I would be grateful if you could help me with the corresponding gfortran options.
>
>     Many many thanks,
>
>     vince
>

Most of us probably don't use that compiler and I certainly don't have a manual
that explains what those options are.  Your best bet is to start with no options
and work from there.

If you want Fortran 95 compatibility, -std=f95 will enforce it.

Also go here and read:

https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gfortran/

or

https://gcc.gnu.org/onlinedocs/  will show all the manuals based on version you
are using.

Cheers,

Jerry

Reply | Threaded
Open this post in threaded view
|

Re: Lahey/Fujitsu LF95 compatibility help

dev-2
Thank you Jerry for your advice!
My best,
Vince

Il lun 15 lug 2019, 00:28 Jerry DeLisle <[hidden email]> ha scritto:

> On 7/14/19 2:23 PM, dev wrote:
> >
> >     Dear,
> >
> >     I'm new to GNU Fortran and I would appreciate some help on how to
> compile existing code intended for the Lahey/Fujitsu LF95 compiler.
> >
> >     On that compiler, the code builds with the following options:
> >     -nap            -c              -nchk           -nchkglobal     -dal
> >         -ndbl           -ndll           -nf95           -fix
> -ng
> >         -nin            -ninfo          -li             -nlst
>  -nlong
> >         -maxfatals 50   -o0             -npause         -nprivate
>  -npca
> >         -nquad          -nsav           -nstaticlink    -stchk
> -tp
> >         -trace          -ntrap          -w              -winconsole
>  -nwo
> >         -nxref          -zero
> >
> >     I would be grateful if you could help me with the corresponding
> gfortran options.
> >
> >     Many many thanks,
> >
> >     vince
> >
>
> Most of us probably don't use that compiler and I certainly don't have a
> manual
> that explains what those options are.  Your best bet is to start with no
> options
> and work from there.
>
> If you want Fortran 95 compatibility, -std=f95 will enforce it.
>
> Also go here and read:
>
> https://gcc.gnu.org/onlinedocs/gcc-9.1.0/gfortran/
>
> or
>
> https://gcc.gnu.org/onlinedocs/  will show all the manuals based on
> version you
> are using.
>
> Cheers,
>
> Jerry
>
>