[Trilinos-Users] No Kokkos Core

Sensei senseiwa at gmail.com
Tue Aug 25 12:15:49 EDT 2015

Dear all,

following your suggestions I was moving to Kokkos, to see how I can use 
non-POD types with Tpetra.

However, I cannot find any Kokkos Core headers in my installation:

sensei:12.0.1% ls -1 include/Kokk*

Currently I am using homebrew as package manager, which downloads the 
source code and compiles it. The default option is to install every 
package along with optional ones, as you can see from the arguments:

     args  = %W[-DCMAKE_INSTALL_PREFIX=#{prefix} -DCMAKE_BUILD_TYPE=Release]
     args += %w[-DBUILD_SHARED_LIBS=ON

I've tried with the same options with a freshly downloaded source, but 
it won't compile due to some symbols not found (I have to disable Boost, 
in addition):

[ 36%] Building Fortran object 
[ 36%] Linking Fortran shared library libsvdi_cgi.dylib
Undefined symbols for architecture x86_64:
   "_cdr1ch_", referenced from:
       _wpstkl_ in pst_vdipst.f.o
       _wmet05_ in met_vdimet.f.o
       _wmetkl_ in met_vdimet.f.o
   "_cdra2c_", referenced from:
   "_cdrtbk_", referenced from:
       _wpstlw_ in pst_vdipst.f.o
       _wpstix_ in pst_vdipst.f.o
       _wpstle_ in pst_vdipst.f.o
       _wpstii_ in pst_vdipst.f.o
       _wmetix_ in met_vdimet.f.o
       _wmetle_ in met_vdimet.f.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [packages/seacas/libraries/svdi/libsvdi_cgi.12.2.1.dylib] 
Error 1
make[1]: *** 
[packages/seacas/libraries/svdi/CMakeFiles/svdi_cgi.dir/all] Error 2
make: *** [all] Error 2

Are Kokkos Core headers included in standard installations? And why is 
the linker producing those symbols not found?

Thanks for any help!

More information about the Trilinos-Users mailing list