For Programmers: Free Programming Magazines  


Home > Archive > Fortran > January 2008 > Corresponding g77 options for ifort options









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Corresponding g77 options for ifort options
Kevin VW

2008-01-23, 8:21 am

I'm trying to build some code using g77 that has been developed using
ifort. There are some flags I'm not sure about. Can you give me the
corresponding g77 flags that I should use? The flags are below:

FFLAGS = -fr8 -132 -pad -align all

Thanks,

Kevin
jomarbueyes@hotmail.com

2008-01-23, 7:19 pm

On Jan 23, 6:29 am, Kevin VW <kl.v...@gmail.com> wrote:
> I'm trying to build some code using g77 that has been developed using
> ifort. There are some flags I'm not sure about. Can you give me the
> corresponding g77 flags that I should use? The flags are below:
>
> FFLAGS =3D -fr8 -132 -pad -align all
>
> Thanks,
>
> Kevin


Kevin,

I don't have the g77 compiler, but here is what the man page for ifort
v10.1 shows. You'll need to check the man page for g77 to search for
equivalent options.

-132 Specifies that the statement field of each fixed-form source
line ends at column 132 (same as the -extend-source option)

-pad Enables the changing of the variable and array mem=ADory layout.
The default is -nopad.

-align all
Tells the compiler to add padding bytes whenever possible to obtain
the natural alignment of data items in common blocks, derived types,
and record structures. Specifies -align nocommons, -align dcommons, -
align records, -align nosequence. This is the same as specifying -
align with no keyword.

The man page for ifort v10.1 does not mention the -fr8 flag.

HTH

Jomar
Dr Ivan D. Reid

2008-01-23, 7:19 pm

On Wed, 23 Jan 2008 04:29:45 -0800 (PST), Kevin VW <kl.vanw@gmail.com>
wrote in <238879bf-515c-4145-9d79-eda8a1a3cf8c@l32g2000hse.googlegroups.com>:
> I'm trying to build some code using g77 that has been developed using
> ifort. There are some flags I'm not sure about. Can you give me the
> corresponding g77 flags that I should use? The flags are below:


> FFLAGS = -fr8 -132 -pad -align all


I found a -fr32:

-fr32 (i64 only; L*X only)
Disables use of high floating-point registers. Uses only the
lower 32 floating-point registers.


Hmm, there's also -r8, set default REAL to 8 bytes. That's a more
likely typo...

--
Ivan Reid, School of Engineering & Design, _____________ CMS Collaboration,
Brunel University. Ivan.Reid@[brunel.ac.uk|cern.ch] Room 40-1-B12, CERN
KotPT -- "for stupidity above and beyond the call of duty".
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com