[petsc-dev] Missing Shared Library when Compiling with CUSP/CUDA support on OS X 10.8

Chris Tiee choni0281 at gmail.com
Thu Dec 6 22:44:56 CST 2012


Greetings,

I am trying to compile petsc-dev with GPU support on Mac OS X 10.8 (actually, I had tried it with 3.3-p3 and 3.3-p4 as well; the problems are the same). The problem is, though I have specified that I want shared libraries (it's required for FEniCS, a finite element package that I wish to use with PETSc), it doesn't actually create a shared library when I build with cusp and cuda (it works if I compile without it). Examining the output of the build files, it seems that it doesn't want to use cmake when configured with cusp, instead preferring the "libfast" build, which ignores the --with-shared-library (no evidence that it's being attempted). I also tried to make (after hunting down a bunch of environment variables, etc.) with the target "all-cmake" manually, and I actually manage to see it attempt to make the shared library, only to fail in doing so (it's missing a lot of CUSP calls, so i figure this is either why it doesn't build via cmake, or the libfast build tries to do this too, but it fails silently). What's the status of cmaking a GPU-enabled PETSc? Any help appreciated!


More information about the petsc-dev mailing list