[SciPy-dev] Building newcore on the Itanium

Andrew D drewdemento at yahoo.com
Tue Oct 25 15:20:20 CDT 2005


Hi,

I have been trying compiling the lastest scipy
"newcore" on an intel itanium machine with Redhat
Linux.

On the latest svn code (updated today, 1pm) the
command "python setup.py build" gives the output
documented at
http://agenda.ms11.net/code/itanium_build.log

In particular it stopps trying to link with the
command:
error: Command "f77
-L/home/phillips/faculty/dandrew/usr/lib
build/temp.linux-ia64-2.3/scipy/corelib/lapack_lite/lapack_litemodule.o
-L/home/phillips/faculty/dandrew/usr/lib/ -llapack
-lptf77blas -lptcblas -latlas -lg2c -o
build/lib.linux-ia64-2.3/scipy/lib/lapack_lite.so"
failed with exit status 1

Also, when I do not have the path set for ATLAS to be
found the build fails at:
error: Command "f77
-L/home/phillips/faculty/dandrew/usr/lib
build/temp.linux-ia64-2.3/scipy/corelib/blasdot/_dotblas.o
-L/usr/lib -lblas -lg2c -o
build/lib.linux-ia64-2.3/scipy/lib/_dotblas.so" failed
with exit status 1

Upon manually linking with the command:
"g77 -shared ..."
newcore then builds and installs.

[When using the intel compilers (ifort,icc) extra
flags are required to link. However the building
process ignores the flags put in the
scipy/distutils/fcompiler/intel.py file. AND THE
LINKING IS DONE WITH THE GCC COMPILER (see the
logfile).

To sucessfully build with the intel compiler, all
libraries must be manually linked with the commands:
"icc -i_dynamic -lirc -pthread -shared ..."
"ifort -i_dynamic -lirc -pthread -shared ..."
Build log:
http://agenda.ms11.net/code/itanium_build_icc.log
]

The tests run sucessfully:
>>from scipy import *
>>test(10,10)
.
.
----------------------------------------------------------------------
Ran 138 tests in 1.942s

OK

I have not tried to compile newscipy due to the
linking problems. Too much manual linking..

Andrew 


Computer information:
~>cat /proc/cpuinfo
processor  : 0
vendor     : GenuineIntel
arch       : IA-64
family     : Itanium 2
model      : 1
revision   : 5
archrev    : 0
features   : branchlong
cpu number : 0
cpu regs   : 4
cpu MHz    : 1300.000000
itc MHz    : 1300.000000
BogoMIPS   : 1946.15

[repeated 4 times, it's a 4-cpu box]

~>free
              total       used       free     shared  
 buffers     cached
Mem:      24779536   13069312   11710224          0   
 808784   10497376
-/+ buffers/cache:    1763152   23016384
Swap:     51477632        960   51476672

~>cat /etc/issue
Red Hat Enterprise Linux AS release 3 (Taroon Update
6)

~>gcc -v
Reading specs from
/usr/lib/gcc-lib/ia64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr
--mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared
--enable-threads=posix 
--disable-checking --with-system-zlib
--enable-__cxa_atexit 
--host=ia64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-53)

->python Python 2.3 (#2, Oct 31 2003, 11:54:00) [GCC
3.2.3 20030502 (Red Hat Linux 3.2.3-20)] on linux2



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com




More information about the Scipy-dev mailing list