[f2py] Has ANYBODY gotten f2py working with Python 2.6 on Mac OS 10.6?

Trond Kristiansen <[email protected]>
Newsgroups gmane.comp.python.f2py.user
Message-ID <[email protected]>
Hi Raymond.

I am not sure if this will help you but remember to set these exports in your .profile (or .bash_profile) so that 
your system recognizes your setup with intel fortran compiler:

export F77="ifort"
export F90="ifort"

And also add this line to your .profile: source /opt/intel/fce/10.1.007/bin/ifortvars.sh

This should make your system see your compiler. However, remember that the "fce" version of the compiler is
the 64-bit version so for f2py to compile with that version you need to use "intelem" (64-bit) instead of "intel" (32-bit):

For example:
f2py --verbose --fcompiler=intelem -c -m barotropic barotropic.f90

Cheers, Trond
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.