[Trilinos-Users] Missing -I[MPI_BASE_DIR] in compile line

Heroux, Michael A maherou at sandia.gov
Fri Nov 23 18:34:41 MST 2012


Just a quick response to make sure you saw the quick start guide:


If this doesn't help, please send the full cmake command invocation.


On Nov 23, 2012, at 1:16 PM, "Mitchell James" <james7760 at att.net<mailto:james7760 at att.net>> wrote:

I just did a fresh install of latest Ubuntu desktop and Trilinos. With
MPI_BASE_DIR set to /usr/lib/openmpi
I get a compilation error "cannot find mpi.h" on the first compile.  The
command for the first compile is:

cd /home/mitchell/trilinos-11.0.3-Binary/packages/teuchos/src &&
-I/home/mitchell/trilinos-11.0.3-Source/packages/teuchos/src    -o
CMakeFiles/teuchos.dir/Teuchos_CTimeMonitor.cpp.o -c

I don't see the option "-I/usr/lib/openmpi/include" that I would expect
to see.
Mitchell James

Trilinos-Users mailing list
Trilinos-Users at software.sandia.gov<mailto:Trilinos-Users at software.sandia.gov>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20121124/4287ae38/attachment.html 

More information about the Trilinos-Users mailing list