The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

lapack/ATLAS installation on Mandriva 2007

Open discussion regarding features, bugs, issues, vendors, etc.

lapack/ATLAS installation on Mandriva 2007

Postby emas » Thu Oct 04, 2007 8:18 am

Hi

I'm trying to install ATLAS and lapack; I've been loosely following instructions found here:

http://www.scipy.org/Wiki/Installing_SciPy/Linux

My system is a Pentium 4 with Mandriva Linux 2007. I have installed Intel fortran: /opt/intel/fc/10.0.023/bin/ifort


I think the installation of lapack went ok. I used these make.inc options:
FORTRAN = ifort
OPTS = -O3 -mp -tpp6 -ip -ftz-
DRVOPTS = $(OPTS)
NOOPT = -O3 -mp -fltconsistency -fp_port
LOADER = ifort
LOADOPTS = -03 -Wl,-R/opt/intel/fc/10.0.023/lib
(it complained about flag -tp not being supported, I don't know if this was important?)


I then move to the ATLAS installlation. The configure options suggested at the www.scipy.org link above are:

../configure -Fa alg -fPIC --with-netlib-lapack=/path/to/lapack/lapack_<XXXX>.a

When I run this it complains as follows:

[root@msasa ATLAS_LINUX_P4]# ../configure -Fa alg -fPIC --with-netlib-lapack=/usr/local/lapack-3.1.1/lapack_LINUX.a
make: `xconfig' is up to date.
./xconfig -d s /usr/local/ATLAS/ATLAS_LINUX_P4/../ -d b /usr/local/ATLAS/ATLAS_LINUX_P4 -Fa alg -fPIC -Ss flapack /usr/local/lapack-3.1.1/lapack_LINUX.a

OS configured as Linux (1)

Assembly configured as GAS_x8632 (1)

Vector ISA Extension configured as SSE3 (2,28)

Architecture configured as P4E (17)

Clock rate configured as 3400Mhz

Maximum number of threads configured as 2
Parallel make command configured as '$(MAKE) -j 2'

Pointer width configured as 32
Cannot detect CPU throttling.
rm -f config1.out
make atlas_run atldir=/usr/local/ATLAS/ATLAS_LINUX_P4 exe=xprobe_comp args="-v 0 -o atlconf.txt -O 1 -A 17 -Si nof77 0 -Fa ic '-fPIC' -Fa sm '-fPIC' -Fa dm '-fPIC' -Fa sk '-fPIC' -Fa dk '-fPIC' -Fa xc '-fPIC' -Fa if '-fPIC' -b 32" \
redir=config1.out
make[1]: Entering directory `/usr/local/ATLAS/ATLAS_LINUX_P4'
cd /usr/local/ATLAS/ATLAS_LINUX_P4 ; ./xprobe_comp -v 0 -o atlconf.txt -O 1 -A 17 -Si nof77 0 -Fa ic '-fPIC' -Fa sm '-fPIC' -Fa dm '-fPIC' -Fa sk '-fPIC' -Fa dk '-fPIC' -Fa xc '-fPIC' -Fa if '-fPIC' -b 32 > config1.out
make[2]: gfortran: Command not found
make[2]: *** [IRunF77Comp] Error 127
make[2]: g77: Command not found
make[2]: *** [IRunF77Comp] Error 127
make[2]: f77: Command not found
make[2]: *** [IRunF77Comp] Error 127


Unable to find usable compiler for F77; abortingMake sure compilers are in your path, and specify good compilers to configure
(see INSTALL.txt or 'configure --help' for details)make[1]: *** [atlas_run] Error 7
make[1]: Leaving directory `/usr/local/ATLAS/ATLAS_LINUX_P4'
make: *** [IRun_comp] Error 2
xconfig: /usr/local/ATLAS/ATLAS_LINUX_P4/..//CONFIG/src/config.c:125: ProbeComp: Assertion `!system(ln)' failed.
/bin/sh: line 1: 9190 Aborted ./xconfig -d s /usr/local/ATLAS/ATLAS_LINUX_P4/../ -d b /usr/local/ATLAS/ATLAS_LINUX_P4 -Fa alg -fPIC -Ss flapack /usr/local/lapack-3.1.1/lapack_LINUX.a
xconfig exited with 134
[root@msasa ATLAS_LINUX_P4]#

I understand that the problem relates to the flags (Fa alg -fPIC) for the fortran compiler. So I need to tell it about ifort, but I don't know how to do that. I've tried changing -fPIC to -ifort, but that says it doesn't regognise the command line option '-ifort'.

I'd be grateful for any help with this!

Thanks, Evan
emas
 
Posts: 1
Joined: Thu Oct 04, 2007 7:51 am
Location: ULPGC

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 4 guests