Re: Need some HELP!! In a pre-version fortran codes
- From: fj <francois.jacq@xxxxxxx>
- Date: Mon, 23 Jul 2007 12:26:24 -0700
On 23 juil, 15:39, Tim Prince <timothypri...@xxxxxxxxxxxxx> wrote:
neallee...@xxxxxxxxx wrote:
Thank you, FJ, glen, Tim Prince.
i think that is the answer, well, i know this is a Cray pointer/blank
common technique,
but how can i use some compiler which supports this feature, and i
could understand these codes step by step??
You can get pre-built copies of gfortran at gfortran wiki, or build it
(using gcc) from the gnu source code mirrors.
You already found that Intel (and other commercial compilers) support
Cray pointers, one way or another. Ifort supports Cray pointer by
default, but turns off loop optimizations unless you set the
safe-cray-ptr option.
I've used Fortran since before Cray pointers were invented. Even now
that they are obsolete, I keep running into ways of using them which I
hadn't seen before. They aren't well suited to easy understanding. The
presence of the safe-cray-ptr option in one compiler should tell you
that they aren't always used correctly, and the compiler can't diagnose
problems.
I don't understand why you are speaking about Cray pointer. The use of
a blank common has nothing to do with a Cray pointer. And the
technique applied here remains valid with any modern Fortran compiler
(g95, ifort, lf93, cvf ...) under a single condition : deactivate any
option checking out of bounds !
.
- Follow-Ups:
- Re: Need some HELP!! In a pre-version fortran codes
- From: nealleehit
- Re: Need some HELP!! In a pre-version fortran codes
- From: Richard Maine
- Re: Need some HELP!! In a pre-version fortran codes
- References:
- Need some HELP!! In a pre-version fortran codes
- From: nealleehit
- Re: Need some HELP!! In a pre-version fortran codes
- From: Tim Prince
- Re: Need some HELP!! In a pre-version fortran codes
- From: nealleehit
- Re: Need some HELP!! In a pre-version fortran codes
- From: Tim Prince
- Need some HELP!! In a pre-version fortran codes
- Prev by Date: Re: Q: Best reference for a F77 programmer learning F90?
- Next by Date: Re: Reading in data from several files
- Previous by thread: Re: Need some HELP!! In a pre-version fortran codes
- Next by thread: Re: Need some HELP!! In a pre-version fortran codes
- Index(es):
Relevant Pages
|