[Fwd: Re: compiling with icc]

2004-04-01 Thread Yonah Russ
Hi all- Here is more info on compiling mysql with icc 8 from the mysql 
packagers list-
As for my attempts, I compiled successfully a couple times and the first 
benchmark I did was faster than the gcc compiled server by about 10%-

unfortunately, I can't say if this is a conculsive test since the gcc 
binary was 3.23 and the icc binary 4.1.1 - I only managed one benchmark 
b/c something has broken the benchmark suite and I haven't had time to 
check into it...

I'll try the following and get back to you- hopefully with good news.
yonah
 Original Message 
Subject:Re: compiling with icc
Date:   Thu, 1 Apr 2004 22:23:02 +0200 (CEST)
From:   Lenz Grimmer [EMAIL PROTECTED]
To: Yonah Russ [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Yonah,

sorry for the late reply. I have now been finally able to install icc 8.0 
on one our build hosts (Running SuSE Linux 8.2) and made some tests.

On Wed, 24 Mar 2004, Yonah Russ wrote:

I'm trying to compile mysql 4.0.18 with icc 8.0 on RH AS 3u1. I'm
including my last configuration for compiling and how it died- I've
tried about a million other ways- this seems to come the closest to
compiling normally but dies with an internal error(looks like intel's
fault not yours).
  Does anyone have a configuration where this compiles? What did I do wrong?
fyi- there is a problem with the configure/libtool script when you don't
compile -static and you use ipo... the compilation runs icc -shared to
link the libraries but it needs the -ipo option as well.
thanks in advance for any help!
yonah
here the environment variables:
AR=xiar
CC=icc
CFLAGS='-O3 -ipo -static -axWN -march=pentium4 -mcpu=pentium4'
CXX=icc
CXXFLAGS='-O3 -ipo -static -axWN -march=pentium4 -mcpu=pentium4'
LANG=C
LD=xild
PATH=/usr/local/intel/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin:/usr/local/mysql/bin
this is the configure line:

./configure --prefix=/usr/local/mysql --enable-thread-safe-client 
--without-innodb --without-debug --enable-assembler 
--with-named-curses-libs=/usr/lib/libncurses.so.5.3

it dies with this error:

IPO Warning: unresolved : rl_attempted_completion_function
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_completion_entry_function
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_readline_name
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : popen
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : pclose
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : readline
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : add_history
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : completion_matches
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : write_history
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : read_history
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : __xstat64
Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : __fxstat64
Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : readdir64
Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : fdopen
Referenced in libmysqlclient.a(my_fopen_ipo.o)
IPO Warning: unresolved : fclose
Referenced in libmysqlclient.a(my_fopen_ipo.o)
IPO Warning: unresolved : gethostbyname_r
Referenced in libmysqlclient.a(my_gethostbyname_ipo.o)
IPO Warning: unresolved : __lxstat64
Referenced in libmysqlclient.a(my_symlink_ipo.o)
IPO Warning: unresolved : realpath
Referenced in libmysqlclient.a(my_symlink_ipo.o)
libmysql.c(1808): internal error: 0_1345
icc: error: problem during multi-file optimization compilation (code 4)
make[2]: *** [mysql] Error 4
make[2]: Leaving directory `/moat-files/mysql-4.0.18/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/moat-files/mysql-4.0.18'
make: *** [all] Error 2


That really sounds like an icc bug. Here's the line we currently use for 
our binaries on icc:

CFLAGS=-O3 -unroll2 -ip -mp -no-gcc -restrict CC=icc CXX=icc
CXXFLAGS=-O3 -unroll2 -ip -mp -no-gcc -restrict ./configure
- --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data
- --libexecdir=/usr/local/mysql/bin --with-extra-charsets=complex
- --enable-thread-safe-client --enable-local-infile --enable-assembler
- --disable-shared --with-client-ldflags=-all-static
- --with-mysqld-ldflags=-all-static --with-readline --with-embedded-server
- --with-innodb
You may be able to use higher optimization levels (e.g. by removing -mp, 
which will however cause some loss in floatingpoint accuracy - some of the 
test suite tests will fail). I assume the --no-gcc is key here.

Bye,
	LenZ
- -- 
Lenz Grimmer [EMAIL PROTECTED]
Senior Production Engineer
MySQL GmbH, http://www.mysql.de

Re: [Fwd: Re: compiling with icc]

2004-04-01 Thread Yonah Russ
sorry- typo- the gcc binary was 4.0.18
yonah
Yonah Russ wrote:

Hi all- Here is more info on compiling mysql with icc 8 from the mysql 
packagers list-
As for my attempts, I compiled successfully a couple times and the 
first benchmark I did was faster than the gcc compiled server by about 
10%-

unfortunately, I can't say if this is a conculsive test since the gcc 
binary was 3.23 and the icc binary 4.1.1 - I only managed one 
benchmark b/c something has broken the benchmark suite and I haven't 
had time to check into it...

I'll try the following and get back to you- hopefully with good news.
yonah
 Original Message 
Subject: Re: compiling with icc
Date: Thu, 1 Apr 2004 22:23:02 +0200 (CEST)
From: Lenz Grimmer [EMAIL PROTECTED]
To: Yonah Russ [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
References: [EMAIL PROTECTED]


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Yonah,

sorry for the late reply. I have now been finally able to install icc 
8.0 on one our build hosts (Running SuSE Linux 8.2) and made some tests.

On Wed, 24 Mar 2004, Yonah Russ wrote:

I'm trying to compile mysql 4.0.18 with icc 8.0 on RH AS 3u1. I'm
including my last configuration for compiling and how it died- I've
tried about a million other ways- this seems to come the closest to
compiling normally but dies with an internal error(looks like intel's
fault not yours).
  Does anyone have a configuration where this compiles? What did I do 
wrong?

fyi- there is a problem with the configure/libtool script when you don't
compile -static and you use ipo... the compilation runs icc -shared to
link the libraries but it needs the -ipo option as well.
thanks in advance for any help!
yonah
here the environment variables:
AR=xiar
CC=icc
CFLAGS='-O3 -ipo -static -axWN -march=pentium4 -mcpu=pentium4'
CXX=icc
CXXFLAGS='-O3 -ipo -static -axWN -march=pentium4 -mcpu=pentium4'
LANG=C
LD=xild
PATH=/usr/local/intel/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin:/usr/local/mysql/bin 

this is the configure line:

./configure --prefix=/usr/local/mysql --enable-thread-safe-client 
--without-innodb --without-debug --enable-assembler 
--with-named-curses-libs=/usr/lib/libncurses.so.5.3

it dies with this error:

IPO Warning: unresolved : rl_attempted_completion_function
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_completion_entry_function
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_readline_name
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : popen
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : pclose
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : readline
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : add_history
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : completion_matches
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : write_history
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : read_history
Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : __xstat64
Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : __fxstat64
Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : readdir64
Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : fdopen
Referenced in libmysqlclient.a(my_fopen_ipo.o)
IPO Warning: unresolved : fclose
Referenced in libmysqlclient.a(my_fopen_ipo.o)
IPO Warning: unresolved : gethostbyname_r
Referenced in libmysqlclient.a(my_gethostbyname_ipo.o)
IPO Warning: unresolved : __lxstat64
Referenced in libmysqlclient.a(my_symlink_ipo.o)
IPO Warning: unresolved : realpath
Referenced in libmysqlclient.a(my_symlink_ipo.o)
libmysql.c(1808): internal error: 0_1345
icc: error: problem during multi-file optimization compilation (code 4)
make[2]: *** [mysql] Error 4
make[2]: Leaving directory `/moat-files/mysql-4.0.18/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/moat-files/mysql-4.0.18'
make: *** [all] Error 2


That really sounds like an icc bug. Here's the line we currently use 
for our binaries on icc:

CFLAGS=-O3 -unroll2 -ip -mp -no-gcc -restrict CC=icc CXX=icc
CXXFLAGS=-O3 -unroll2 -ip -mp -no-gcc -restrict ./configure
- --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data
- --libexecdir=/usr/local/mysql/bin --with-extra-charsets=complex
- --enable-thread-safe-client --enable-local-infile --enable-assembler
- --disable-shared --with-client-ldflags=-all-static
- --with-mysqld-ldflags=-all-static --with-readline 
--with-embedded-server
- --with-innodb

You may be able to use higher optimization levels (e.g. by removing 
-mp, which will however cause some loss in floatingpoint accuracy - 
some of the test suite tests will fail). I assume the --no-gcc is 
key here.

Bye,
LenZ
- -- Lenz Grimmer

Re: compiling with icc

2004-03-26 Thread Victor Medina
Hi!

I have just downlaoded the icc, it took about a day and a half to
recieve a confirmation mail with instructions on how downloading it. I
will give a try tomorrow! =)

