[petsc-users] dyld: Symbol not found: _MatCreate_MPIAIJViennaCL

huabel hu.ds.abel at icloud.com
Wed Apr 15 20:49:31 CDT 2020



> On Apr 16, 2020, at 06:31, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> From prior e-mail - you wanted to use AMD GPU on OSX. This build below is CPU build - not for GPU. [Karl can confirm]
> 
> I think OSX has OpenCL installed by default [perhaps via xcode?] - so you might just need the additional configure option: --with-opencl=1
> 
I tried to remove “--with-viennacl=1 --with-viennacl-dir=“, just use “--with-opencl=1”, that good for build petsc and examples, but when I run "./examples -h “ there is no message about OpenCL or ViennaCL, so my how can I know it used OpenCL (GPU)?


Abel


More information about the petsc-users mailing list