Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
There a code, called BigDFT. I have tried to "configure" it with fortran mpif90 compiled through mpich-3.0.4 and I have compiled all mathematical libraries with the following paths:
BigDFT will accept "libblas.a" ( or libblas.so ? ),
so I guess you can make a symlink : $ ln -s blas_LINUX.a libblas.a
-
I sure did test that too. Didn't work.
Quote:
? Why don't you just install the default *blas-dev* / *lapack-dev* etc.
prerequisites with your package manager ? ?
I have other packages installed that work with them and they are so interconnected. That's why to keep things organized I install all of them seperately.
You can always look at config.log to see the source code of the test program that is causing configure to abort and the compiler command that the configure script is using to try to build it. That may give you some additional clues about what is missing (sometimes the error messages from autoconf/automake can be a bit misleading).
You can always look at config.log to see the source code of the test program that is causing configure to abort and the compiler command that the configure script is using to try to build it. That may give you some additional clues about what is missing (sometimes the error messages from autoconf/automake can be a bit misleading).
As I have mentioned in my posts above the .a file is "Blas_linux.a" in the path: "/home/sryzdn/Packages/BLAS"
Looking at what bigdft site says, I don't know why "configure" does not recognize the path of the libraries I mention?!
I am able to configure against the ACML and Netlib BLAS on my machine. With a known, broken ATLAS BLAS library, I can't because BigDFT is unable to use dcopy (same error as your config.log). I would look more closely at your BLAS library. Perhaps try to build BigDFT against a different BLAS library and see if you have any success.
But my installation of BLAS libraries differs from yours. I have 64-bit ACML, Netlib, Goto2, and ATLAS BLAS libraries installed in /usr/local/lib64/blas/{acml,netlib,goto,atlas}; 32-bit libraries in /usr/local/lib/blas/{acml,netlib,goto,atlas}. I use a script to select the BLAS implementation I want to use (think Gentoo's eselect) which creates symlinks in /usr/local/lib64 (/usr/local/lib). In addition, I create pkgconfig files for each implementation and my script also creates symlinks to the correct *.pc file.
Since I use the pkgconfig files, I don't need to pass the --with-blas-path to the BigDFT configure script. However, if I pass
Code:
--with-blas-path="/usr/local/lib64/netlib"
, the BigDFT configure script properly links against the Netlib BLAS library even if I have another implementation selected "system-wide." I would still suspect your BLAS library as the problem. Since you mention make.inc in an earlier post, I'm guessing you are using Netlib (Reference) BLAS.
Again, I would recommend trying to configure BigDFT against BLAS/LAPACK installed from your package manager to see if it works. If successful, this is more evidence your local BLAS library is borked. If not, it gives us more information to troubleshoot with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.