Best Regards!
PS: Maybe somenody from mysql could give us some advice on how to
compile mysql server witth icc?(on linux, of course!)

On Wed, 2004-03-24 at 17:35, Yonah Russ wrote:
 News-
 
 I have compiled mysql 4.1.1-alpha with the icc compiler using the 
 options intel reported in their case study pdf.
 
 specifically '-O3 -ip -unroll2'
 
 The compilation was pretty ugly and threw up a lot of warnings.
 I'm benchmarking now and I'll let you know what comes out of it.
 yonah
 
 Yonah Russ wrote:
 
  Great! Thanks for the help.
 
  Here is some more info, in case it's helpful- these are all the 
  compile warnings from the make:
 
  my_thr_init.c(67): warning #266: function declared implicitly
 
  pthread_mutexattr_setkind_np(my_fast_mutexattr,PTHREAD_MUTEX_ADAPTIVE_NP); 
 
 ^
  ...
 
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
  sql_string.h(20): warning #161: unrecognized #pragma
   #pragma interface /* gcc class implementation */
   ^
 
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
  sql_string.cc(20): warning #161: unrecognized #pragma
   #pragma implementation// gcc: Class 
  implementation
   ^
 
  sql_string.h(20): warning #161: unrecognized #pragma
   #pragma interface /* gcc class implementation */
   ^
 
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
  icc: Command line warning: ignoring unknown option 
  '-fno-implicit-templates'
 
 
  the rest I've posted already.
  thanks again
  yonah
 
 
 
 
 
  Victor Medina wrote:
 
  Hi!
 
  OK, i have installed a fresh RH9 (i had the cd's here, altough i use a
  SuSE 9 and Debian). I downloaded a fresh copy of mysql 4.0.18 and 4.1
  (just to try).
  I installed a complete develompent environment (gcc, bison, yacc, m4,
  etc etc) and it compiles cleanly, again; with gcc, I will download the
  icc just to try =)
 
  Let's see what happens! =)
 
  Best Regards!
   
 
 
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: compiling with icc

