All:

last year (twice) I posted a question on several groups looking for  
an answer about an error with trying linking F2PY with XLF 8.1 on Mac  
OS X Tiger.  I have been busy with other developments, but
I thought I would post that it is now working (after I finally gave a  
couple things a try).

1.  Thanks to Bob Ippolito for the suggestion about the Xcode not  
being in sync with the Tiger install.  That solved the __mh_header  
problem.

2.  I got the hello.f example work with the following command line  
with XLF:

f2py --fcompiler=ibm -c -m hello hello.f -L/opt/ibmcmp/xlf/8.1/lib - 
lxlf90 -lxlopt -lxl -lxlfmath

I was getting an error message with out directly linking in the xlf  
libs when I tried to import the shared object file hello.so,

ImportError: Failure linking new module: hello.so: Symbol not found:  
__xlfBeginIO

pretty sure not all those libs are needed - but anyway.

regards,

Lou

------------------------------------------------------------------------ 
----
|  Dr. Louis J. Wicker
|  Research Scientist, National Severe Storms Lab
| 1313 Halley Cir, Norman, OK 73069
| E-mail:   [EMAIL PROTECTED]
| HTTP:  www.nssl.noaa.gov/~lwicker
| Phone:    (405) 366-0416
| Fax:       (405) 366-0472
|
|
| Two wrongs don't make a right, but three left's do...
------------------------------------------------------------------------ 
----
|
| "The contents  of this message are mine personally and
| do not reflect any position of  the Government or NOAA."
|
------------------------------------------------------------------------ 
----


_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to