[f2py] pgf90 and openmp

Martinho MA mma at ua.pt
Thu Dec 20 14:49:51 EET 2007


Hello,
I am trying to compile f90 code with openmp:

f2py -c Paralelo.f90 -m paralelo --fcompiler=pg --f90flags=-mp

It compiles fine but when I try to import it I get the exception:
<type 'exceptions.ImportError'>: ./paralelo.so: undefined symbol: _mp_lcpu

Can someone help
Thanks
mma



More information about the f2py-users mailing list