[SciPy-user] RE : Compiling numpy and scipy on AIX 5.3

Langella Raphael raphael.langella at steria.cnes.fr
Wed Apr 4 04:26:25 EDT 2007


I just tried numpy 1.0.2, and the compiler detection works perfectly, thanks. But I still have exactly the same error message (Undefined symbol: .main). Even if I unset BLAS and LAPACK to use internal functions, I get the same result.

-----Message d'origine-----
De : scipy-user-bounces at scipy.org [mailto:scipy-user-bounces at scipy.org] De la part de Langella Raphael
Envoyé : mardi 3 avril 2007 17:59
À : SciPy Users List
Objet : [SciPy-user] Compiling numpy and scipy on AIX 5.3


Using information from this post : http://thread.gmane.org/gmane.comp.python.scientific.user/6237/focus=628
6, I noticed my compiler wasn't properly detected.
When I just type xlf, it brings the man page, without any version information. I have to type xlf -qversion and it prints :

IBM XL Fortran Enterprise Edition V10.1 for AIX
Version: 10.01.0000.0003

I made the following changes in ibm.py so the compiler is properly detected : Line 11 :
    version_pattern =  r'IBM XL Fortran (Enterprise Edition
|)V(?P<version>[^\s*]*)'
line 14 :
	'version_cmd'  : ["xlf -qversion"],
line 25 :
	xlf_dir = '/etc'
line 54 :
	xlf_cfg = '/etc/xlf.cfg' % version

Now numpy detects the compiler. Then, I set BLAS and LAPACK environnement variables, and I get this when compiling numpy : xlf95 -bshared -F/ptmp/tmp4WLhqo_xlf.cfg build/temp.aix-5.3-2.5/numpy/core/blasdot/_dotblas.o -L/usr/local/lib -lfblas -o build/lib.aix-5.3-2.5/numpy/core/_dotblas.so
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
error: Command "xlf95 -bshared -F/ptmp/tmp4WLhqo_xlf.cfg build/temp.aix-5.3-2.5/numpy/core/blasdot/_dotblas.o -L/usr/local/lib -lfblas -o build/lib.aix-5.3-2.5/numpy/core/_dotblas.so" failed with exit status 8

What's happening there? _______________________________________________
SciPy-user mailing list
SciPy-user at scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user



More information about the SciPy-User mailing list