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