Subject: CGAL users discussion list
List archive
- From: Laurent Saboret <>
- To:
- Subject: Re: [cgal-discuss] Taucs installation
- Date: Wed, 03 Jun 2015 11:06:43 +0200
Hi Machelilla,
TAUCS is an old library which is not supported by his author Sivan Toledo (see http://www.tau.ac.il/~stoledo/taucs) nor by CGAL team anymore.
Recent CGAL versions come with an another solver, Eigen, and we recommend you to use Eigen instead of TAUCS with CGAL.
If you absolutely need to compile TAUCS:
taucs_full.tgz on https://gforge.inria.fr/frs/?group_id=52 comes with Atlas, Lapack and Metis libraries precompiled with g77 compiler in 2009.
The first error below is about libg2c.so.0 which is part of g77.
libg2c.so is included in taucs_full.tgz (in external/lib/linux/) but I guess that is not compatible with your version of gcc.
I recommend you delete the precompiled libraries in external/lib/linux/ and use up to date versions.
The easiest is to install Atlas, Lapack and Metis libraries as packages.
If this is not possible, you may download Atlas, Lapack and Metis source code from https://gforge.inria.fr/frs/download.php/file/24629/taucs_external_src.tgz and recompile them by yourself.
Good luck,
Laurent Saboret
Transvalor/MINES Paristech
Le 03/06/2015 00:59, Machelilla a écrit :
I have the same problem in ubuntu 12.04 32-bit system. I downloaded taucs
from here https://gforge.inria.fr/frs/?group_id=52, and after make and
install i get this:
~/Documentos/Librerias/taucs_full$ make
mkdir obj
mkdir: cannot create directory `obj': File exists
make: [obj/linux/exists.log] Error 1 (ignored)
mkdir obj/linux/
echo exists > obj/linux/exists.log
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I
external/src/ \
progs/taucs_blas_underscore_test.c \
-o ./obj/linux/taucs_blas_underscore_test.o
cc \
-o ./obj/linux/taucs_blas_underscore_test \
obj/linux/taucs_blas_underscore_test.o -L external/lib/linux
-llapack -L
external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis
-lg2c -lm
obj/linux/taucs_blas_underscore_test build/linux/taucs_config_tests.h
obj/linux/taucs_blas_underscore_test: error while loading shared libraries:
libg2c.so.0: cannot open shared object file: No such file or directory
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I
external/src/ \
progs/taucs_blas_nounderscore_test.c \
-o ./obj/linux/taucs_blas_nounderscore_test.o
cc \
-o ./obj/linux/taucs_blas_nounderscore_test \
obj/linux/taucs_blas_nounderscore_test.o -L external/lib/linux
-llapack
-L external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux
-lmetis -lg2c -lm
obj/linux/taucs_blas_nounderscore_test.o:taucs_blas_nounderscore_test.c:function
main: error: undefined reference to 'dgemm'
collect2: ld returned 1 exit status
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_blas_nounderscore_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_blas_nounderscore_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I
external/src/ \
progs/taucs_blas_cblaswrap_test.c \
-o ./obj/linux/taucs_blas_cblaswrap_test.o
cc \
-o ./obj/linux/taucs_blas_cblaswrap_test \
obj/linux/taucs_blas_cblaswrap_test.o -L external/lib/linux
-llapack -L
external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis
-lg2c -lm
obj/linux/taucs_blas_cblaswrap_test.o:taucs_blas_cblaswrap_test.c:function
main: error: undefined reference to 'f2c_dgemm'
collect2: ld returned 1 exit status
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_blas_cblaswrap_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_blas_cblaswrap_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I
external/src/ \
progs/taucs_c99_complex_test.c \
-o ./obj/linux/taucs_c99_complex_test.o
cc \
-o ./obj/linux/taucs_c99_complex_test \
obj/linux/taucs_c99_complex_test.o -L external/lib/linux -llapack -L
external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis
-lg2c -lm
obj/linux/taucs_c99_complex_test build/linux/taucs_config_tests.h
C99 complex numbers seem to be supported, 1+sqrt(-1)=-1.000000+1.000000i
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I
external/src/ \
progs/taucs_cilk_test.c \
-o ./obj/linux/taucs_cilk_test.o
progs/taucs_cilk_test.c:8:19: fatal error: cilk.h: No such file or directory
compilation terminated.
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
cc \
-o ./obj/linux/taucs_cilk_test \
obj/linux/taucs_cilk_test.o -L external/lib/linux -llapack -L
external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis
-lg2c -lm
cc: error: obj/linux/taucs_cilk_test.o: No such file or directory
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_cilk_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_cilk_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
mkdir bin
mkdir: cannot create directory `bin': File exists
make: [bin/linux/exists.log] Error 1 (ignored)
mkdir bin/linux/
echo exists > bin/linux/exists.log
mkdir lib
mkdir: cannot create directory `lib': File exists
make: [lib/linux/exists.log] Error 1 (ignored)
mkdir lib/linux/
echo exists > lib/linux/exists.log
cc -c -O3 -Wall -std=c99 -DMACHTYPE_ -I src/ -I build/linux/ -I
external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_sn_llt.c \
-o ./obj/linux/taucs_sn_llt.o
In file included from src/taucs_sn_llt.c:13:0:
src/taucs.h:83:2: error: #error "taucs_blas_*_test: linking with the BLAS
failed all attempts"
In file included from src/taucs_sn_llt.c:13:0:
src/taucs.h:837:14: error: ‘taucs_blas_name’ declared as function returning
a function
src/taucs.h:837:1: warning: parameter names (without types) in function
declaration [enabled by default]
src/taucs.h:838:14: error: ‘taucs_blas_name’ declared as function returning
a function
src/taucs.h:838:1: warning: parameter names (without types) in function
declaration [enabled by default]
src/taucs.h:839:14: error: ‘taucs_blas_name’ declared as function returning
a function
src/taucs.h:839:1: warning: parameter names (without types) in function
declaration [enabled by default]
src/taucs.h:840:14: error: ‘taucs_blas_name’ declared as function returning
a function
src/taucs.h:840:1: warning: parameter names (without types) in function
declaration [enabled by default]
src/taucs_sn_llt.c:1339:1: warning: ‘tree_first_descendant’ defined but not
used [-Wunused-function]
make: *** [obj/linux/taucs_sn_llt.o] Error 1
can you help me??
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Taucs-installation-tp952045p4660888.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- Re: [cgal-discuss] Taucs installation, Machelilla, 06/03/2015
- Re: [cgal-discuss] Taucs installation, Laurent Saboret, 06/03/2015
Archive powered by MHonArc 2.6.18.