help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Octave installation in cluster


From: ajaynair
Subject: Octave installation in cluster
Date: Thu, 5 Jun 2014 06:14:22 -0700 (PDT)

I am trying to install Octave 3.8.1 in Linux x86_64 cluster with gcc 4.1.2. I
do not have root access and I am new to this. I have installed BLAS from
netlib.org using command: gfortran -shared -O2 *.f -o libblas.so -fPIC
and Lapack3.5.0 with the following make.in using suggestions from
install.octave file.
FORTRAN  = gfortran
OPTS     = -O2 -fdefault-integer-8 -fPIC
DRVOPTS  = $(OPTS)
NOOPT    = -O0 -fdefault-integer-8 -fPIC
LOADER   = gfortran
LOADOPTS =
BLASLIB      = /home/wangikar/src/BLAS/libblas.so

I am able configure octave with:
./configure --with-blas=/home/wangikar/src/BLAS/libblas.so
--prefix=/home/wangikar/install/OCTAVE
--with-lapack=/home/wangikar/src/lapack-3.5.0/liblapack.a
LDFLAGS=-L/home/wangikar/src/lapack-3.5.0 --disable-readline --without-fftw3
--disable-gui --without-curl --disable-docs

However make gives the following error.
make[3]: Leaving directory `/home/wangikar/src/octave-3.8.1/libinterp'
make[2]: Leaving directory `/home/wangikar/src/octave-3.8.1/libinterp'
Making all in src
make[2]: Entering directory `/home/wangikar/src/octave-3.8.1/src'
making mkoctfile.cc from mkoctfile.in.cc
mkoctfile.cc is unchanged
depbase=`echo mkoctfile.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H -I. -I..  -I../liboctave/array
-I../liboctave/cruft/misc -I../liboctave/numeric -I../liboctave/system
-I../liboctave/util -I../libinterp -I../libinterp/corefcn
-I../libinterp/corefcn -I../libgnu -I../libgnu   -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -pthread -MT mkoctfile.o -MD -MP -MF $depbase.Tpo -c -o
mkoctfile.o mkoctfile.cc &&\
        mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -pthread  -L/home/wangikar/src/lapack-3.5.0 -o mkoctfile 
