![]() |
Blitz Support : |
From: Julian C. Cummings (cummings_at_[hidden])
Date: 2004-02-09 14:01:47
Hi Markus,
I'm glad things are working for you now. I don't understand why you have to
add namespace std and the using directive explicitly yourself. I think this
happens already in the <blitz/blitz.h> header file. Maybe you are not
including this file somehow?
The linking is handled by libtool, which has its own particular way of
configuring the link command. Maybe someone who is more of an expert on
libtool than me can help you here. Your issue with the Intel compiler and
glibc sounds like a local configuration problem to me. On our P3 cluster, I
built the entire blitz testsuite of codes with icc and saw no linkage
problems. It is likely that either your compiler or your glibc is outdated
and needs an upgrade.
Regards, Julian C.
Dr. Julian C. Cummings
Staff Scientist, CACR/Caltech
(626) 395-2543
cummings_at_[hidden]
> -----Original Message-----
> From: blitz-support-bounces_at_[hidden]
> [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of
> Markus Christen
> Sent: Saturday, February 07, 2004 12:17 PM
> To: Support list for Blitz++
> Subject: Re: [Blitz-support] Fwd: blitz cvs with intel 7.1
> icc problems?
>
>
> Thank you Julian!
>
> (sorry that it took me so long to try it)
> because this thread is already here I'll continue (and do not
> report on
> sourceforge)
>
> to get it to compile i still need to add:
>
> #include <string>
> using namespace std;
>
> to src/globals.cpp
> (well, the string only that namespace std is known ;-)
>
> (and take out doc of the SUBDIRS in Makefile, cause there are
> too many
> files to correct...)
>
>
> one other thing: icc has some glibc symbol problems right
> now, in order to compile, -i_dynamic is needed. i notice that
> Blitz configure
> does not honor my LDFLAGS environment variable?
>
> anyway, with these changes i could compile and install
>
> thank you again
> markus
>
> Julian C. Cummings wrote:
>
> >OK, I have repaired the problem in blitz/array/newet-macros.h in the
> >cvs repository. I tested the fix and closed out Xavier's bug
> report. I
> >also updated the admin setup on the sourceforge website to send me
> >e-mail when new bugs or other requests are entered into the
> blitz page.
> >Thanks for the bug report!
> >
> >-- Julian C.
> >
> >
> >
> >
> >>Hi Guys,
> >>
> >>I'll have to examine the sourceforge site and see why I got
> >>no notification of Xavier's message about this problem.
> >>Anyway, I can look into this issue. Currently, blitz is doing
> >>the dumb thing, which is to do a "using namespace std;" so
> >>that std::complex is available in the global namespace. Not
> >>sure why that isn't working under icc, but I will look into
> >>it. One thing on the TODO list is proper namespace
> handling in blitz.
> >>
> >>Regards, Julian C.
> >>
> >>
> >>
> >>>Hi Markus,
> >>>
> >>>
> >>>I already mentioned this problem 8 days ago on sourceforge. But it
> >>>hasn't been solved yet. I can' even compile the library (i.e
> >>>global.cpp) : i get the same message error.
> >>>
> >>>Xavier
> >>>
> >>>
> >>>
> >>>
> >>>>compiling blitz cvs version (Feb 01 11:10)
> >>>>with Intel C++ compiler
> >>>>
> >>>>Intel(R) C++ Compiler for 32-bit applications, Version 7.1
> >>>>
> >>>>
> >>> Build 20030307Z
> >>>
> >>>
> >>>>Copyright (C) 1985-2003 Intel Corporation. All rights
> >>>>
> >>>>
> >>>reserved. FOR
> >>>
> >>>
> >>>>NON-COMMERCIAL USE ONLY
> >>>>
> >>>>../../blitz/promote.h(68): error: complex is not a template
> >>>> BZ_DECLARE_PRECISION(complex<float>,800)
> >>>>
> >>>>=> problem: std:: or using namespace std; missing.
> >>>>i edited a couple of files adding std:: to all complex<>
> >>>>
> >>>>
> >>and string
> >>
> >>
> >>>>declarations,
> >>>>
> >>>>but then:
> >>>>
> >>>>../../blitz/array/ops.h(95): error: space required
> >>>>
> >>>>
> >>between adjacent
> >>
> >>
> >>>>">" delimite rs of nested template argument lists (">>" is
> >>>>
> >>>>
> >>>the right
> >>>
> >>>
> >>>>
> >>>>
> <snip> those are all fixed...
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi> /blitz-support
>