Hi All,

I've tried to build sage 2.11 and 3.0.2 on a linux cluster, Opteron
2212 and 8212 chips (rev F)

[EMAIL PROTECTED] sage-2.11]# uname -a
Linux abacus.bw01.math.umass.edu 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25
17:24:31 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

After typing make, things go for a while, and then:

build/temp.linux-x86_64-2.5/numpy/linalg/lapack_litemodule.o(.text
+0x4867): In function `initlapack_lite':
build/src.linux-x86_64-2.5/numpy/core/__multiarray_api.h:951:
undefined reference to `PyCObject_AsVoidPtr'
build/temp.linux-x86_64-2.5/numpy/linalg/lapack_litemodule.o(.text
+0x478f): In function `initlapack_lite':
numpy/linalg/lapack_litemodule.c:830: undefined reference to
`PyErr_SetString'
build/temp.linux-x86_64-2.5/numpy/linalg/lapack_litemodule.o(.text
+0x485f):numpy/linalg/lapack_litemodule.c:833: undefined reference to
`PyDict_SetItemString'
/opt/sage-2.11/local/lib/libg2c.a(main.o)(.text+0x155): In function
`main':
: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -g -Wall build/temp.linux-x86_64-2.5/
numpy/linalg/lapack_litemodule.o -L/opt/sage-2.11/local/lib -llapack -
lf77blas -lcblas -latlas -lg2c -o build/lib.linux-x86_64-2.5/numpy/
linalg/lapack_lite.so" failed with exit status 1
Error building numpy.

real    0m36.738s
user    0m34.431s
sys     0m2.217s
sage: An error occurred while installing numpy-20080104-1.0.4.p2
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /opt/sage-2.11/install.log.  Describe your computer, operating
system, etc.


At the end of the log file I see similar info:

  numpy/linalg/lapack_litemodule.c:830: undefined reference to
`PyErr_SetString'
build/temp.linux-x86_64-2.5/numpy/linalg/lapack_litemodule.o(.text
+0x485f):numpy/linalg/lapack_litemodule.c:833: undefined reference to
`PyDict_SetItemString'
/opt/sage-2.11/local/lib/libg2c.a(main.o)(.text+0x155): In function
`main':
: undefined reference to `MAIN__'
collect2: ld returned 1 exit status
error: Command "/usr/bin/g77 -g -Wall build/temp.linux-x86_64-2.5/
numpy/linalg/lapack_litemodule.o -L/opt/sage-2.11/local/lib -llapack -
lf77blas -lcblas -latlas -lg2c -o build/lib.linux-x86_64-2.5/numpy/
linalg/lapack_lite.so" failed with exit status 1
Error building numpy.

real    0m36.738s
user    0m34.431s
sys     0m2.217s
sage: An error occurred while installing numpy-20080104-1.0.4.p2


I first tried to build 3.0.2, but thought that there was a rpoblem
with pathf90 and pathf95 compilers, so I set the fortran environment
variables
to blank so SAGE uses its own g95; at least that is what I think
should happen.

Any help would be appreciated.   BTW- I did try a prebuilt binary, and
it won't run.


Thanks,  Hans


In case you need them, here are my environment variables:

[EMAIL PROTECTED] sage-2.11]# env
MASTER_SERVICE_LIST_START=autofs systemimager
MANPATH=/opt/mpich2/ch3_ssm-gnu/man:/usr/share/man:/usr/local/share/
man:/opt/share/man:/opt/pathscale/man:/opt/torque/man
MAUI_ROOT=/opt/maui
HOSTNAME=abacus.bw01.math.umass.edu
NODE_REGEX=n[0-9][0-9][0-9]
PVM_RSH=/usr/bin/ssh
INTEL_LICENSE_FILE=/opt/intel/licenses
HN_IMAGE_NAME=abacus.bw01.math.umass.edu
TERM=xterm
SHELL=/bin/bash
HEAD_NODE_NCPUS=4
HISTSIZE=1000
PBS_ROOT=/opt/torque
SSH_CLIENT=::ffff:128.119.47.52 61187 22
TRIPPLITE_PAP_HOME=/opt/poweralert
HEAD_NODE2_ALT=master2
SGE_ARCH=lx24-amd64
SGE_CELL=default
GOLDEN_CLIENT_FS_ALT=fs01
QTDIR=/usr/lib64/qt-3.3
HN2_IMAGE_NAME=abacus2.bw01.math.umass.edu
NODE_IMAGE_PATH=/var/lib/systemimager/images/
nodes.abacus.bw01.math.umass.edu
MASTER_SERVICE_LIST_STOP=autofs systemimager
MASTER_DNS_DOMAINNAME=bw01.math.umass.edu
OLDPWD=/opt
PBS_HOME=/var/spool/torque
HEAD_NODE_SHORT=abacus
IFC_HOME=/opt/intel/fce/9.0
SSH_TTY=/dev/pts/1
NCPUS=4
TORQUE_HOME=/var/spool/torque
MASTER_DNS_DOMAINNAME_ALT=bw01.math.umass.edu
MPICH2_USES=gnu
USER=root
LD_LIBRARY_PATH=/opt/pathscale/lib:/opt/lib:/opt/mpich2/ch3_ssm-gnu/
lib::/usr/local/cuda/lib
INTEL_HOME=/opt/intel
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
PVM_ROOT=/usr/share/pvm3
NODE_SERVICE_LIST_START=autofs sge pbsmom gmond crond
KDEDIR=/usr
NODE_IMAGE_NAME=nodes.abacus.bw01.math.umass.edu
PVM_ARCH=LINUXX86_64
NODE_NCPUS=4
ENABLE_INTEL_F=no
PGI=
ENABLE_PATHSCALE=yes
MAIL=/var/spool/mail/root
PATH=/opt/maui/bin:/opt/maui/sbin:/opt/torque/bin:/opt/torque/sbin:/
opt/bin:/opt/sbin:/opt/mpich2/ch3_ssm-gnu/bin:/opt/mpich2/ch3_ssm-gnu/
sbin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/
bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/NX/bin:/opt/
pathscale/bin:/root/bin:/usr/local/cuda/bin
ENABLE_INTEL_C=no
GOLDEN_CLIENT=n001.bw01.math.umass.edu
NXDIR=/usr/NX
CLUSTER_DNS_DOMAINNAME=bw01.math.umass.edu
LD_RUN_PATH=/opt/pathscale/lib:/opt/lib:/opt/mpich2/ch3_ssm-gnu/lib:
FS_REGEX=fs[0-9][0-9]
F90=
INPUTRC=/etc/inputrc
PWD=/opt/sage-2.11
SYSIMG_HOME=/var/lib/systemimager
FS_IMAGE_PATH=/var/lib/systemimager/images/fs01.bw01.math.umass.edu
GOLDEN_CLIENT_FS=fs01.bw01.math.umass.edu
PGI_LM_LICENSE_FILE=/opt/pgi/license.dat
IDB_HOME=/opt/intel/idbe/9.0
LANG=en_US.UTF-8
TORQUE_ROOT=/opt/torque
FS_NAME=fs01.bw01.math.umass.edu
ENABLE_MPICH2=yes
SGE_ROOT=/opt/sge
FS_NAME_SHORT=fs01
PGI_HOME=/opt/pgi
PGI_6=/opt/pgi/linux86-64/6.2
ICC_HOME=/opt/intel/cce/9.0
F77=
MPICH2_ROOT=/opt/mpich2
MPI_NODES_LIST=/root/pssc/machines.LINUX
USE_GSTAT=yes
FS_REGEX_SHORT=fs[0-9][0-9][.]bw01.math.umass.edu
FS_IMAGE_NAME=fs01.bw01.math.umass.edu
GOLDEN_FS=fs01
CXX=g++
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
CLUSTER_IF=eth0
WK_NCPUS=2
SHLVL=1
HOME=/root
COMMD_PORT=16000
NODE_DNS_DOMAINNAME=bw01.math.umass.edu
PATHSCALE_LICENSE_FILE=/opt/pathscale/lib/3.0/pscsubscription-5236.xml
GOLDEN_CLIENT_ALT=n001
HN2_IMAGE_PATH=/var/lib/systemimager/images/abacus.bw01.math.umass.edu
HEAD_NODE_ALT=master
FC=
FS_NCPUS=2
LOGNAME=root
HEAD_NODE2=abacus2.bw01.math.umass.edu
PATHSCALE_HOME=/opt/pathscale
SSH_CONNECTION=::ffff:128.119.47.52 61187 ::ffff:128.119.47.16 22
HN_IMAGE_PATH=/var/lib/systemimager/images/abacus.bw01.math.umass.edu
NODE_SERVICE_LIST_STOP=sge pbsmom gmond crond
HEAD_NODE2_SHORT=abacus2
MPI_HOME=/opt/mpich2/ch3_ssm-gnu
LESSOPEN=|/usr/bin/lesspipe.sh %s
PGI_REL=6.2
FS_NAME_ALT=fs01
INFOPATH=:/opt/share/info
CC=gcc
RSH_NODES_LIST=/root/pssc/rshnodes
ENABLE_PGI=no
NODE_REGEX_LONG=n[0-9][0-9][0-9][.]bw01.math.umass.edu
HEAD_NODE=abacus.bw01.math.umass.edu
PSSC=/root/pssc
PATHSCALE_REL=3.0
GOLDEN_NODE=n001
G_BROKEN_FILENAMES=1
_=/bin/env








--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to