2004-03-24 Thread Victor Medina
Hi!
On Wed, 2004-03-24 at 09:51, Yonah Russ wrote:
 Hi,
  I'm trying to compile mysql 4.0.18 with icc 8.0 on RH AS 3u1. I'm
8
GUAO! nice!, let us know how faster it is with the Intel compiler, just
curious! =)

 fyi- there is a problem with the configure/libtool script when you don't 
 compile -static and you use ipo... the compilation runs icc -shared to 
 link the libraries but it needs the -ipo option as well.
 
8 
must probably no one here uses the Intel compiler since it is paid =(

 it dies with this error:
 
 IPO Warning: unresolved : rl_attempted_completion_function
Referenced in ipo_icc5X7oE4.o
 IPO Warning: unresolved : rl_completion_entry_function
8

Ncurses devel and the readline libriries must be installed for the
client to compile

Best Regards!
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: compiling with icc

2004-03-24 Thread Chris Nolan
Victor Medina wrote:

Hi!
On Wed, 2004-03-24 at 09:51, Yonah Russ wrote:
 

Hi,
I'm trying to compile mysql 4.0.18 with icc 8.0 on RH AS 3u1. I'm
   

8
GUAO! nice!, let us know how faster it is with the Intel compiler, just
curious! =)
 

An ad in one of the Linux magazines I leaf through on occassion showed 
some pretty noticable improvements (in the order of 20% in some cases), 
but I'm betting that these were crafted test cases, as we all know that 
MySQL's two main storage engines are extremely smart when it comes to 
using discs.

 

