This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: external BLAS library with gfortran 4.1 or 4.4 on rhel5
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Matthew Hobbs <matthew dot hobbs at sydney dot edu dot au>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 14 Mar 2012 08:47:20 +0000
- Subject: Re: external BLAS library with gfortran 4.1 or 4.4 on rhel5
- References: <C41074942BD67545B9BC85748B2D38D31671B5A9@EX-MBX-PRO-03.mcs.usyd.edu.au> <C41074942BD67545B9BC85748B2D38D31671B5E4@EX-MBX-PRO-03.mcs.usyd.edu.au>
On 14 March 2012 02:42, Matthew Hobbs wrote:
> Hi,
>
> I want to be able to use an external BLAS library with some Fortran programs we are using. I am using a rhel5 system with two versions of gfortran available:
>
> 1) ?GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-52) - this does not have the "-fexternal-blas" option so am I right to think that with this version it is not possible to use an external blas library (provided by e.g. atlas)?
>
> 2) GNU Fortran (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13) ("gfortran44") - this has the "-fexternal-blas" option but unfortunately I cannot find any RHEL5 package that provides an external BLAS library that can be used with this version (correct me if I'm wrong). ?I have tried installing netlib blas, atlas, goto2 from source to get something that will work with gfortran44 but have been unsuccessful.
>
> Please can someone give me some guidance?
You should be able to get the source code for atlas and build it
yourself with gfortran44, installing it to a different location (e.g.
/usr/local or /opt)