Last change
on this file since 663 was
663,
checked in by dubos, 6 years ago
|
devel/Python : fix numpy messing up OpenMP
|
File size:
295 bytes
|
Line | |
---|
1 | # import openmp before NetCDF4 numpy because it uses numpy hence MKL and messes up OMP_NUM_PROCS |
---|
2 | import sys |
---|
3 | if 'numpy' in sys.modules: |
---|
4 | raise ImportError('Module dynamico must be imported before NetCDF/numpy because numpy may mess up OpenMP') |
---|
5 | import libs |
---|
6 | libs.libicosa.dynamico_show_openmp() |
---|
Note: See
TracBrowser
for help on using the repository browser.