[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
Mitchell,
Just a quick response to make sure you saw the quick start guide:
http://trilinos.sandia.gov/Trilinos10CMakeQuickstart.txt
If this doesn't help, please send the full cmake command invocation.
Mike
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
TPL_ENABLE_MPI enabled
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 &&
/usr/bin/c++ -DTEUCHOS_LIB_EXPORTS_MODE -O3
-I/home/mitchell/trilinos-11.0.3-Binary
-I/home/mitchell/trilinos-11.0.3-Binary/.
-I/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
/home/mitchell/trilinos-11.0.3-Source/packages/teuchos/src/Teuchos_CTimeMonitor.cpp
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>
http://software.sandia.gov/mailman/listinfo/trilinos-users
-------------- 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