[Trilinos-Users] Unexpected error compiling

Lyle Bickley lbickley at bickleywest.com
Mon Jul 20 21:28:30 EDT 2015


I'm a new Trilinos user and got an unexpected error compiling from source.

Here's my build request:

cmake -DTrilinos_ENABLE_ALL_PACKAGES=ON -DTPL_ENABLE_Netcdf=OFF -DTPL_ENABLE_GLM=OFF /home/lpb/trilinos-12.0.1-Source

There were NO errors following the above cmake. After typing "make" there were NO errors (other than an occasional insignificant warning) until this:
-------------------------------------------------------------------------------------------------------

[ 58%] Building CXX object packages/stk/stk_util/stk_util/parallel/CMakeFiles/stk_util_parallel.dir/ParallelInputStream.cpp.o
[ 58%] Building CXX object packages/stk/stk_util/stk_util/parallel/CMakeFiles/stk_util_parallel.dir/CommSparse.cpp.o

/home/lpb/trilinos-12.0.1-Source/packages/stk/stk_util/stk_util/parallel/CommSparse.cpp: In member function ‘void stk::CommSparse::communicate()’:
/home/lpb/trilinos-12.0.1-Source/packages/stk/stk_util/stk_util/parallel/CommSparse.cpp:297:75: error: ‘communicate_any’ was not declared in this scope
     communicate_any( m_comm , m_send , m_recv, m_send_procs, m_recv_procs );
                                                                           ^
packages/stk/stk_util/stk_util/parallel/CMakeFiles/stk_util_parallel.dir/build.make:77: recipe for target 'packages/stk/stk_util/stk_util/parallel/CMakeFiles/stk_util_parallel.dir/CommSparse.cpp.o' failed
make[2]: *** [packages/stk/stk_util/stk_util/parallel/CMakeFiles/stk_util_parallel.dir/CommSparse.cpp.o] Error 1
CMakeFiles/Makefile2:13760: recipe for target 'packages/stk/stk_util/stk_util/parallel/CMakeFiles/stk_util_parallel.dir/all' failed
make[1]: *** [packages/stk/stk_util/stk_util/parallel/CMakeFiles/stk_util_parallel.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2
lpb at asrock:~/trilinos-12.0.1-Source/MY_BUILD>
-----------------------------------------------------------------------------------------------------

I tried searching for an answer - to no avail. I would have thought that any missing libraries would have been caught the original "cmake" script(?). What am I missing/doing-wrong?

Regards,
Lyle 
-- 
73      AF6WS
Bickley Consulting West Inc.
http://bickleywest.com

"Black holes are where God is dividing by zero"


More information about the Trilinos-Users mailing list