[Trilinos-Users] trouble with mpi libraries

Shota Soga ssoga at ncsu.edu
Tue Oct 4 13:35:37 MDT 2011


Hi,

Try the following commands in terminal and cmake trilinos.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your_mpi_path/lib
export PATH=$PATH:/your_mpi_path/bin

Hope this works...

Shota

On Tue, Oct 4, 2011 at 3:14 PM, Dicharry, Will <wdichar at sandia.gov> wrote:

> 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
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
>



-- 
Shota Soga
Graduate Assistant at North Carolina State University

Email: ssoga at ncsu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20111004/f295d14f/attachment.html 


More information about the Trilinos-Users mailing list