[petsc-dev] calling petsc from a mex file
    Vaclav Hapla 
    vaclav.hapla at erdw.ethz.ch
       
    Thu May 10 14:28:36 CDT 2018
    
    
  
I confirm the same problem. But I also don't know how to fix this systematically in the buildsystem. I found hard-coded -L options here
  https://bitbucket.org/petsc/petsc/src/9e21ac129fc054b3abeb584f186c61369f6d442a/config/BuildSystem/config/packages/MatlabEngine.py#lines-39
but I'm in doubts I can do the same with -Wl,-rpath.
Vaclav
> 9. 5. 2018 v 18:49, Munson, Todd <tmunson at mcs.anl.gov>:
> 
> Note: I compiled the latest Petsc using --with-matlab and changed to the
> src/snes/examples/tutorials directory and did a "make ex5".  The
> compilation works fine, but the "-Wl,-rpath" for the matlab
> libraries is missing and I have to set my DYLD_LIBRARY_PATH
> manually.  I don't know where to fix this in the build
> system.
    
    
More information about the petsc-dev
mailing list