Debian This forum is for the discussion of Debian Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
02-19-2011, 12:09 PM
#1
Member
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994
Rep:
Compiling TAUCS for squeeze using Intel Studio C and Fortran compilers
Hi
I want to build Taucs library
http://www.tau.ac.il/~stoledo/taucs/ , to use its sparse solver in some number crunching apps,
http://www.calculix.de/ ,
http://www.ofeli.net/ .
Since i plan to build these apps with the intel development suite, i better build Taucs with the same set of compilers...
but AFAIK Taucs doesnt exist in <testing> or <unstable> ( I could apt-get source, and set appropriate flags for compilers it it did ) and i do not quite understand its
build system ... can somebody help me here...?
It is not a ./configure system...
it relies on external libs like blas, lapack and metis... which regardless of existing in Debian repo are built with gcc-4.5... so.. no way of using this to link with an Intel built library...
Has anybody done this...? or similar...?
02-19-2011, 01:15 PM
#2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Hi Alex. Never known Taucs before, but this is, what I found.
http://www.tau.ac.il/~stoledo/taucs/2.2/taucs_full.tgz
mkdir Taucs/ && cd Taucs/ && tar xvf ../taucs_full.tgz
There is a 'configure' script :
./configure will create a one liner 'makefile': include build/linux/makefile
Add another line : include config/linux_intel.mk
.. then you have the correct flags for icc, etc., I guess.
Also : you can edit 'linux_intel.mk' to your FC, probably ifort.
( The file says : FC = ifc , I don't know, what that is.)
..
Good luck !
02-19-2011, 05:46 PM
#3
Member
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994
Original Poster
Rep:
Hi
Thks for yr answer...
Well i guess i will be needing more than luck
The version with external libraries was built for 32 bits, and ships the lins as binary objects, so i have downloaded the version with no external libs.
I have also built source trees for blas, lapack and metis, which i have successfully compiled with ifort/icc. Taucs will need these.
Then i proceeded to Taucs itself...
Quote:
compilation aborted for progs/taucs_c99_complex_test.c (code 2)
make: [build/linux/taucs_config_tests.h] Error 2 (ignored)
icpc -O3 -fPIC -D_POSIX_C_SOURCE=199506L \
-o ./obj/linux/taucs_c99_complex_test \
obj/linux/taucs_c99_complex_test.o -L external/lib/linux -llapack external/lib/linux/blas_aux.o -L external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis -lCEPCF90 -lIEPCF90 -lintrins -lF90 -limf -lpthread
icpc: error #10236: File not found: 'obj/linux/taucs_c99_complex_test.o'
icpc: error #10236: File not found: 'external/lib/linux/blas_aux.o'
make: [build/linux/taucs_config_tests.h] Error 1 (ignored)
obj/linux/taucs_c99_complex_test build/linux/taucs_config_tests.h
make: obj/linux/taucs_c99_complex_test: Command not found
make: [build/linux/taucs_config_tests.h] Error 127 (ignored)
icpc -c -O3 -fPIC -D_POSIX_C_SOURCE=199506L -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): catastrophic error: cannot open source file "cilk.h"
#include <cilk.h>
^
compilation aborted for progs/taucs_cilk_test.c (code 4)
make: [build/linux/taucs_config_tests.h] Error 4 (ignored)
icpc -O3 -fPIC -D_POSIX_C_SOURCE=199506L \
-o ./obj/linux/taucs_cilk_test \
obj/linux/taucs_cilk_test.o -L external/lib/linux -llapack external/lib/linux/blas_aux.o -L external/lib/linux -lf77blas -lcblas -latlas -L external/lib/linux -lmetis -lCEPCF90 -lIEPCF90 -lintrins -lF90 -limf -lpthread
icpc: error #10236: File not found: 'obj/linux/taucs_cilk_test.o'
icpc: error #10236: File not found: 'external/lib/linux/blas_aux.o'
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)
icpc -c -O3 -fPIC -D_POSIX_C_SOURCE=199506L -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_sn_llt.c \
-o ./obj/linux/taucs_sn_llt.o
src/taucs.h(6): catastrophic error: cannot open source file "taucs_config_tests.h"
#include <taucs_config_tests.h>
^
compilation aborted for src/taucs_sn_llt.c (code 4)
make: *** [obj/linux/taucs_sn_llt.o] Error 4
alex@iskandhar:~/buildfactory/taucs/taucs$ cd ..
alex@iskandhar:~/buildfactory/taucs$ ls
blas lapack metis taucs
alex@iskandhar:~/buildfactory/taucs$
Then i 900913d, and i found this :
http://software.intel.com/en-us/foru...r&wapkw=(taucs )
I guess that Intel Dev Suite does not support cilk directives...
02-20-2011, 06:53 AM
#4
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Debian Squeeze, 64bits.
I made a test compile with Taucs, just to known : will it fail or do OK.
1) Installed cilk ( cilk-5.4.6.tar.gz ) to /usr/local/.
( cd /usr/local/include && ln -s cilk/* . ).
EDIT : cilk.h will do : ln -s cilk/cilk.h
( May be 'cilk.h' is used for some test file only ? )
2) cd metis-5.0pre2/ && make all -i ; cp libmetis.a /usr/local/lib/.
3) cd Taucs/ && make ( CC=gcc-3.3 ; F77 : Ubuntu Hardy g77_3.4.6 ).
..... No errors.
Last edited by knudfl; 02-20-2011 at 02:33 PM .
02-21-2011, 11:29 AM
#5
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Quote:
src/taucs.h(6): catastrophic error: cannot open source file "taucs_config_tests.h"
Solution : 'touch build/linux/taucs_config_tests.h'
Compiling with 'icc' failed on 32bits (pclos2010.12) and 64bits, Debian Squeeze.
Same error on both OS :
src/taucs.h(79): catastrophic error: #error directive:
"taucs_blas_[no]underscore_test: linking with the BLAS failed both attempts"
#error "taucs_blas_[no]underscore_test: linking with the BLAS failed both attempts"
( But may be you have more luck with the icc compiled blas ( libcblas.a ? ))
..
02-21-2011, 01:20 PM
#6
Member
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994
Original Poster
Rep:
Hi Knudfl
Did not try to build it again... but i built blas_LINUX.a, lapack_LINUX.a and metis...a all with icc/ifort
Will try to build this with the hint about the symlink to cilk and taucs_config_tests.h
But i guess i wont me much lucky... in the complete taucs package with external libs there is a libf77blas or something... ifort does not compile with f77 like symbols AFAIK...
02-22-2011, 02:52 PM
#7
Member
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994
Original Poster
Rep:
Hi again Knudfl
found this :
http://www.resistivity.net/index.php?taucs&type=1
about Taucs...
used
export OSTYPE=linux
export MACHTYPE=
and this config/linux.mk :
Quote:
#########################################################
# Linux #
#########################################################
OBJEXT=.o
LIBEXT=.a
EXEEXT=
F2CEXT=.f
PATHSEP=/
DEFFLG=-D
FC = ifort
#FFLAGS = -O2 -g -fno-second-underscore -Wall
FOUTFLG =-o
FFLAGS = -O2 -fPIC
COUTFLG = -o
##CFLAGS = -O3 -g -D_POSIX_C_SOURCE=199506L -Wall -pedantic -ansi -fPIC -fexceptions -D_GNU_SOURCE
##CFLAGS = -g -O3 -Wall -Werror -pedantic -ansi
# for some reason, -std=c99 -pedantic crashes
# with the error message "imaginary constants are a GCC extension"
# (seems to be a gcc bug, gcc 3.3.1)
#CFLAGS = -O2 -Wall -Werror -std=c89 -pedantic
CFLAGS = -O2 -Wall -fPIC
LD = $(CC)
LDFLAGS =
LOUTFLG = $(COUTFLG)
AR = ar cr
AOUTFLG =
RANLIB = ranlib
RM = rm -rf
# These are for a Pentium4 version of ATLAS (not bundled with taucs)
#LIBBLAS = -L /home/stoledo/Public/Linux_P4SSE2/lib -lf77blas -lcblas -latlas \
# -L /usr/lib/gcc-lib/i386-redhat-linux/2.96 -lg2c
#LIBLAPACK = -L /home/stoledo/Public/Linux_P4SSE2/lib -llapack
LIBBLAS = -L /home/alex/buildfactory/taucs/blas/BLAS/ -lblas
LIBLAPACK = -L /home/alex/buildfactory/taucs/lapack/lapack-3.3.0/ -llapack
LIBMETIS = -L /home/alex/buildfactory/taucs/metis/metis-4.0/ -lmetis
#LIBF77 = -lg2c -lpthread
LIBC = -lm
#########################################################
blas lapack and metis have all been built with icc/ifort...
and are called blas_LINUX.a lapack_LINUX.a and libmetis.a
when i run ./congigure&&make, i get this error... :
Code:
alex@iskandhar:~/buildfactory/Caclulix/Taucs$ ./configure
make: `configurator/configurator' is up to date.
alex@iskandhar:~/buildfactory/Caclulix/Taucs$ export CC=icc
alex@iskandhar:~/buildfactory/Caclulix/Taucs$ ./configure
make: `configurator/configurator' is up to date.
alex@iskandhar:~/buildfactory/Caclulix/Taucs$ 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
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/taucs_blas_underscore_test.c \
-oobj/linux/taucs_blas_underscore_test.o
icc \
-oobj/linux/taucs_blas_underscore_test \
obj/linux/taucs_blas_underscore_test.o -L /home/alex/buildfactory/taucs/lapack/lapack-3.3.0/ -llapack -L /home/alex/buildfactory/taucs/blas/BLAS/ -lblas -L /home/alex/buildfactory/taucs/metis/metis-4.0/ -lmetis -lm
obj/linux/taucs_blas_underscore_test build/linux/taucs_config_tests.h
Linking with dgemm_ succedded
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/taucs_blas_nounderscore_test.c \
-oobj/linux/taucs_blas_nounderscore_test.o
icc \
-oobj/linux/taucs_blas_nounderscore_test \
obj/linux/taucs_blas_nounderscore_test.o -L /home/alex/buildfactory/taucs/lapack/lapack-3.3.0/ -llapack -L /home/alex/buildfactory/taucs/blas/BLAS/ -lblas -L /home/alex/buildfactory/taucs/metis/metis-4.0/ -lmetis -lm
obj/linux/taucs_blas_nounderscore_test.o: In function `main':
progs/taucs_blas_nounderscore_test.c:(.text+0xfb): undefined reference to `dgemm'
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)
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/taucs_c99_complex_test.c \
-oobj/linux/taucs_c99_complex_test.o
icc \
-oobj/linux/taucs_c99_complex_test \
obj/linux/taucs_c99_complex_test.o -L /home/alex/buildfactory/taucs/lapack/lapack-3.3.0/ -llapack -L /home/alex/buildfactory/taucs/blas/BLAS/ -lblas -L /home/alex/buildfactory/taucs/metis/metis-4.0/ -lmetis -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
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/taucs_cilk_test.c \
-oobj/linux/taucs_cilk_test.o
progs/taucs_cilk_test.c(8): catastrophic error: cannot open source file "cilk.h"
#include <cilk.h>
^
compilation aborted for progs/taucs_cilk_test.c (code 4)
make: [build/linux/taucs_config_tests.h] Error 4 (ignored)
icc \
-oobj/linux/taucs_cilk_test \
obj/linux/taucs_cilk_test.o -L /home/alex/buildfactory/taucs/lapack/lapack-3.3.0/ -llapack -L /home/alex/buildfactory/taucs/blas/BLAS/ -lblas -L /home/alex/buildfactory/taucs/metis/metis-4.0/ -lmetis -lm
icc: error #10236: File not found: 'obj/linux/taucs_cilk_test.o'
icc: warning #10315: specifying -lm before files may supercede the Intel(R) math library and affect performance
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
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_sn_llt.c \
-oobj/linux/taucs_sn_llt.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_sn_llt.c \
-oobj/linux/taucs_sn_llt_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_sn_llt.c \
-oobj/linux/taucs_sn_llt_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_sn_llt.c \
-oobj/linux/taucs_sn_llt_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_sn_llt.c \
-oobj/linux/taucs_sn_llt_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_linsolve.c \
-oobj/linux/taucs_linsolve.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_logging.c \
-oobj/linux/taucs_logging.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_memory.c \
-oobj/linux/taucs_memory.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_timer.c \
-oobj/linux/taucs_timer.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ccs_base.c \
-oobj/linux/taucs_ccs_base.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_base.c \
-oobj/linux/taucs_ccs_base_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_ccs_base.c \
-oobj/linux/taucs_ccs_base_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_ccs_base.c \
-oobj/linux/taucs_ccs_base_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_ccs_base.c \
-oobj/linux/taucs_ccs_base_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_vec_base.c \
-oobj/linux/taucs_vec_base.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_vec_base.c \
-oobj/linux/taucs_vec_base_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_vec_base.c \
-oobj/linux/taucs_vec_base_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_vec_base.c \
-oobj/linux/taucs_vec_base_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_vec_base.c \
-oobj/linux/taucs_vec_base_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ccs_ops.c \
-oobj/linux/taucs_ccs_ops.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_ops.c \
-oobj/linux/taucs_ccs_ops_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_ccs_ops.c \
-oobj/linux/taucs_ccs_ops_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_ccs_ops.c \
-oobj/linux/taucs_ccs_ops_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_ccs_ops.c \
-oobj/linux/taucs_ccs_ops_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ccs_io.c \
-oobj/linux/taucs_ccs_io.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_io.c \
-oobj/linux/taucs_ccs_io_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_ccs_io.c \
-oobj/linux/taucs_ccs_io_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_ccs_io.c \
-oobj/linux/taucs_ccs_io_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_ccs_io.c \
-oobj/linux/taucs_ccs_io_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ccs_order.c \
-oobj/linux/taucs_ccs_order.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ccs_factor_llt.c \
-oobj/linux/taucs_ccs_factor_llt.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_factor_llt.c \
-oobj/linux/taucs_ccs_factor_llt_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_ccs_factor_llt.c \
-oobj/linux/taucs_ccs_factor_llt_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_ccs_factor_llt.c \
-oobj/linux/taucs_ccs_factor_llt_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_ccs_factor_llt.c \
-oobj/linux/taucs_ccs_factor_llt_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ccs_solve_llt.c \
-oobj/linux/taucs_ccs_solve_llt.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_solve_llt.c \
-oobj/linux/taucs_ccs_solve_llt_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_ccs_solve_llt.c \
-oobj/linux/taucs_ccs_solve_llt_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_ccs_solve_llt.c \
-oobj/linux/taucs_ccs_solve_llt_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_ccs_solve_llt.c \
-oobj/linux/taucs_ccs_solve_llt_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_complex.c \
-oobj/linux/taucs_complex.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_complex.c \
-oobj/linux/taucs_complex_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_complex.c \
-oobj/linux/taucs_complex_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_complex.c \
-oobj/linux/taucs_complex_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_complex.c \
-oobj/linux/taucs_complex_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ccs_ooc_llt.c \
-oobj/linux/taucs_ccs_ooc_llt.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_ooc_llt.c \
-oobj/linux/taucs_ccs_ooc_llt_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_ccs_ooc_llt.c \
-oobj/linux/taucs_ccs_ooc_llt_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_ccs_ooc_llt.c \
-oobj/linux/taucs_ccs_ooc_llt_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_ccs_ooc_llt.c \
-oobj/linux/taucs_ccs_ooc_llt_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ccs_ooc_lu.c \
-oobj/linux/taucs_ccs_ooc_lu.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_ooc_lu.c \
-oobj/linux/taucs_ccs_ooc_lu_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SINGLE \
src/taucs_ccs_ooc_lu.c \
-oobj/linux/taucs_ccs_ooc_lu_S.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DCOMPLEX \
src/taucs_ccs_ooc_lu.c \
-oobj/linux/taucs_ccs_ooc_lu_Z.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_SCOMPLEX \
src/taucs_ccs_ooc_lu.c \
-oobj/linux/taucs_ccs_ooc_lu_C.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_ooc_io.c \
-oobj/linux/taucs_ooc_io.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_iter.c \
-oobj/linux/taucs_iter_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_vaidya.c \
-oobj/linux/taucs_vaidya_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_recvaidya.c \
-oobj/linux/taucs_recvaidya_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_gremban.c \
-oobj/linux/taucs_gremban_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_xxt.c \
-oobj/linux/taucs_ccs_xxt_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_DOUBLE \
src/taucs_ccs_generators.c \
-oobj/linux/taucs_ccs_generators_D.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
-DTAUCS_CORE_GENERAL \
src/taucs_malloc.c \
-oobj/linux/taucs_malloc.o
ifort -c -O2 -fPIC \
external/src/readhb.f \
-o obj/linux/readhb.o
ifort -c -O2 -fPIC \
external/src/amdatr.f \
-o obj/linux/amdatr.o
ifort -c -O2 -fPIC \
external/src/amdbar.f \
-o obj/linux/amdbar.o
ifort -c -O2 -fPIC \
external/src/amdexa.f \
-o obj/linux/amdexa.o
ifort -c -O2 -fPIC \
external/src/amdhaf.f \
-o obj/linux/amdhaf.o
ifort -c -O2 -fPIC \
external/src/amdhat.f \
-o obj/linux/amdhat.o
ifort -c -O2 -fPIC \
external/src/amdpre.f \
-o obj/linux/amdpre.o
ifort -c -O2 -fPIC \
external/src/amdtru.f \
-o obj/linux/amdtru.o
ifort -c -O2 -fPIC \
external/src/genmmd.f \
-o obj/linux/genmmd.o
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
external/src/colamd.c \
-oobj/linux/colamd.o
rm -rf lib/linux/libtaucs.a
ar cr lib/linux/libtaucs.a obj/linux/taucs_sn_llt.o obj/linux/taucs_sn_llt_D.o obj/linux/taucs_sn_llt_S.o obj/linux/taucs_sn_llt_Z.o obj/linux/taucs_sn_llt_C.o obj/linux/taucs_linsolve.o obj/linux/taucs_logging.o obj/linux/taucs_memory.o obj/linux/taucs_timer.o obj/linux/taucs_ccs_base.o obj/linux/taucs_ccs_base_D.o obj/linux/taucs_ccs_base_S.o obj/linux/taucs_ccs_base_Z.o obj/linux/taucs_ccs_base_C.o obj/linux/taucs_vec_base.o obj/linux/taucs_vec_base_D.o obj/linux/taucs_vec_base_S.o obj/linux/taucs_vec_base_Z.o obj/linux/taucs_vec_base_C.o obj/linux/taucs_ccs_ops.o obj/linux/taucs_ccs_ops_D.o obj/linux/taucs_ccs_ops_S.o obj/linux/taucs_ccs_ops_Z.o obj/linux/taucs_ccs_ops_C.o obj/linux/taucs_ccs_io.o obj/linux/taucs_ccs_io_D.o obj/linux/taucs_ccs_io_S.o obj/linux/taucs_ccs_io_Z.o obj/linux/taucs_ccs_io_C.o obj/linux/taucs_ccs_order.o obj/linux/taucs_ccs_factor_llt.o obj/linux/taucs_ccs_factor_llt_D.o obj/linux/taucs_ccs_factor_llt_S.o obj/linux/taucs_ccs_factor_llt_Z.o obj/linux/taucs_ccs_factor_llt_C.o obj/linux/taucs_ccs_solve_llt.o obj/linux/taucs_ccs_solve_llt_D.o obj/linux/taucs_ccs_solve_llt_S.o obj/linux/taucs_ccs_solve_llt_Z.o obj/linux/taucs_ccs_solve_llt_C.o obj/linux/taucs_complex.o obj/linux/taucs_complex_D.o obj/linux/taucs_complex_S.o obj/linux/taucs_complex_Z.o obj/linux/taucs_complex_C.o obj/linux/taucs_ccs_ooc_llt.o obj/linux/taucs_ccs_ooc_llt_D.o obj/linux/taucs_ccs_ooc_llt_S.o obj/linux/taucs_ccs_ooc_llt_Z.o obj/linux/taucs_ccs_ooc_llt_C.o obj/linux/taucs_ccs_ooc_lu.o obj/linux/taucs_ccs_ooc_lu_D.o obj/linux/taucs_ccs_ooc_lu_S.o obj/linux/taucs_ccs_ooc_lu_Z.o obj/linux/taucs_ccs_ooc_lu_C.o obj/linux/taucs_ooc_io.o obj/linux/taucs_iter_D.o obj/linux/taucs_vaidya_D.o obj/linux/taucs_recvaidya_D.o obj/linux/taucs_gremban_D.o obj/linux/taucs_ccs_xxt_D.o obj/linux/taucs_ccs_generators_D.o obj/linux/taucs_malloc.o obj/linux/readhb.o obj/linux/amdatr.o obj/linux/amdbar.o obj/linux/amdexa.o obj/linux/amdhaf.o obj/linux/amdhat.o obj/linux/amdpre.o obj/linux/amdtru.o obj/linux/genmmd.o obj/linux/colamd.o
ranlib lib/linux/libtaucs.a
icc -c -O2 -Wall -fPIC -DMACHTYPE_ -I src/ -I build/linux/ -I external/src/ \
progs/direct.c \
-oobj/linux/direct.o
icc \
-obin/linux/direct \
obj/linux/direct.o \
-Llib/linux/ -ltaucs \
-L /home/alex/buildfactory/taucs/lapack/lapack-3.3.0/ -llapack -L /home/alex/buildfactory/taucs/blas/BLAS/ -lblas -L /home/alex/buildfactory/taucs/metis/metis-4.0/ -lmetis -lm
lib/linux//libtaucs.a(readhb.o): In function `ireadhb_':
external/src/readhb.f:(.text+0x79): undefined reference to `for_open'
..........................................................
external/src/readhb.f:(.text+0x3996): undefined reference to `for_stop_core'
make: *** [bin/linux/direct] Error 1
alex@iskandhar:~/buildfactory/Caclulix/Taucs$
Last edited by Alexvader; 02-22-2011 at 02:56 PM .
All times are GMT -5. The time now is 04:25 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News