<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang="RU" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">Dear colleagues, in compiling a program I have a problem with compiling.<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">I use Intel composer_xe_2013 + MKL and mpich2-1.4.1p1.<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">+++++++++++++++++++++++++++++++++++++++<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">MKLPATH=$(MKLROOT)/lib/intel64<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">MKL_FFTW_PATH=$(MKLROOT)/interfaces/fftw3xf/<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">MKLINCLUDE=$(MKLROOT)/include<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">FCOMPILER = mpif90<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">F90COMPILER = mpif90<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">FCOMPILERFLAGS = -O3<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">FCPPFLAGS = -DMPI -DNOMPIMOD<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">FORTRANLIBS = -lifcore -lsvml -lirc -limf -lifport<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">#C:<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">CCOMPILER = mpicc<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">CCOMPILERFLAGS = -O2 -fno-gnu-keywords<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">#CCOMPILERFLAGS = -g -O0<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">CPPFLAGS = -DF_APPENDS_UNDERSCORE=0 -DMPI<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">#LIBRARIES AND INCLUDE DIRECTORIES<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">LAPACKLIB =<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">BLASLIB = -L${MKLPATH} -I${MKLINCLUDE} -Wl,--start-group -mkl=sequential -Wl,--end-group -lpthread<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">FFTWLIB = $(MKL_FFTW_PATH)/libfftw3xf_intel.a<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">EXTRALIBS = -lmpi -lmpich<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">INCLUDEDIRS = -I/opt/intel/mkl/include/fftw<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">++++++++++++++++++++++++++++++++++++++++<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">but.....there is a strange error:<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">++++++++++++++++++++++++++++++++++++++++<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">mpicc -O2 -fno-gnu-keywords -I./include -I../../include -I/opt/intel/mkl/include/fftw -DF_APPENDS_UNDERSCORE=0 -DMPI -c -o bases.o bases.c<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">mpicc -O2 -fno-gnu-keywords -I./include -I../../include -I/opt/intel/mkl/include/fftw -DF_APPENDS_UNDERSCORE=0 -DMPI -c -o basesInterstitial.o basesInterstitial.c<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">In file included from /usr/local/include/mpi.h(1184),<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">from basesInterstitial.c(29):<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">/usr/local/include/mpio.h(142): error: expected a "{"<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">MPI_Status *status) MPICH_ATTR_POINTER_WITH_TYPE_TAG(3,5);<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">In file included from basesInterstitial.c(30):<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">./include/mpicom.h(8): warning #12: parsing restarts here after previous syntax error<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">extern struct {<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">In file included from basesInterstitial.c(30):<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">./include/mpicom.h(12): warning #77: this declaration has no storage class or type specifier<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">} mpicom0_;<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">basesInterstitial.c(922): error: identifier "intrak_mpirank" is undefined<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">mpirank = intrak_mpirank;<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">basesInterstitial.c(923): error: identifier "intrak_mpisize" is undefined<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">mpisize = intrak_mpisize;<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">basesInterstitial.c(924): error: identifier "intrak_comm" is undefined<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">mycomm = MPI_Comm_f2c(intrak_comm);<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">basesInterstitial.c(1246): error: identifier "intrak_mpirank" is undefined<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">mpirank = intrak_mpirank;<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">basesInterstitial.c(1247): error: identifier "intrak_mpisize" is undefined<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">mpisize = intrak_mpisize;<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">basesInterstitial.c(1248): error: identifier "intrak_comm" is undefined<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">mycomm = MPI_Comm_f2c(intrak_comm);<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Times New Roman","serif"">^<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Times New Roman","serif"">+++++++++++++++++++++++++++++++++++++++++++<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:14.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:14.0pt;font-family:"Times New Roman","serif"">I would be very grateful for your help<o:p></o:p></span></p></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Без вирусов. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.ru</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body></html>