For Programmers: Free Programming Magazines  


Home > Archive > Fortran > March 2004 > 64bit linux and fortran 90









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 64bit linux and fortran 90
Tony Jay

2004-03-31, 7:47 am

I have had a look in the archives and in google and ...

What are the best options for compiling 64 bit Fortran 90 on a linux box?

We are looking at the possibility of compiling 1000's of files using many
modules and other Fortran 90 features (not fortran 95).

Our programs are highly mixed C++/C/fortran and our 3rd part library
suppliers (ACIS) only claim to support 64 bit Red Hat (although I do not
know what difference the distribution is - the last timeI touched linux was
when it look a w and lots of floppy disks to get it going)

currently we compile on Win32 (cvf), hpux (64) and a couple of other unix
platforms.

Any suggestions ?

Thanks

Tony Jay



Tim Prince

2004-03-31, 9:48 am


"Tony Jay" <Tony.Jay@nospam.bsac.com> wrote in message
news:106lb2knjpkpm30@corp.supernews.com...
> I have had a look in the archives and in google and ...
>
> What are the best options for compiling 64 bit Fortran 90 on a linux box?
>
> We are looking at the possibility of compiling 1000's of files using many
> modules and other Fortran 90 features (not fortran 95).
>
> Our programs are highly mixed C++/C/fortran and our 3rd part library
> suppliers (ACIS) only claim to support 64 bit Red Hat (although I do not
> know what difference the distribution is - the last timeI touched linux

was
> when it look a w and lots of floppy disks to get it going)
>
> currently we compile on Win32 (cvf), hpux (64) and a couple of other unix
> platforms.
>
> Any suggestions ?

This could range all over, if you don't specify what you have in mind. Are
you talking about cross compiling, running the compiler on ia32 linux, for
example? That's not well supported, but possible in principle, as gnu
components could be built to do a cross build. Do you have a particular
architecture in mind? Any specific questions?
I spent some time yesterday attempting x86-64 installations, and trying out
Fortran compilers, with reasonable success on red hat, no success on SuSE.
On different hardware, those results might be reversed, for all I know. Not
so long ago, SuSE had the lead on x86-64. On ia64, I've reached 70 days
uptime, no incentive to re-install linux, but plenty of changes of Fortran
compilers, even though there are not many brands of Fortran for ia64.


Tony Jay

2004-03-31, 11:44 am

Tim.

I am happy to compile native on a 64 bit machine.

I am just trying find out if it is worth purchasing along with compilers

you state "with reasonable success on red hat,"

I'm trying to found out if compilers are in a state where I could compile
and ship production code .

What 64 bit linux f90 compilers are you using ?

Tony

"Tim Prince" <tprince@computer.org> wrote in message
news:xXzac.30769$8n4.26309@newssvr29.news.prodigy.com...
>
> "Tony Jay" <Tony.Jay@nospam.bsac.com> wrote in message
> news:106lb2knjpkpm30@corp.supernews.com...
box?[color=darkred]
many[color=darkred]
> was
unix[color=darkred]
> This could range all over, if you don't specify what you have in mind.

Are
> you talking about cross compiling, running the compiler on ia32 linux, for
> example? That's not well supported, but possible in principle, as gnu
> components could be built to do a cross build. Do you have a particular
> architecture in mind? Any specific questions?
> I spent some time yesterday attempting x86-64 installations, and trying

out
> Fortran compilers, with reasonable success on red hat, no success on SuSE.
> On different hardware, those results might be reversed, for all I know.

Not
> so long ago, SuSE had the lead on x86-64. On ia64, I've reached 70 days
> uptime, no incentive to re-install linux, but plenty of changes of Fortran
> compilers, even though there are not many brands of Fortran for ia64.
>
>



Paul Van Delst

2004-03-31, 12:41 pm

