[f2py] pg and openmp

Martinho MA mma at ua.pt
Thu Dec 20 14:46:12 EET 2007


Hello,
I am trying to use openmp with the portland compiler. My code is f90.

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

It compiles fine, bu 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