MMTK Install Problem

2005-01-26 Thread Justin Lemkul
Hello All,

I am hoping that someone out there will be able to help me.  During the 
"build" phase of MMTK installation, I receive the following series of errors:

$ python setup.py build
running build
running build_py
running build_ext
building 'lapack_mmtk' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common
-dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DLIBM_HAS_ERFC
-DEXTENDED_TYPES -IInclude
-I/System/Library/Frameworks/Python.framework/Versions/
2.3/include/python2.3 -c Src/lapack_mmtk.c -o
build/temp.darwin-7.7.0-Power_Macintosh
-2.3/Src/lapack_mmtk.o
Src/lapack_mmtk.c:2:33: Numeric/arrayobject.h: No such file or directory
Src/lapack_mmtk.c:6: warning: function declaration isn't a prototype
Src/lapack_mmtk.c:11: warning: function declaration isn't a prototype
Src/lapack_mmtk.c: In function `lapack_mmtk_CheckObject':
Src/lapack_mmtk.c:29: warning: implicit declaration of function
`PyArray_Check'
Src/lapack_mmtk.c:34: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:34: error: (Each undeclared identifier is reported only once
Src/lapack_mmtk.c:34: error: for each function it appears in.)
Src/lapack_mmtk.c:34: error: parse error before ')' token
Src/lapack_mmtk.c:34: error: `CONTIGUOUS' undeclared (first use in this
function)
Src/lapack_mmtk.c:39: error: parse error before ')' token
Src/lapack_mmtk.c: In function `lapack_mmtk_dsyev':
Src/lapack_mmtk.c:72: error: `PyArray_DOUBLE' undeclared (first use in this
function)
Src/lapack_mmtk.c:81: warning: implicit declaration of function `dsyev_'
Src/lapack_mmtk.c:81: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c: In function `lapack_mmtk_dgesvd':
Src/lapack_mmtk.c:107: error: `PyArray_DOUBLE' undeclared (first use in this
function)
Src/lapack_mmtk.c:118: warning: implicit declaration of function `dgesvd_'
Src/lapack_mmtk.c:118: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c: At top level:
Src/lapack_mmtk.c:134: warning: function declaration isn't a prototype
Src/lapack_mmtk.c:132: warning: `lapack_mmtkError' defined but not used
error: command 'gcc' failed with exit status 1

I am attempting the install on a Mac OS X v10.3 with Python v2.3, NumPy v23.1, 
and SciPy v2.4.3

Thanks in advance for any help you can give me.

-Justin Lemkul

-- 
http://mail.python.org/mailman/listinfo/python-list


Atlas and NumPy Problems

2005-02-01 Thread Justin Lemkul
Hello all,

I am hoping someone out there will be able to help me.  I am trying to install 
a program that utilizes NumPy.  In installing NumPy, I realized that I was 
lacking Atlas.  I ran into the following problems installing Atlas and NumPy, 
as I realized that NumPy could be installed using the Mac OSX veclib already 
built in.  If anyone has any ideas on how to fix either of these, I would be 
most grateful.

