Using mex code with OpenMP while running matlab with bumblebee's optirun causes crash.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!