Re: [f2py] f2py + ifort + openmp
Ethan Gutmann <[email protected]> Fri, 18 Jan 2013 11:09:15 -0700
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <[email protected]> |
That f90 program compiles for me, but I'm using a different version of ifort on a computer with different libraries etc. Did you try adding the -fPIC option as suggested by this error message? http://jaytaylor.com/blog/2010/10/06/howto-fix-fpic-errors/ Can you compile moduleomp.f90 directly with ifort with a dummy program to call it? (i.e. take f2py out of the equation) On Jan 18, 2013, at 3:59 AM, Ee Y <[email protected]> wrote: > ld: /tmp/ipo_ifortvrTUJH.o: relocation R_X86_64_PC32 against symbol `_moduleomp_mp_paral__16__par_region0' can not be used when making a shared object; recompile > with -fPIC > > ld: final link failed: Bad value