I am fairly new to Python (I've been learning it myself), so I apologize if 
these questions are a bit foolish.  I've been fighting these problems for 
days, and I'm out of ideas.

I am running OS X v10.3, gcc v3.3, Python v2.3, ScientificPython v2.4.3, and 
am attempting to install NumPy 23.7

Thank you!

-Justin


ATLAS install problem:

n file included from
/Users/jalemkul/Desktop/ATLAS/include/
atlas_prefetch.h:8, from
../ATL_col2blk.c:33:/Users/jalemkul/Desktop/ATLAS/
include/atlas_altivec.h:6:27: altivec.h: No such file or
directory../ATL_col2blk.c: In function
`ATL_dcol2blk_aX':../ATL_col2blk.c:79: error: `vector' undeclared (first use
in this
function)../ATL_col2blk.c:79: error: (Each undeclared identifier is reported
only once../
ATL_col2blk.c:79: error: for each function it appears in.)../ATL_col2blk.c:79:
error: parse
error before "float"../ATL_col2blk.c:80: error: parse error before
"float"make[7]: ***
[ATL_dcol2blk_aX.o] Error 1make[7]: *** Waiting for unfinished
jobsmake[6]: *** [dlib]
Error 2make[5]: *** [dmmlib] 
Error 2make[4]: *** [res/atlas_cacheedge.h] 
Error2make[3]: *** [dinstall] 
Error 2make[2]: *** [MMinstall] 
Error 2   STAGE2-1-2: CacheEdge
DETECTIONmake -f Makefile INSTALL_LOG/atlas_cacheedge.h pre=d 2>&1 |
./xatlas_tee
INSTALL_LOG/dMMCACHEEDGE.LOGcd /Users/jalemkul/Desktop/ATLAS/tune/blas/gemm/
OSX_UNKNOWNAltiVec_2 ; make res/atlas_cacheedge.h pre=dmake dRunFindCEcd
/Users/
jalemkul/Desktop/ATLAS/src/blas/gemm/OSX_UNKNOWNAltiVec_2 ; make dlibmake
auxillib
dcleanuplib dusergemmcd /Users/jalemkul/Desktop/ATLAS/src/auxil/
OSX_UNKNOWNAltiVec_2 ; make libmake[7]: Nothing to be done for `lib'.cd KERNEL
; make
-f dMakefile dlibmake[7]: Nothing to be done for `dlib'.cd
/Users/jalemkul/Desktop/ATLAS/
src/blas/gemm/OSX_UNKNOWNAltiVec_2 ; make dusermmmake[7]: `dusermm' is up to
date.make -j 2 dlib.grd/usr/bin//gcc -o ATL_dcol2blk_aX.o -c -DL2SIZE=4194304
-I/Users/
jalemkul/Desktop/ATLAS/include -I/Users/jalemkul/Desktop/ATLAS/include/
OSX_UNKNOWNAltiVec_2 -I/Users/jalemkul/Desktop/ATLAS/include/contrib
-DATL_OS_OSX -DATL_AltiVec -DATL_AVgcc -DATL_AS_OSX_PPC -DATL_NCPU=2 -O
-maltivec -mabi=altivec -DDREAL -DALPHAX ../ATL_col2blk.c
/usr/bin//gcc -o ATL_drow2blkT_aX.o -c -DL2SIZE=4194304
-I/Users/jalemkul/Desktop/
ATLAS/include -I/Users/jalemkul/Desktop/ATLAS/include/OSX_UNKNOWNAltiVec_2
-I/Users/
jalemkul/Desktop/ATLAS/include/contrib   -DATL_OS_OSX -DATL_AltiVec
-DATL_AVgcc
-DATL_AS_OSX_PPC -DATL_NCPU=2 -O -maltivec -mabi=altivec -DDREAL -DALPHAX ../
ATL_row2blkT.c
In file included from
/Users/jalemkul/Desktop/ATLAS/include/atlas_prefetch.h:8,
 from ../ATL_row2blkT.c:32:
/Users/jalemkul/Desktop/ATLAS/include/atlas_altivec.h:6:27: altivec.h: No such
file or
directory
../ATL_row2blkT.c: In function `ATL_drow2blkT_NB_aX':
../ATL_row2blkT.c:64: error: `vector' undeclared (first use in this function)
../ATL_row2blkT.c:64: error: (Each undeclared identifier is reported only once
../ATL_row2blkT.c:64: error: for each function it appears in.)
../ATL_row2blkT.c:64: error: parse error before "float"
../ATL_row2blkT.c:65: error: parse error before "float"
../ATL_row2blkT.c:74: error: parse error before "float"
../ATL_row2blkT.c:75: error: parse error before "float"
In file included from
/Users/jalemkul/Desktop/ATLAS/include/atlas_prefetch.h:8,
 from ../ATL_col2blk.c:33:
/Users/jalemkul/Desktop/ATLAS/include/atlas_altivec.h:6:27: altivec.h: No such
file or
directory
../ATL_col2blk.c: In function `ATL_dcol2blk_aX':
../ATL_col2blk.c:79: error: `vector' undeclared (first use in this function)
make[6]: *** [ATL_drow2blkT_aX.o] Error 1
make[6]: *** Waiting for unfinished jobs
../ATL_col2blk.c:79: error: (Each undeclared identifier is reported only once
../ATL_col2blk.c:79: error: for each function it appears in.)
../ATL_col2blk.c:79: error: parse error before "float"
../ATL_col2blk.c:80: error: parse error before "float"
make[6]: *** [ATL_dcol2blk_aX.o] Error 1
make[5]: *** [dlib] Error 2
make[4]: *** [dmmlib] Error 2
make[3]: *** [res/atlas_cacheedge.h] Error 2
make[2]: ***
[/Users/jalemkul/Desktop/ATLAS/tune/blas/gemm/OSX_UNKNOWNAltiVec_2/
res/atlas_cachedge.h] Error 2
ERROR 572 DURING CACHE EDGE DETECTION!!.
cd ../.. ; make error_report arch=OSX_UNKNOWNAltiVec_2
make -f Make.top error_report arch=OSX_UNKNOWNAltiVec_2
uname -a 2>&1 >> bin/OSX_UNKNOWNAltiVec_2/INSTALL_LOG/ERROR.LOG
/usr/bin//gcc -v 2>&1  >> bin/OSX_UNKNOWNAltiVec_2/INSTALL_LOG/ERROR.LOG
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc versio