[mpich-discuss] mpif.h compilation error

Jayesh Krishna jayesh at mcs.anl.gov
Tue Mar 18 14:19:36 CDT 2008


Hi,
 Can you try replacing the line as follows,
 
       INTEGER (KIND=8) MPI_DISPLACEMENT_CURRENT
 
to
 
       INTEGER*8 MPI_DISPLACEMENT_CURRENT
 
 
Regards,
Jayesh
 
  _____  

From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of trymelz trymelz
Sent: Tuesday, March 18, 2008 1:55 PM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] mpif.h compilation error


Hi,
 
I compiled my project with VC6 and Intel FORTRAN compiler, I got the
following error.
 
C:\PROGRAM FILES\MPICH2\INCLUDE\mpif.h(400) : Error: This is not a valid
data type.   [KIND]
       INTEGER (KIND=8) MPI_DISPLACEMENT_CURRENT
 
Of course, my FORTRAN source code is following FORTRAN 77 standard, and KIND
is apparently not part of the standard. Does anyone have any suggestions
about this issue (changing my source code to f90 is not an option) ? Thanks.

 
Linfa

  _____  

Looking for last minute shopping deals? Find
<http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/c
ategory.php?category=shopping> them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080318/0e43e9ca/attachment.htm>


More information about the mpich-discuss mailing list