[Trilinos-Users] trouble with mpi libraries
Dicharry, Will
wdichar at sandia.gov
Tue Oct 4 13:14:33 MDT 2011
Hi William,
Did you pass -DTPL_ENABLE_MPI=ON as well as -DMPI_BASE_DIR? If so, was
Cmake able to locate your wrapper compilers? You can check this by looking
for something like
Detecting CXX compiler: /path/to/mpiCC
In the initial Cmake output.
-- Will
On 10/4/11 12:47 PM, "Edsall, William (WJ)" <WJEdsall at dow.com> wrote:
>Hello list,
> I¹m trying to build trilinos for tramanto. I have been unable to get the
>mpi.h recognized by the compiler.
>
>--example during make
>/tmp/tramanto/trilinos/trilinos-10.6.4-Source/packages/epetra/src/Epetra_C
>_wrappers.cpp:47:17: error: mpi.h: No such file or directory
>
>As suggested in the documentation I¹ve been providing D MPI_BASE_DIR.
>I¹ve tried a fresh compile of mpich2 as well as Rocks default openmpi.
>
>Using ccmake: /tmp/tramanto/cmake-2.8.5-Linux-i386/bin/ccmake -D
>MPI_BASE_DIR=/tmp/tramanto/mpich2 `pwd`
>
>There are many flags for the mpi libraries which ones are most
>important? Thanks in advance.
>
>_______________________________________
>William J. Edsall
>
>
>
>
>_______________________________________________
>Trilinos-Users mailing list
>Trilinos-Users at software.sandia.gov
>http://software.sandia.gov/mailman/listinfo/trilinos-users
More information about the Trilinos-Users
mailing list