2

How does a package like ATLAS know which compilers I have installed on my system?

For example, say that I install a local version of gfortran, how do I "register it" in the system so that a package like ATLAS knows that I have it?

  • To "register" it, make sure that it is the first FORTRAN compiler found in the PATH. – BenjiWiebe Jan 28 '13 at 21:58
2

Like many unix applications, atlas has a configure script that you run as first part of the build process. Atlas' configure script will try to find a fortran compiler by trying known variants. You can also give it a specific path (-Ss f77lib /path/goes/here) or disable the use of fortran altogether (--nof77)

1

Can't say about ATLAS specifically, but FORTRAN compilers have a few possible names, and it can just cycle through the possibilities. Taken to the limit, this is what the GNU autotools do.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.