mkoctfile.o ../libgnu/libgnu.la -lm   -lm  
libtool: link: g++ -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -o
mkoctfile mkoctfile.o  -L/home/wangikar/src/lapack-3.5.0
../libgnu/.libs/libgnu.a -lm -pthread
making main.cc from main.in.cc
main.cc is unchanged
g++ -DHAVE_CONFIG_H -I. -I..  -I../liboctave/array -I../liboctave/cruft/misc
-I../liboctave/numeric -I../liboctave/system -I../liboctave/util
-I../libinterp -I../libinterp/corefcn -I../libinterp/corefcn -I../libgnu
-I../libgnu    -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -MT octave-main.o
-MD -MP -MF .deps/octave-main.Tpo -c -o octave-main.o `test -f 'main.cc' ||
echo './'`main.cc
main.cc: In function 'bool display_available(std::string&)':
main.cc:108: warning: use of old-style cast
main.cc:108: warning: use of old-style cast
mv -f .deps/octave-main.Tpo .deps/octave-main.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -pthread -no-undefined  -L/home/wangikar/src/lapack-3.5.0
-o octave octave-main.o ../libgnu/libgnu.la -lX11               -lm  
libtool: link: g++ -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -o
octave octave-main.o  -L/home/wangikar/src/lapack-3.5.0
../libgnu/.libs/libgnu.a -lX11 -lm -pthread
depbase=`echo main-cli.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H -I. -I..  -I../liboctave/array
-I../liboctave/cruft/misc -I../liboctave/numeric -I../liboctave/system
-I../liboctave/util -I../libinterp -I../libinterp/corefcn
-I../libinterp/corefcn -I../libgnu -I../libgnu   -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -pthread -MT main-cli.o -MD -MP -MF $depbase.Tpo -c -o
main-cli.o main-cli.cc &&\
        mv -f $depbase.Tpo $depbase.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -pthread -no-undefined  -L/home/wangikar/src/lapack-3.5.0
-o octave-cli main-cli.o ../libinterp/liboctinterp.la
../liboctave/liboctave.la  -lm  
libtool: link: g++ -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -o
.libs/octave-cli main-cli.o  -L/home/wangikar/src/lapack-3.5.0
../libinterp/.libs/liboctinterp.so ../liboctave/.libs/liboctave.so -lm
-pthread -Wl,-rpath -Wl,/home/wangikar/install/OCTAVE/lib/octave/3.8.1
../liboctave/.libs/liboctave.so: undefined reference to `zgemm_'
../liboctave/.libs/liboctave.so: undefined reference to `cgemv_'
../liboctave/.libs/liboctave.so: undefined reference to `sdot_'
../liboctave/.libs/liboctave.so: undefined reference to `zherk_'
../liboctave/.libs/liboctave.so: undefined reference to `cher2_'
../liboctave/.libs/liboctave.so: undefined reference to `daxpy_'
../liboctave/.libs/liboctave.so: undefined reference to `zgemv_'
../liboctave/.libs/liboctave.so: undefined reference to `zgerc_'
../liboctave/.libs/liboctave.so: undefined reference to `zswap_'
../liboctave/.libs/liboctave.so: undefined reference to `idamax_'
../liboctave/.libs/liboctave.so: undefined reference to `ctrsm_'
../liboctave/.libs/liboctave.so: undefined reference to `zher2k_'
../liboctave/.libs/liboctave.so: undefined reference to `dger_'
../liboctave/.libs/liboctave.so: undefined reference to `icamax_'
../liboctave/.libs/liboctave.so: undefined reference to `isamax_'
../liboctave/.libs/liboctave.so: undefined reference to `zdotc_'
../liboctave/.libs/liboctave.so: undefined reference to `dtrmv_'
../liboctave/.libs/liboctave.so: undefined reference to `ctrmv_'
../liboctave/.libs/liboctave.so: undefined reference to `chemv_'
../liboctave/.libs/liboctave.so: undefined reference to `zdscal_'
../liboctave/.libs/liboctave.so: undefined reference to `zaxpy_'
../liboctave/.libs/liboctave.so: undefined reference to `ztrsm_'
../liboctave/.libs/liboctave.so: undefined reference to `dtbsv_'
../liboctave/.libs/liboctave.so: undefined reference to `srot_'
../liboctave/.libs/liboctave.so: undefined reference to `csyrk_'
../liboctave/.libs/liboctave.so: undefined reference to `zcopy_'
../liboctave/.libs/liboctave.so: undefined reference to `izamax_'
../liboctave/.libs/liboctave.so: undefined reference to `dsymv_'
../liboctave/.libs/liboctave.so: undefined reference to `zdrot_'
../liboctave/.libs/liboctave.so: undefined reference to `cher2k_'
../liboctave/.libs/liboctave.so: undefined reference to `dgemv_'
../liboctave/.libs/liboctave.so: undefined reference to `cscal_'
../liboctave/.libs/liboctave.so: undefined reference to `scopy_'
../liboctave/.libs/liboctave.so: undefined reference to `zdotu_'
../liboctave/.libs/liboctave.so: undefined reference to `sger_'
../liboctave/.libs/liboctave.so: undefined reference to `scnrm2_'
../liboctave/.libs/liboctave.so: undefined reference to `strsv_'
../liboctave/.libs/liboctave.so: undefined reference to `dscal_'
../liboctave/.libs/liboctave.so: undefined reference to `dnrm2_'
../liboctave/.libs/liboctave.so: undefined reference to `dgemm_'
../liboctave/.libs/liboctave.so: undefined reference to `ssyr2k_'
../liboctave/.libs/liboctave.so: undefined reference to `stbsv_'
../liboctave/.libs/liboctave.so: undefined reference to `ztrmm_'
../liboctave/.libs/liboctave.so: undefined reference to `dsyr_'
../liboctave/.libs/liboctave.so: undefined reference to `scasum_'
../liboctave/.libs/liboctave.so: undefined reference to `ccopy_'
../liboctave/.libs/liboctave.so: undefined reference to `dtrsm_'
../liboctave/.libs/liboctave.so: undefined reference to `ssymm_'
../liboctave/.libs/liboctave.so: undefined reference to `cherk_'
../liboctave/.libs/liboctave.so: undefined reference to `ztbsv_'
../liboctave/.libs/liboctave.so: undefined reference to `zhemv_'
../liboctave/.libs/liboctave.so: undefined reference to `zsyrk_'
../liboctave/.libs/liboctave.so: undefined reference to `ssymv_'
../liboctave/.libs/liboctave.so: undefined reference to `chemm_'
../liboctave/.libs/liboctave.so: undefined reference to `ctrsv_'
../liboctave/.libs/liboctave.so: undefined reference to `dtrmm_'
../liboctave/.libs/liboctave.so: undefined reference to `dcopy_'
../liboctave/.libs/liboctave.so: undefined reference to `zher_'
../liboctave/.libs/liboctave.so: undefined reference to `cdotc_'
../liboctave/.libs/liboctave.so: undefined reference to `ssyrk_'
../liboctave/.libs/liboctave.so: undefined reference to `cdotu_'
../liboctave/.libs/liboctave.so: undefined reference to `csrot_'
../liboctave/.libs/liboctave.so: undefined reference to `dzasum_'
../liboctave/.libs/liboctave.so: undefined reference to `ztrsv_'
../liboctave/.libs/liboctave.so: undefined reference to `cgemm_'
../liboctave/.libs/liboctave.so: undefined reference to `dznrm2_'
../liboctave/.libs/liboctave.so: undefined reference to `strmm_'
../liboctave/.libs/liboctave.so: undefined reference to `sasum_'
../liboctave/.libs/liboctave.so: undefined reference to `sgemm_'
../liboctave/.libs/liboctave.so: undefined reference to `dsyrk_'
../liboctave/.libs/liboctave.so: undefined reference to `zhemm_'
../liboctave/.libs/liboctave.so: undefined reference to `dasum_'
../liboctave/.libs/liboctave.so: undefined reference to `strsm_'
../liboctave/.libs/liboctave.so: undefined reference to `strmv_'
../liboctave/.libs/liboctave.so: undefined reference to `saxpy_'
../liboctave/.libs/liboctave.so: undefined reference to `dsyr2k_'
../liboctave/.libs/liboctave.so: undefined reference to `sgemv_'
../liboctave/.libs/liboctave.so: undefined reference to `zgeru_'
../liboctave/.libs/liboctave.so: undefined reference to `ztrmv_'
../liboctave/.libs/liboctave.so: undefined reference to `ddot_'
../liboctave/.libs/liboctave.so: undefined reference to `snrm2_'
../liboctave/.libs/liboctave.so: undefined reference to `dsyr2_'
../liboctave/.libs/liboctave.so: undefined reference to `cswap_'
../liboctave/.libs/liboctave.so: undefined reference to `cgerc_'
../liboctave/.libs/liboctave.so: undefined reference to `caxpy_'
../liboctave/.libs/liboctave.so: undefined reference to `ssyr2_'
../liboctave/.libs/liboctave.so: undefined reference to `dsymm_'
../liboctave/.libs/liboctave.so: undefined reference to `zher2_'
../liboctave/.libs/liboctave.so: undefined reference to `ctrmm_'
../liboctave/.libs/liboctave.so: undefined reference to `drot_'
../liboctave/.libs/liboctave.so: undefined reference to `dswap_'
../liboctave/.libs/liboctave.so: undefined reference to `dtrsv_'
../liboctave/.libs/liboctave.so: undefined reference to `zscal_'
../liboctave/.libs/liboctave.so: undefined reference to `sscal_'
../liboctave/.libs/liboctave.so: undefined reference to `csscal_'
../liboctave/.libs/liboctave.so: undefined reference to `cgeru_'
../liboctave/.libs/liboctave.so: undefined reference to `sswap_'
collect2: ld returned 1 exit status
make[2]: *** [octave-cli] Error 1
make[2]: Leaving directory `/home/wangikar/src/octave-3.8.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wangikar/src/octave-3.8.1'
make: *** [all] Error 2

Can anyone help?



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Octave-installation-in-cluster-tp4664479.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]