<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=685131819-18032008><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=685131819-18032008><FONT face=Arial
color=#0000ff size=2> Can you try replacing the line as
follows,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=685131819-18032008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN
class=685131819-18032008> INTEGER (KIND=8)
MPI_DISPLACEMENT_CURRENT</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=685131819-18032008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=685131819-18032008><FONT face=Arial
color=#0000ff size=2>to</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=685131819-18032008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN
class=685131819-18032008> INTEGER*8
MPI_DISPLACEMENT_CURRENT</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=685131819-18032008></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=685131819-18032008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=685131819-18032008></SPAN><FONT
face=Arial><FONT color=#0000ff><FONT size=2>R<SPAN
class=685131819-18032008>egards,</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=685131819-18032008>Jayesh</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=685131819-18032008></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT face=Tahoma size=2><B>From:</B>
owner-mpich-discuss@mcs.anl.gov [mailto:owner-mpich-discuss@mcs.anl.gov] <B>On
Behalf Of </B>trymelz trymelz<BR><B>Sent:</B> Tuesday, March 18, 2008 1:55
PM<BR><B>To:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss]
mpif.h compilation error<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I compiled my project with VC6 and Intel FORTRAN compiler, I got the
following error.</DIV>
<DIV> </DIV>
<DIV>C:\PROGRAM FILES\MPICH2\INCLUDE\mpif.h(400) : Error: This is not a valid
data type. [KIND]<BR> INTEGER
(KIND=8) MPI_DISPLACEMENT_CURRENT</DIV>
<DIV> </DIV>
<DIV>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. </DIV>
<DIV> </DIV>
<DIV>Linfa</DIV></DIV><BR>
<HR SIZE=1>
Looking for last minute shopping deals? <A
href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">Find
them fast with Yahoo! Search.</A></BODY></HTML>