Question about make cblas

108 views
Skip to first unread message

Li, Xinyi

unread,
May 19, 2022, 10:35:40 AM5/19/22
to lap...@icl.utk.edu

Dear Sir or Madam,


I have met a difficult problem about 'make cblas'. According to the process:

1) compile blas

gfortran -c  -O3 *.f  
ar rv libblas.a *.o 
sudo cp libblas.a /usr/local/lib  
2) compile cblas
When I do a 'make all', I get the following errors that I just do not understand:



Then, I build a link by 

rm Makefile.in
ln -s Makefile.LINUX Makefile.in
And in the Makefile.LINUX, it is 


BLLIB =  /usr/local/lib/libblas.a
CBLIB = ../lib/cblas_$(PLAT).a

Meantime, I also try to change other address including: libblas.a  or /home/lxy/lib/cblas/CBLAS/testing/libblas.a 
However, all are failed.



Please help me to solve this question!
I'm looking forward to your reply.



--
Xinyi Li
 
Technische Universität München
Department of Informatics
Chair of Robotics, Artificial Intelligence and Real-time Systems
Boltzmannstraße 3
85748 Garching bei München
 
Phone: +49 89 289-18116
Email:    super...@tum.de

Julie Langou

unread,
May 19, 2022, 10:38:42 AM5/19/22
to Li, Xinyi, lap...@icl.utk.edu
Dear Xinyi Li
You are not mentioning which package you downloaded.
BLAS and CBLAS are included in the latest version of LAPACK: lapack-3.10.1.tar.gz

The following commands should work to generate the BLAS and CBLAS libraries
 - cp make.inc.example make.inc
 -  make blaslib cblaslib

Hope it helps
Julie


On May 13, 2022, at 9:39 AM, Li, Xinyi <super...@tum.de> wrote:

Dear Sir or Madam,

I have met a difficult problem about 'make cblas'. According to the process:
1) compile blas

gfortran -c  -O3 *.f  
ar rv libblas.a *.o 
sudo cp libblas.a /usr/local/lib  
2) compile cblas
When I do a 'make all', I get the following errors that I just do not understand:

<pastedImage.png>

Then, I build a link by 

rm Makefile.in
ln -s Makefile.LINUX Makefile.in
And in the Makefile.LINUX, it is 

BLLIB =  /usr/local/lib/libblas.a
CBLIB = ../lib/cblas_$(PLAT).a

Meantime, I also try to change other address including: libblas.a  or /home/lxy/lib/cblas/CBLAS/testing/libblas.a 
However, all are failed.



Please help me to solve this question!
I'm looking forward to your reply.



--
Xinyi Li
 
Technische Universität München
Department of Informatics
Chair of Robotics, Artificial Intelligence and Real-time Systems
Boltzmannstraße 3
85748 Garching bei München
 
Email:    super...@tum.de

-- 
LAPACK library Website: http://www.netlib.org/lapack/
--- 
You received this message because you are subscribed to the Google Groups "LAPACK Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lapack+un...@icl.utk.edu.
To view this discussion on the web visit https://groups.google.com/a/icl.utk.edu/d/msgid/lapack/8ee1b73173104c6096a5bbc18a271060%40tum.de.

Reply all
Reply to author
Forward
0 new messages