source: codes/icosagcm/devel/Python/dynamico/dev/__init__.py @ 825

Last change on this file since 825 was 825, checked in by dubos, 5 years ago

devel/Python : moved Fortran bindings and *.pyx to dynamico/dev module + necessary changes to test/py/*.py

File size: 295 bytes
Line 
1# import openmp before NetCDF4 numpy because it uses numpy hence MKL and messes up OMP_NUM_PROCS
2import sys
3if 'numpy' in sys.modules:
4    raise ImportError('Module dynamico must be imported before NetCDF/numpy because numpy may mess up OpenMP')
5import libs
6libs.libicosa.dynamico_show_openmp()
Note: See TracBrowser for help on using the repository browser.