Using mex code with OpenMP while running matlab with bumblebee's optirun causes crash.

1 Ansicht (letzte 30 Tage)
I am using Linux Mint 17.1 Rebecca (linux kernel 3.13.0-49).
I am running a matlab script which calls a mex function, which calls a fortran routine that uses OpenMP.
When I run the script in a matlab session which is opened normaly, the code runs fine.
When I launch matlab with bumblebee's optirun, my GPU mex codes work fine, but now the OpenMP mex code crashes matlab.
The crash happens AFTER the OpenMP code competes successfully.
Is this a bug in bumblebee?
I compile my codes as:
gfortran -c -mtune=native -fPIC -O3 -DNDEBUG -Wall -Wextra -fopenmp euv2chm.f
mex euv2chm_mex.c euv2chm.o -lgfortran -lgomp
Any ideas?
- Ron

Antworten (0)

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by