<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Markus, thanks for the help, sorry for the late reply...we are
a bit under pressure.<br>
I am right now trying out your suggestions. In fact, the MPI compile
flags are added in<br>
the respective cmake file, cf. below, but when I run the compile
with make VERBOSE=1<br>
then I see this:<br>
<br>
Greetings & thanks, Benedikt<br>
<br>
<br>
aint103 hades/3ddgfd> make VERBOSE=1<br>
cd /scratch/daint/boswald/gitwork/hades/build-cmake &&
/apps/daint/cmake/2.8.12.2/bin/cmake
-H/scratch/daint/boswald/gitwork/hades
-B/scratch/daint/boswald/gitwork/hades/build-cmake
--check-build-system CMakeFiles/Makefile.cmake 0<br>
cd /scratch/daint/boswald/gitwork/hades/build-cmake &&
/apps/daint/cmake/2.8.12.2/bin/cmake -E cmake_progress_start
/scratch/daint/boswald/gitwork/hades/build-cmake/CMakeFiles
/scratch/daint/boswald/gitwork/hades/build-cmake/hades/3ddgfd/CMakeFiles/progress.marks<br>
cd /scratch/daint/boswald/gitwork/hades/build-cmake && make
-f CMakeFiles/Makefile2 hades/3ddgfd/all<br>
make[1]: Entering directory
`/scratch/daint/boswald/gitwork/hades/build-cmake'<br>
make -f hades/3ddgfd/CMakeFiles/hades3ddgfd.dir/build.make
hades/3ddgfd/CMakeFiles/hades3ddgfd.dir/depend<br>
make[2]: Entering directory
`/scratch/daint/boswald/gitwork/hades/build-cmake'<br>
cd /scratch/daint/boswald/gitwork/hades/build-cmake &&
/apps/daint/cmake/2.8.12.2/bin/cmake -E cmake_depends "Unix
Makefiles" /scratch/daint/boswald/gitwork/hades
/scratch/daint/boswald/gitwork/hades/hades/3ddgfd
/scratch/daint/boswald/gitwork/hades/build-cmake
/scratch/daint/boswald/gitwork/hades/build-cmake/hades/3ddgfd
/scratch/daint/boswald/gitwork/hades/build-cmake/hades/3ddgfd/CMakeFiles/hades3ddgfd.dir/DependInfo.cmake
--color=<br>
make[2]: Leaving directory
`/scratch/daint/boswald/gitwork/hades/build-cmake'<br>
make -f hades/3ddgfd/CMakeFiles/hades3ddgfd.dir/build.make
hades/3ddgfd/CMakeFiles/hades3ddgfd.dir/build<br>
make[2]: Entering directory
`/scratch/daint/boswald/gitwork/hades/build-cmake'<br>
/apps/daint/cmake/2.8.12.2/bin/cmake -E cmake_progress_report
/scratch/daint/boswald/gitwork/hades/build-cmake/CMakeFiles 8<br>
[100%] Building CXX object
hades/3ddgfd/CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o<br>
cd /scratch/daint/boswald/gitwork/hades/build-cmake/hades/3ddgfd
&& /opt/cray/craype/2.2.1/bin/CC -DENABLE_BOOST
-DHAVE_CONFIG_H -Wall -O2
-I/users/boswald/extlib/superludist/3.3/cray-mpich/7.1.1/gcc/4.9.2/SRC
-std=c++11 -I/scratch/daint/boswald/gitwork/hades/build-cmake
-I/scratch/daint/boswald/gitwork/hades
-I/scratch/daint/boswald/gitwork/dune-common
-I/scratch/daint/boswald/gitwork/dune-geometry
-I/scratch/daint/boswald/gitwork/dune-grid
-I/scratch/daint/boswald/gitwork/dune-alugrid
-I/scratch/daint/boswald/gitwork/dune-localfunctions
-I/scratch/daint/boswald/gitwork/dune-istl
-I/users/boswald/extlib/boost/1.57.0/gcc/4.9.2/include
-DHAVE_SUPERLU_DIST -DCMAKE_SYSTEM_NAME=Linux -o
CMakeFiles/hades3ddgfd.dir/hades3ddgfd.cc.o -c
/scratch/daint/boswald/gitwork/hades/hades/3ddgfd/hades3ddgfd.cc<br>
/scratch/daint/boswald/gitwork/hades/hades/3ddgfd/hades3ddgfd.cc:41:2:
warning: #warning "warning:::HAVE_MPI is def'd !!!" [-Wcpp]<br>
#warning "warning:::HAVE_MPI is def'd !!!"<br>
^<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 25/03/15 17:08, Markus Blatt wrote:<br>
</div>
<blockquote cite="mid:20150325160829.GB4477@boromir.dr-blatt.de"
type="cite">
<pre wrap="">Hi,
On Wed, Mar 25, 2015 at 05:01:12PM +0100, Benedikt Oswald wrote:
</pre>
<blockquote type="cite">
<pre wrap="">it may be a silly mistake of mine, but I keep getting errors like this,
cf. below, although I include the mpi helper class and mpi collective
communication etc.
Would you have any idea on what is going wrong ?
/scratch/daint/boswald/gitwork/hades/communicationinterface/globaluniqueindex.hh:101:58:
error: 'MPI_Comm' was not declared in this scope
typedef typename Dune::template CollectiveCommunication<MPI_Comm>
Collective;
</pre>
</blockquote>
<pre wrap="">
Maybe the MPI compile flags are not added for this particular
executable? Can you see them with "make VERBOSE=1 <target>" ?
Markus
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@dune-project.org">Dune@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a>
</pre>
</blockquote>
<br>
</body>
</html>