2011/12/12 Russell E. Owen <rowen@uw.edu>
In article <CABL7CQjeZMtsWcUPj0Kgfjz4XC4aRrwn24Bi3svzjwcc2t9ZWA@mail.gmail.com>, Ralf Gommers <ralf.gommers@googlemail.com> wrote:
On Fri, Dec 9, 2011 at 8:02 PM, Russell E. Owen <rowen@uw.edu> wrote:
I'm trying to build numpy 1.6.1 on Scientific Linux 5 but the unit tests claim the wrong version of fortran was used. I thought I knew how to avoid that, but it's not working.
...(elided text that suggests numpy is building using g77 even though I asked for gfortran)...
Any suggestions on how to fix this?
I assume you have g77 installed and on your PATH. If so, try moving it off your path.
Yes. I would have tried that if I had known how to do it (though I'm puzzled why it would be wanted since I told the installer to use gfortran).
The problem is that g77 is in /usr/bin/ and I don't have root privs on this system.
-- Russell
You could create a link g77 -> gfortran and make sure this link comes first in your PATH. (That's assuming command lines for g77 and gfortran are compatible -- I don't know if that's the case). -=- Olivier