fyi- there is a problem with the configure/libtool script when you don't 
compile -static and you use ipo... the compilation runs icc -shared to 
link the libraries but it needs the -ipo option as well.

   

8 
must probably no one here uses the Intel compiler since it is paid =(

 

it dies with this error:

IPO Warning: unresolved : rl_attempted_completion_function
  Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_completion_entry_function
   

8

Ncurses devel and the readline libriries must be installed for the
client to compile
Best Regards!
 



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling with icc

2004-03-24 Thread Yonah Russ
Victor Medina wrote:

8 
must probably no one here uses the Intel compiler since it is paid =(

 

actually there is a free non-commercial license version here:
http://www.intel.com/software/products/compilers/clin/noncom.htm
which is how I happen to have it
yonah
it dies with this error:

IPO Warning: unresolved : rl_attempted_completion_function
  Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_completion_entry_function
   

8

Ncurses devel and the readline libriries must be installed for the
client to compile
Best Regards!
 

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling with icc

2004-03-24 Thread Yonah Russ
this is what you are looking for:
http://www.intel.com/software/products/global/techtopics/mysql.pdf
according to intel- mysql ab provided all the performance data- much 
more than 20% performance boost sometimes.

I'll be darned if their compiler flags work- maybe with 4.1 (apparently 
that's what they used) but not with 4.0.18
yonah

Chris Nolan wrote:

Victor Medina wrote:

Hi!
On Wed, 2004-03-24 at 09:51, Yonah Russ wrote:
 

Hi,
I'm trying to compile mysql 4.0.18 with icc 8.0 on RH AS 3u1. I'm
  
8
GUAO! nice!, let us know how faster it is with the Intel compiler, just
curious! =)
 

An ad in one of the Linux magazines I leaf through on occassion showed 
some pretty noticable improvements (in the order of 20% in some 
cases), but I'm betting that these were crafted test cases, as we all 
know that MySQL's two main storage engines are extremely smart when 
it comes to using discs.

 

fyi- there is a problem with the configure/libtool script when you 
don't compile -static and you use ipo... the compilation runs icc 
-shared to link the libraries but it needs the -ipo option as well.

  
8 must probably no one here uses the Intel compiler since it is 
paid =(

 

it dies with this error:

IPO Warning: unresolved : rl_attempted_completion_function
  Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_completion_entry_function
  
8

Ncurses devel and the readline libriries must be installed for the
client to compile
Best Regards!
 


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling with icc

2004-03-24 Thread Tim Cutts
It's my understanding that MySQL does not currently compile with the 
Intel compiler - it's too gcc-specific, and icc is not 100% 
gcc-compatible.  I seem to remember seeing this in the on-line 
documentation somewhere, but I can't remember where.

Tim

--
Dr Tim Cutts
Informatics Systems Group
Wellcome Trust Sanger Institute
Hinxton, Cambridge, CB10 1SA, UK
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling with icc

2004-03-24 Thread Yonah Russ
Victor Medina wrote:

it dies with this error:

IPO Warning: unresolved : rl_attempted_completion_function
  Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_completion_entry_function
   

8

Ncurses devel and the readline libriries must be installed for the
client to compile
 

I installed ncurses-devel and readline-devel.
not much changed but then I added --without-readline to the configure 
options and we seem to have made progress:

here is the error now:
IPO Warning: unresolved : popen
   Referenced in ipo_icct8OVHG.o
IPO Warning: unresolved : pclose
   Referenced in ipo_icct8OVHG.o
IPO Warning: unresolved : __xstat64
   Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : __fxstat64
   Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : readdir64
   Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : fdopen
   Referenced in libmysqlclient.a(my_fopen_ipo.o)
IPO Warning: unresolved : fclose
   Referenced in libmysqlclient.a(my_fopen_ipo.o)
IPO Warning: unresolved : gethostbyname_r
   Referenced in libmysqlclient.a(my_gethostbyname_ipo.o)
IPO Warning: unresolved : __lxstat64
   Referenced in libmysqlclient.a(my_symlink_ipo.o)
IPO Warning: unresolved : realpath
   Referenced in libmysqlclient.a(my_symlink_ipo.o)
libmysql.c(1808): internal error: 0_1345
icc: error: problem during multi-file optimization compilation (code 4)
make[2]: *** [mysql] Error 4
make[2]: Leaving directory `/moat-files/mysql-4.0.18/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/moat-files/mysql-4.0.18'
make: *** [all] Error 2
any ideas what I'm missing?
thanks
yonah


Best Regards!
 

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling with icc

2004-03-24 Thread Tim Cutts
On 25 Mar 2004, at 01:14, Chris Nolan wrote:

An ad in one of the Linux magazines I leaf through on occassion showed 
some pretty noticable improvements (in the order of 20% in some 
cases), but I'm betting that these were crafted test cases, as we all 
know that MySQL's two main storage engines are extremely smart when 
it comes to using discs.
Some of our computational codes are twice the speed when they're 
compiled with icc compared to gcc.  It can make that much difference.  
It's significant enough that we compile everything with icc when 
possible.  However, there are some caveats.  Some of the optimisation 
options available are extremely aggressive, and can break your code in 
all sorts of wonderful and subtle ways if you're not careful - pointer 
aliasing being a prime example, and we have found at least one bug in 
the optimiser (which Intel are working on, since we have a support 
contract with them).

My rule of thumb is, if the code is largely compute-bound, compile it 
with icc if possible.  Otherwise, stick with gcc.  If you're IO-bound 
or memory-bound, choice of compiler doesn't really matter.   I've 
compared perl scripts on perl built with icc 7.1 and gcc 3.2, and the 
performance difference was negligible.

I wouldn't bust a gut over this, if I were you.  I suspect MySQL is not 
CPU-bound, most of the time, and certainly not floating-point bound 
(which is where icc really shines)

Tim

--
Dr Tim Cutts
Informatics Systems Group
Wellcome Trust Sanger Institute
Hinxton, Cambridge, CB10 1SA, UK
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling with icc

2004-03-24 Thread Victor Medina
On Wed, 2004-03-24 at 10:57, Yonah Russ wrote:
8
 make[2]: Leaving directory `/moat-files/mysql-4.0.18/client'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/moat-files/mysql-4.0.18'
 make: *** [all] Error 2
 
 any ideas what I'm missing?
 thanks
 yonah
 
---8
Something is missing in the path, altough i am guessing here, would you
mind describing your set up? where are things installled.

-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: compiling with icc

2004-03-24 Thread Yonah Russ
no problem-
its a fresh install of RH AS 3u1 (basically the same setup as rh 9)- 
minimal installation with one or two rpms from the cds added afterwards 
the mysql source tarball is upacked in /moat-files/mysql-4.0.18/

here is my ld.so.conf if it helps

/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/mysql/lib/mysql
/usr/local/lib
/usr/local/intel/lib
.
thanks
yonah


Victor Medina wrote:

On Wed, 2004-03-24 at 10:57, Yonah Russ wrote:
8
 

make[2]: Leaving directory `/moat-files/mysql-4.0.18/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/moat-files/mysql-4.0.18'
make: *** [all] Error 2
any ideas what I'm missing?
thanks
yonah
   

---8
Something is missing in the path, altough i am guessing here, would you
mind describing your set up? where are things installled.
 

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling with icc

2004-03-24 Thread Yonah Russ
Great! Thanks for the help.

Here is some more info, in case it's helpful- these are all the compile 
warnings from the make:

my_thr_init.c(67): warning #266: function declared implicitly
   
pthread_mutexattr_setkind_np(my_fast_mutexattr,PTHREAD_MUTEX_ADAPTIVE_NP);
   ^
...

icc: Command line warning: ignoring unknown option '-fno-implicit-templates'
sql_string.h(20): warning #161: unrecognized #pragma
 #pragma interface /* gcc class implementation */
 ^
icc: Command line warning: ignoring unknown option '-fno-implicit-templates'
icc: Command line warning: ignoring unknown option '-fno-implicit-templates'
sql_string.cc(20): warning #161: unrecognized #pragma
 #pragma implementation// gcc: Class 
implementation
 ^

sql_string.h(20): warning #161: unrecognized #pragma
 #pragma interface /* gcc class implementation */
 ^
icc: Command line warning: ignoring unknown option '-fno-implicit-templates'
icc: Command line warning: ignoring unknown option '-fno-implicit-templates'
the rest I've posted already.
thanks again
yonah




Victor Medina wrote:

Hi!

OK, i have installed a fresh RH9 (i had the cd's here, altough i use a
SuSE 9 and Debian). I downloaded a fresh copy of mysql 4.0.18 and 4.1
(just to try). 

I installed a complete develompent environment (gcc, bison, yacc, m4,
etc etc) and it compiles cleanly, again; with gcc, I will download the
icc just to try =)
Let's see what happens! =)

Best Regards!
 

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: compiling with icc

2004-03-24 Thread Victor Medina
Hi!

OK, i have installed a fresh RH9 (i had the cd's here, altough i use a
SuSE 9 and Debian). I downloaded a fresh copy of mysql 4.0.18 and 4.1
(just to try). 

I installed a complete develompent environment (gcc, bison, yacc, m4,
etc etc) and it compiles cleanly, again; with gcc, I will download the
icc just to try =)

Let's see what happens! =)

Best Regards!
-- 

 |...|
 |  _    _|Victor Medina M   |
 |\ \ \| |  _ \ / \   |Linux - Java - MySQL  |
 | \ \ \  _| | |_) / _ \  |Dpto. Sistemas - Ferreteria EPA   |
 | / / / |___|  __/ ___ \ |[EMAIL PROTECTED]  |
 |/_/_/|_|_| /_/   \_\|Tel: +58-241-8507325 - ext. 325   |
 ||Cel: +58-412-8859934  |
 ||geek by nature - linux by choice  |
 |...|


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: compiling with icc

2004-03-24 Thread Yonah Russ
News-

I have compiled mysql 4.1.1-alpha with the icc compiler using the 
options intel reported in their case study pdf.

specifically '-O3 -ip -unroll2'

The compilation was pretty ugly and threw up a lot of warnings.
I'm benchmarking now and I'll let you know what comes out of it.
yonah
Yonah Russ wrote:

Great! Thanks for the help.

Here is some more info, in case it's helpful- these are all the 
compile warnings from the make:

my_thr_init.c(67): warning #266: function declared implicitly
   
pthread_mutexattr_setkind_np(my_fast_mutexattr,PTHREAD_MUTEX_ADAPTIVE_NP); 

   ^
...
icc: Command line warning: ignoring unknown option 
'-fno-implicit-templates'
sql_string.h(20): warning #161: unrecognized #pragma
 #pragma interface /* gcc class implementation */
 ^

icc: Command line warning: ignoring unknown option 
'-fno-implicit-templates'
icc: Command line warning: ignoring unknown option 
'-fno-implicit-templates'
sql_string.cc(20): warning #161: unrecognized #pragma
 #pragma implementation// gcc: Class 
implementation
 ^

sql_string.h(20): warning #161: unrecognized #pragma
 #pragma interface /* gcc class implementation */
 ^
icc: Command line warning: ignoring unknown option 
'-fno-implicit-templates'
icc: Command line warning: ignoring unknown option 
'-fno-implicit-templates'

the rest I've posted already.
thanks again
yonah




Victor Medina wrote:

Hi!

OK, i have installed a fresh RH9 (i had the cd's here, altough i use a
SuSE 9 and Debian). I downloaded a fresh copy of mysql 4.0.18 and 4.1
(just to try).
I installed a complete develompent environment (gcc, bison, yacc, m4,
etc etc) and it compiles cleanly, again; with gcc, I will download the
icc just to try =)
Let's see what happens! =)

Best Regards!
 


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]