Phillip Helbig wrote:
>
> > Also, in C you have long int (any
> > platform), in Fortran its integer(kind=8) or integer(kind=4) on 32 bit
> > machines.
>
> Use SELECTED_INT_KIND
>
This doesn't ensure the correspondance between C and Fortran types.
In fact the SELECTED_***_KIND functions have little practical
value, unless you write fortran-only code, without any call to
external libraries such as LAPACK. I gave up with them and I came
back to REAL and DOUBLE PRECISION (OK, for integers you have to use
SELECTED_INT_KIND, since there are no other standard way to
declare long integers).
Best regards,
--
+-----------------------------------+----------------------------+
| Pierre Hugonnet | mail....CGG |
| | 1, rue Leon Migaux |
| Seismic Data Processing R&D | 91341 MASSY cedex |
| | FRANCE |
| COMPAGNIE GENERALE DE GEOPHYSIQUE | phone...(33) 164 47 45 59 |
| Massy processing centre (France) | fax.....(33) 164 47 32 49 |
| http://www.cgg.com | [log in to unmask] |
+-----------------------------------+----------------------------+
My opinions are not necessarily those of CGG
--------------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|