Tony Jay wrote:
> Tim.
>
> I am happy to compile native on a 64 bit machine.
>
> I am just trying find out if it is worth purchasing along with compilers
>
> you state "with reasonable success on red hat,"
>
> I'm trying to found out if compilers are in a state where I could compile
> and ship production code .
>
> What 64 bit linux f90 compilers are you using ?


I don't use it, but pgf90 comes in a 64-bit version (as of v5.1 Or 5. something). I still
use the 32-bit compiler.

cheers,

paulv


>
> Tony
>
> "Tim Prince" <tprince@computer.org> wrote in message
> news:xXzac.30769$8n4.26309@newssvr29.news.prodigy.com...
>
>
> box?
>
>
> many
>
>
> unix
>
>
> Are
>
>
> out
>
>
> Not
>
>
>
>


Tim Prince

2004-03-31, 2:37 pm


"Tony Jay" <Tony.Jay@nospam.bsac.com> wrote in message
news:106lqnfo2h2lf86@corp.supernews.com...
> Tim.
>
> I am happy to compile native on a 64 bit machine.
>
> I am just trying find out if it is worth purchasing along with compilers
>
> you state "with reasonable success on red hat,"
>
> I'm trying to found out if compilers are in a state where I could compile
> and ship production code .
>
> What 64 bit linux f90 compilers are you using ?

I guess you mean x86-64. You still didn't say, other than picking up on my
comment about trying red hat on x86-64.

As Paul mentioned, PGI f90 has been used for some time with success, on the
SuSE 8.2 for x86-64, aside from possible problems with OpenMP and autodouble
option combinations. Intel Fortran for EM64T is still in the just announced
but not yet in beta status.


Scott Robert Ladd

2004-03-31, 3:37 pm

On Wed, 31 Mar 2004 12:32:35 +0100, Tony Jay wrote:

> I have had a look in the archives and in google and ...
>
> What are the best options for compiling 64 bit Fortran 90 on a linux box?
>
> We are looking at the possibility of compiling 1000's of files using many
> modules and other Fortran 90 features (not fortran 95).
>
> Our programs are highly mixed C++/C/fortran and our 3rd part library
> suppliers (ACIS) only claim to support 64 bit Red Hat (although I do not
> know what difference the distribution is - the last timeI touched linux was
> when it look a w and lots of floppy disks to get it going)
>
> currently we compile on Win32 (cvf), hpux (64) and a couple of other unix
> platforms.
>
> Any suggestions ?


I've asked the same question, with mixed results.

I have a dual Opteron workstation running Gentoo-amd64, which is a pure
64-bit Linux (which means 32-bit system libraries like glibc). The Intel
compiler will not run, although I don;t fidn that surprising.

The *only* option I've found is gfortran (formerly g95), which is part of
a forthcoming release of the GNU Compiler Collection (GCC). The only way
to get this compiler (for the moment) is to retrieve a copy of the
tree-ssa development branch from GCC's CVS servers. You can find the
details at http://gcc.gnu.org. The tree-ssa branch will soon be merged
into mainline GCC development, whence it will become GCC 3.5 (the latest
production version being GCC 3.3.x.)

Once you obtain the source code, you must build the compiler yourself; I
do this all the time, and it isn't terribly difficult.

Because gfortran is still in development, it is somewhat incomplete --
but it is getting better every day. It supports a very solid core of
Fortran 95.

--
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)
Software Invention for High-Performance Computing


Scott Robert Ladd

2004-03-31, 3:37 pm

On Wed, 31 Mar 2004 13:45:01 +0000, Tim Prince wrote:
> I spent some time yesterday attempting x86-64 installations, and trying out
> Fortran compilers, with reasonable success on red hat, no success on SuSE.


I've had excellent success with gentoo-amd64, which had an official
release a couple of ws ago. Very stable. SuSE for x86_64 gave me
nothing but grief.

--
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)
Software Invention for High-Performance Computing


Sponsored Links







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

Copyright 2009 codecomments.com