LAPACK 3.1 build hangs with ifort on Northwood Xeon system

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

LAPACK 3.1 build hangs with ifort on Northwood Xeon system

Postby field » Tue Dec 12, 2006 6:37 pm

All,

I downloaded the LAPACK 3.1 tarball and attempted to build the library on a 2.4Ghz Northwood Xeon system. I'm using the Intel Fortran compiler, ifort, version 9.1.036. I configured the make.inc file simply as follows:

Code: Select all
FORTRAN  = ifort
OPTS     = -O3
DRVOPTS  = $(OPTS)
NOOPT    =
LOADER   = ifort
LOADOPTS =


Upon invoking "make lib", I get the following output from make:

Code: Select all
[field@northwood lapack-3.1.0]$ make lib
( cd INSTALL; make; ./testlsame; ./testslamch; \
          ./testdlamch; ./testsecond; ./testdsecnd; ./testversion )
make[1]: Entering directory `/home/field/flame/lib/lapack/lapack-3.1.0/INSTALL'
ifort -O3 -c lsame.f
ifort -O3 -c lsametst.f
ifort  -o testlsame lsame.o lsametst.o
ifort  -c slamch.f
ifort -O3 -c slamchtst.f
ifort  -o testslamch slamch.o lsame.o slamchtst.o
ifort  -c dlamch.f
ifort -O3 -c dlamchtst.f
ifort  -o testdlamch dlamch.o lsame.o dlamchtst.o
ifort -O3 -c second.f
ifort -O3 -c secondtst.f
ifort  -o testsecond second.o secondtst.o
ifort -O3 -c dsecnd.f
ifort -O3 -c dsecndtst.f
ifort  -o testdsecnd dsecnd.o dsecndtst.o
ifort -O3 -c tstiee.f
ifort  -o testieee tstiee.o
ifort -O3 -c ilaver.f
ifort -O3 -c LAPACK_version.f
ifort  -o testversion ilaver.o LAPACK_version.o
make[1]: Leaving directory `/home/field/flame/lib/lapack/lapack-3.1.0/INSTALL'
  ASCII character set
  Tests completed


At this point, make just hangs and outputs nothing. Running top shows that a single process named "testslamch" is spinning like crazy with 99.9% CPU utilization.

Using the GNU compiler instead of ifort appears to work. It's also worth pointing out that LAPACK 3.0 compiles just fine under the conditions described. Also, this version of the Intel Fortran compiler appears to successfully compile an Itanium2 version of LAPACK 3.1 without any problems, so I'm led to believe that the problem is specific to our Northwood architecture.

Any ideas on what might be going on?

Thanks,
Field
Last edited by field on Tue Dec 12, 2006 6:49 pm, edited 4 times in total.
field
 
Posts: 3
Joined: Tue Dec 12, 2006 6:19 pm

Postby Julie » Tue Dec 12, 2006 6:46 pm

Field,

The correct flags for the ifort compiler on Northwood architecture are:
Code: Select all
FORTRAN  = ifort
OPTS     = -O3
DRVOPTS  = $(OPTS)
NOOPT    = -O3 -fltconsistency -fp_port
LOADER   = ifort
LOADOPTS = -O3


I checked on my Northwood machine, it works fine.
Sincerely
Julie
Julie
 
Posts: 299
Joined: Wed Feb 23, 2005 12:32 am
Location: ICL, Denver. Colorado

Postby field » Mon Dec 18, 2006 5:42 pm

Thanks for your help, Julie. Adding "-fltconsistency" to the NOOPT variable did the trick. (Turns out that -fp-port is set by default by my version of ifort.)
field
 
Posts: 3
Joined: Tue Dec 12, 2006 6:19 pm

Postby crespowu » Thu Jan 31, 2008 3:16 am

Adding "-fltconsistency" to the NOOPT variable did the trick.

Thanks for your tip!
crespowu
 
Posts: 1
Joined: Thu Jan 31, 2008 3:06 am

Re: LAPACK 3.1 build hangs with ifort on Northwood Xeon system

Postby jackalvin » Fri Sep 19, 2008 3:48 am

field for such a great useful tips
jackalvin
 
Posts: 1
Joined: Fri Sep 19, 2008 3:45 am

Re: LAPACK 3.1 build hangs with ifort on Northwood Xeon system

Postby sarahjenkins » Mon Nov 03, 2008 2:48 am

thanks. useful tips for everyone....
sarahjenkins
 
Posts: 1
Joined: Mon Nov 03, 2008 2:42 am

Re: LAPACK 3.1 build hangs with ifort on Northwood Xeon system

Postby MrAntonio » Fri Jan 23, 2009 1:17 am

Fantastic useful tips. Thanks guys
MrAntonio
 
Posts: 1
Joined: Fri Jan 23, 2009 1:14 am

Re: LAPACK 3.1 build hangs with ifort on Northwood Xeon system

Postby flatMC » Mon Oct 12, 2009 5:12 am

Big thanks for info!
flatMC
 
Posts: 1
Joined: Mon Oct 12, 2009 5:05 am

Re: LAPACK 3.1 build hangs with ifort on Northwood Xeon system

Postby taxman01 » Sun Nov 01, 2009 9:02 pm

Fantastic useful tips!
taxman01
 
Posts: 1
Joined: Sun Nov 01, 2009 8:59 pm


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 0 guests