Beginner LAPACK/LAPACKE Installation help.

Post here if you have a question about the installation process

Beginner LAPACK/LAPACKE Installation help.

Postby matt223 » Thu Nov 24, 2011 9:32 pm

Hi, I'm trying to upgrade to LAPACK 3.4.0 and also install LAPACKE under Linux Mint. After carefully following the instructions, I am unable to successfully link the libraries (with the gcc compiler). I originally installed liblapack-dev and libblas-dev from the package manager and was able to compile my programs without issue. I have since removed liblapack-dev in order to upgrade to 3.4.0 and after manually building the new version, the link flag (-llapack) no longer works. I extracted the lapack folder, used the gnu make.inc changing only BLASLIB to "/usr/lib/libblas.a" and ran the "make all" command. Everything seemed to go well other than the tests, which failed giving the error "multiple definitions of xerbla_". -lapacke is also not working after building the files in the LAPACKE folder. Could someone kindly explain what I am doing wrong?
matt223
 
Posts: 1
Joined: Thu Nov 24, 2011 1:38 pm

Re: Beginner LAPACK/LAPACKE Installation help.

Postby admin » Tue Nov 29, 2011 12:03 am

Hi,
could you try to build LAPACK with the Reference BLAS included inside LAPACK 3.4.0 (that means just not changing the BLASLIB variable).
you will need to do a "make blaslib" to build the Reference BLAS.
Let me know how it goes.
Please copy the error message, if any, that would help.
Julie
admin
Site Admin
 
Posts: 486
Joined: Wed Dec 08, 2004 7:07 pm

Re: Beginner LAPACK/LAPACKE Installation help.

Postby hollyhamilton » Wed May 30, 2012 12:35 pm

I am getting a segmentation fault when running the Makefile. It seems to occur when it hits the subroutine stpt05.f
What should I do? Any help would be appreciated.

make[1]: Entering directory `/chinook/meteo/hlh189/lapack-3.4.1/TESTING/LIN'
gfortran -O2 -c stbt05.f -o stbt05.o
gfortran -O2 -c stbt06.f -o stbt06.o
gfortran -O2 -c stpt01.f -o stpt01.o
gfortran -O2 -c stpt02.f -o stpt02.o
gfortran -O2 -c stpt03.f -o stpt03.o
gfortran -O2 -c stpt05.f -o stpt05.o
stpt05.f: In function âstpt05â:
stpt05.f:174: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[1]: *** [stpt05.o] Error 1
make[1]: Leaving directory `/chinook/meteo/hlh189/lapack-3.4.1/TESTING/LIN'
make: *** [xlintsts] Error 2
hollyhamilton
 
Posts: 2
Joined: Wed May 30, 2012 12:14 pm

Re: Beginner LAPACK/LAPACKE Installation help.

Postby hollyhamilton » Wed May 30, 2012 2:24 pm

I managed to fix the error in my previous message by changing my compiler from gfortran to g77. But now I started to get errors again, I changed the compiler back to gfortran since it seemed to be language issues but now I'm getting the following errors. Help me please.


/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgelss.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgelsx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgelsy.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeql2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqlf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqp3.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqpf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqr2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqr2p.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqrfp.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgerfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgerq2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgerqf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgesv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgesvx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgetf2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgetri.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgtcon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgtrfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgtsv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgtsvx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgttrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgttrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgtts2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slacn2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slagtm.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaic1.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slalsd.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slangb.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slange.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slangt.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slanhs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slansb.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slansp.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slansy.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slantb.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slantp.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slantr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaqgb.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaqge.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaqp2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaqps.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaqsb.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaqsp.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaqsy.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarfb.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarfg.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarfgp.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarft.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaswp.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slatbs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slatps.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slatrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slatzm.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorg2l.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorg2r.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorgbr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorgl2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorglq.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorgql.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorgqr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorgr2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorgrq.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorm2l.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorm2r.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sormbr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sorml2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sormlq.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sormql.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sormqr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sormr2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sormrq.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sormrz.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spbcon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spbequ.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spbrfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spbsv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spbsvx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spbtf2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spbtrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spbtrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spocon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spoequ.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sporfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sposv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sposvx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spotf2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spotri.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spstrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spstf2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sppcon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sppequ.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spprfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sppsv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sppsvx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spptrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spptri.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spptrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sptcon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sptrfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sptsv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sptsvx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spttrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sptts2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(srscl.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sspcon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssprfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sspsv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sspsvx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssptrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssptri.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssptrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssycon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssyrfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssysv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssysvx.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssytf2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssytrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssytri.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssytri2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssytri2x.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssyswapr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssytrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssytrs2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ssyconv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stbcon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stbrfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stbtrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stpcon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stprfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stptri.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stptrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(strcon.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(strrfs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(strti2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(strtri.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(strtrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stzrqf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stzrzf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqrt.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqrt2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgeqrt3.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgemqrt.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stpqrt.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stpqrt2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stpmqrt.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(stprfb.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spotrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgetrs.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spotrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgetrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sbdsqr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slabad.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slacpy.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slanst.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slapy2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarnv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slartg.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaruv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slas2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slascl.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasda.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasdq.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasdt.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaset.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasq1.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasq2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasq3.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasq4.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasq5.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasq6.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasrt.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slassq.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasv2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(spttrf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sisnan.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(second_INT_ETIME.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ieeeck.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(lsamen.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ilaver.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(lsame.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slamch.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sgebrd.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slabrd.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slalsa.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ilaslr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(ilaslc.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarzb.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarzt.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasyf.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slatrz.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slauum.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(sormr3.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasd6.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasd7.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasd8.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaisnan.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slals0.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slarz.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slauu2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slamrg.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasd4.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slasd5.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../liblapack.a(slaed6.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(isamax.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sasum.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(saxpy.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(scopy.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sdot.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(snrm2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(srot.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(srotg.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sscal.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sswap.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sgemv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sgbmv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(ssymv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(ssbmv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sspmv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(strmv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(stbmv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(stpmv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(strsv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(stbsv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(stpsv.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sger.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(ssyr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sspr.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(ssyr2.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(sgemm.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(ssymm.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(ssyrk.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(strmm.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `../../librefblas.a(strsm.o)' is incompatible with i386 output
/usr/bin/ld: final link failed: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [xlintsts] Error 1
make[1]: Leaving directory `/chinook/meteo/hlh189/lapack-3.4.1/TESTING/LIN'
make: *** [xlintsts] Error 2
hollyhamilton
 
Posts: 2
Joined: Wed May 30, 2012 12:14 pm

Re: Beginner LAPACK/LAPACKE Installation help.

Postby Julien Langou » Wed May 30, 2012 2:34 pm

It looks like you are mixing 64-bit and 32-bit objects. The linker won't let you do this. This is not really "you" doing it. This is probably the fact that the default for g77 is 32-bit and the default for gfortran is 64-bit.

Anyway, I think that if you only type "make clean" and then "make", you should be good.

You can also force g77 or gfortran to use either 32 or 64-bit with option -m32 or -m64, but I would not go that way. Try to get all compiled with one compiler in one shot. So "make clean; make".

Julien.
Julien Langou
 
Posts: 733
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest