[Trilinos-Users] link errors when compiling

Eric Marttila eric.marttila at thermoanalytics.com
Wed Dec 12 09:17:52 MST 2012


Chris,
We are using double precision, but we had not enabled that for kokkos when 
building trilinos.  We enabled that, and now the example links properly.
Thanks for your help!
--Eric

On Tuesday, December 11, 2012 10:23:45 pm Baker, Christopher G. wrote:
> Does the example use Tpetra RTI, or only member methods on Tpetra objects?
> Also, if you are using double precision, is it explicitly enabled for
> Kokkos gpu?
> 
> -----Original Message-----
> From: Eric Marttila
> [eric.marttila at thermoanalytics.com<mailto:eric.marttila at thermoanalytics.co
> m>] Sent: Tuesday, December 11, 2012 05:34 PM Eastern Standard Time
> To:
> Subject: [Trilinos-Users] link errors when compiling
> 
> 
> Dear All,
> 
> My colleagues and I are interested in using the GPU support in trilinos,
> but when compiling some of the hybrid-platform examples we get links
> errors about
> 
> 'undefined reference to `void Kokkos::ThrustGPUNode::parallel_for ...'
> 
> We believe we are linking with all of the appropriate Kokkos libraries, but
> obviously we are missing something. We would appreciate any suggestions
> anyone can provide to help resolve this.
> 
> The example we're using is derived from
> http://code.google.com/p/trilinos/wiki/TpetraHybridPlatform
> 
> I've attached the code we're using, the Makefile, and the full list of link
> errors in case that would help determine the problem.
> 
> Thank you.
> 
> --Eric



More information about the Trilinos-Users mailing list