[Trilinos-Users] [EXTERNAL] build error
Andrey Prokopenko
aprokop at sandia.gov
Tue Nov 17 19:51:00 EST 2015
Hi David,
It seems to me that something is wrong with your mpi installation. What
MPI library are you using?
Have you checked that corresponding mpi.h has MPI_Comm_create_keyval?
It seems that mpi.h is found just fine.
-Andrey
On 11/16/2015 10:17 AM, David Hysom wrote:
> Hi,
>
>
>
> I'm attempting to build trilinos-12.4.2 and am getting the following
> errors:
>
>
>
> [ 24%] Building CXX object
> packages/teuchos/comm/src/CMakeFiles/teuchoscomm.dir/Teuchos_MpiReductionOpSetter.cpp.o
>
> /p/lscratchd/hysom/trilinos-12.4.2-Source/packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp:
>
> In function 'void {anonymous}::createReductOp()':
>
> /p/lscratchd/hysom/trilinos-12.4.2-Source/packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp:171:43:
>
> error: 'MPI_Comm_create_keyval' was not declared in this scope
>
> &key, NULL);
>
> ^
>
> /p/lscratchd/hysom/trilinos-12.4.2-Source/packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp:184:52:
>
> error: 'MPI_Comm_set_attr' was not declared in this scope
>
> err = MPI_Comm_set_attr (MPI_COMM_SELF, key, &val);
>
> ^
>
> /p/lscratchd/hysom/trilinos-12.4.2-Source/packages/teuchos/comm/src/Teuchos_MpiReductionOpSetter.cpp:230:36:
>
> error: 'MPI_Comm_free_keyval' was not declared in this scope
>
> (void) MPI_Comm_free_keyval (&key);
>
> ^
>
> make[2]: ***
> [packages/teuchos/comm/src/CMakeFiles/teuchoscomm.dir/Teuchos_MpiReductionOpSetter.cpp.o]
>
> Error 1
>
> make[1]: *** [packages/teuchos/comm/src/CMakeFiles/teuchoscomm.dir/all]
> Error 2
>
> make: *** [all] Error 2
>
>
>
>
>
> I've successfully built earlier versions, and have never seen this error.
>
> Can you offer any advice?
>
>
>
> thanks, David
>
>
>
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20151117/cf6bffc5/attachment.html>
More information about the Trilinos-Users
mailing list