numat / RASPA2

NO LONGER UPDATED. Use the official repository.
https://github.com/iraspa/RASPA2
Other
73 stars 72 forks source link

how to check fftw3, blas, lapack installed with raspa2 #46

Open friendly0115 opened 4 years ago

friendly0115 commented 4 years ago

it there any information to show raspa2 installed with fftw3, blas and lapack? during the configure process, it prints out "checking for library containing ddot... -lblas checking for library containing dsyevd... no checking for library containing fftw_plan_dft_r2c_1d... -lfftw3 " Are these showing whether the fftw3, blas, lapack can be used by raspa2? But even if there is the library file of lapack ( liblapack.a ), the result of checking dsyevd is still "no". Is it normal? or someone tells me something about this?

Thank you very much

kumarvirendra commented 4 years ago

There no no information available in output file regarding compiled library information.

friendly0115 commented 4 years ago

There no no information available in output file regarding compiled library information.

How to prepare the lib files of fftw3 blas and lapack? libfftw3f.a, libblas.a, liblapack.a? Or, there is something or step i missed.

kumarvirendra commented 4 years ago

if all above library/packages are in your system path then during compilation it will auto detect.

kumarvirendra commented 4 years ago

check your config.log file: configure:4136: gcc -o conftest -g -O2 conftest.c -llapack -lblas >&5 configure:4153: result: -llapack configure:4199: gcc -o conftest -g -O2 conftest.c -lfftw3 -llapack -lblas >&5 configure:4216: result: -lfftw3

kumarvirendra commented 4 years ago

configure:4080: gcc -o conftest -g -O2 conftest.c -lblas >&5 configure:4097: result: -lblas

friendly0115 commented 4 years ago

configure:4080: gcc -o conftest -g -O2 conftest.c -lblas >&5 configure:4097: result: -lblas

thank you for your reply. but my results are -lfftw3 -lblas without -llapack. can you show the details of installing lapack? i really don't know what wrong with my steps

kumarvirendra commented 4 years ago

Which Operating System(OS) you are using

friendly0115 commented 4 years ago

last time, i use the way "yum install lapack lapack-devel" on CentOS 7, then raspa2 could be installed with blas and lapack, but now when i use the same way "dnf installl lapack" on CentOS 8, it does not work, raspa2 can not find the lapack and blas. I still don't know what is the key for this?