<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 26.11.2012 19:01, schrieb Kevin H.
Hobbs:<br>
</div>
<blockquote cite="mid:50B3AE60.1070200@ohio.edu" type="cite">
<pre wrap="">On 11/26/2012 12:06 PM, Matthias Härtel wrote:
</pre>
<blockquote type="cite">
<pre wrap="">//MPI compiler. Used only to detect MPI compilation flags.
MPI_COMPILER:FILEPATH=C:/Program Files (x86)/OpenMPI_v1.6-x64/bin/mpic++.exe
</pre>
</blockquote>
<pre wrap="">
What does "mpic++ -showme hello.cxx" say? (Or is it more like
"mpic++.exe /showme hello.cxx" on windows?)
</pre>
</blockquote>
<br>
cl.exe hello.cxx /I"C:\OpenMPI_v1.6-win32\bin/../include" /TP /EHsc
/DOMPI_IMPOR<br>
TS /DOPAL_IMPORTS /DORTE_IMPORTS /link
/LIBPATH:"C:\OpenMPI_v1.6-win32\bin/../li<br>
b" libmpi_cxx.lib libmpi.lib libopen-pal.lib libopen-rte.lib
advapi32.lib Ws2_32<br>
.lib shlwapi.lib<br>
<br>
<blockquote cite="mid:50B3AE60.1070200@ohio.edu" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">//MPI include path
MPI_INCLUDE_PATH:STRING="C:\Program;Files;(x86)\OpenMPI_v1.6-x64/include"
</pre>
</blockquote>
<pre wrap="">
This is a very strange path.</pre>
</blockquote>
<br>
the path is quite ok i think... iam actually install openMPI to
C:\OpenMPI\... so there is still the same error<br>
<br>
<blockquote cite="mid:50B3AE60.1070200@ohio.edu" type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">//MPI library to link against
MPI_LIBRARY:FILEPATH=NOTFOUND
</pre>
</blockquote>
<pre wrap="">
Are the libraries actually there?
I have:
MPI_CXX_LIBRARIES:STRING=/usr/lib64/openmpi/lib/libmpi_cxx.so;/usr/lib64/openmpi/lib/libmpi.so;/usr/lib64/libdl.so
So if you have to set MPI_LIBRARY manually just add everything that
mpic++ does separated by ';'.
</pre>
</blockquote>
<br>
All the libraries are there in openMPI\lib. <br>
<br>
<br>
I search also by my self again, and found something new, so that i
can compile without errors.<br>
<a class="moz-txt-link-freetext" href="http://comments.gmane.org/gmane.comp.clustering.open-mpi.user/16878">http://comments.gmane.org/gmane.comp.clustering.open-mpi.user/16878</a><br>
<br>
with this:<br>
<div style="color: rgb(34, 34, 34); font-family: palatino, georgia,
verdana, arial, sans-serif; font-size: small; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 19px; orphans: 2; text-align: justify; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">C/C++ -> Preprocessor-> Preprocessor Definitions:</div>
<div style="color: rgb(34, 34, 34); font-family: palatino, georgia,
verdana, arial, sans-serif; font-size: small; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 19px; orphans: 2; text-align: justify; text-indent:
0px; text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
OMPI_IMPORTS <br>
<br>
its working now!<br>
<br>
<br>
<br>
thanks for your help!<br>
</div>
</body>
</html>