Hi.

Today I pushed some fixes for compilation --with-matlab --with-matlab-engine. 
However, there is still a compilation problem when Fortran in enabled: the 
automatic Fortran bindings in src/sys/classes/matlabengine need the definition 
of PetscMatlabEngine. I tried adding /*I "petscmatlab.h" I*/ in matlab.c but 
that does not work.

The other problem is related to the visibility topic discussed in another 
thread. In SLEPc we have SlepcInitializeNoPointers() to be called from Matlab. 
There I set PetscBeganMPI = PETSC_FALSE (as is done in 
PetscInitializeNoPointers()) because otherwise I get PetscFinalize() errors the 
second time I run a Matlab script containing SLEPc calls. So the symbol 
PetscBeganMPI should be exported (unless you can suggest a better solution).

Jose

Reply via email to