Blitz logo

Blitz Support :

From: Frank Feng (blitzpp_at_[hidden])
Date: 2004-12-20 16:25:06


Yes, the new version of blitz++ changed the option of "./configure ".
I tried to configure it by running:
./configure CXX=icpc,

But, I got error messages on as following:

/bin/sh ../libtool --mode=compile --tag=CXX icpc -DHAVE_CONFIG_H -I.
-I.. -I.. -strict_ansi -c -o globals.lo `test -f '../src/globals.cpp'
|| echo './'`../src/globals.cpp
icpc -DHAVE_CONFIG_H -I. -I.. -I.. -strict_ansi -c ../src/globals.cpp
-Wp,-MD,.deps/globals.TPlo -o globals.o
/usr/include/c++/3.3.2/bits/stl_alloc.h(968): error: "template" is not allowed
extern template class allocator;
....
compilation aborted for ../src/globals.cpp (code 4)
make[1]: *** [globals.lo] Error 1

It is an "external template" problem. If I turned off "-strict_ansi"
option of icpc, building can pass but the "testsuite" can not pass.
(I can provide more detail information.)

BTW, on a linux box with kernel 2.4 and icc8.0, icpc worked well with
blitz++8.0 and I didn't even do anything. Just got this trouble when
playing with icc8.1 (the latest version).

Any suggestions?

Many thanks.

On Mon, 6 Dec 2004, Mathias Wagner wrote:

Hi,

has anyone made some experiences with Blitz 0.8 and the Intel 8.1 compilers ?
The compiler now uses the gnu headers if gcc version is > 3.2
(See http://www.intel.com/software/products/compilers/clin/relnotes.pdf)

I did not manage to build the libraries.

I tried
./configure --with-cxx=icpc
make lib

The output of confifure seems ok, but building fails.
I can attach the output of configure and make.

Mathias

Hi Mathias,

The option --with-cxx isn't supported any longer. You should set the
variable CXX=icpc instead.
Could you provide a log of what you run?
Sincerely,
Patrick