Re: [eigen] Benchmarking compilers for eigen 2 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Benchmarking compilers for eigen 2
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Sat, 15 Aug 2009 09:58:45 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=wWlQaVvDFYAFnupmkLCqYkn/BYb6f1W+EXmt+P2z66U=; b=IG9AFNeMe4d8e9gwG72u2vX/cEVST5SYmKsZS2nY64+Htl/3IK4FkIheLxdDUyeOtC 0nGV7wdD4IDR+onYpvtxqMTU1BssA8U9Jo89xPuW52XUaARvibinKASWbIIzU6TOVxcg 3DUA7Zj6f2+oSENnl6fPYs4qQhoXbOA1S6YwU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JlzVVF9YKdb2cEixblYOfFsDTmTH/PC1cb3H+SU2zA/oiTRbL004lCS0j7thlZmGE5 oFyOvkfqIdU4C2SLjoEL1wNHqMtEOW/S3JMle6WJcWgR3C/JB0/IF5pHA5XZqJpXJO3q NO7NX2KE8ZS8FOVD3BVdhNcS2tHW4LQLuN4gQ=
since there is nothing to build, by default make does nothing. You
have to enable the tests, benchmarks, and demos explicetely. For
instance run ccmake and have a look at the options starting with
EIGEN_
you can change the values from within ccmake or, e.g.:
cmake path_to_eigen2 -DEIGEN_BUILD_TESTS=on -DEIGEN_BUILD_BTL=on
-DEIGEN2_INCLUDE_DIR=path_to_eigen2
cheers,
gael
On Sat, Aug 15, 2009 at 8:45 AM, Rohit Garg<rpg.314@xxxxxxxxx> wrote:
> Hi,
>
> I just checked out the latest code from eigen repository. After that, I did
>
> ~/Documents/numerical/eigen2@rpg> cmake .
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/rpg/Documents/numerical/eigen2
> ~/Documents/numerical/eigen2@rpg> make
> ~/Documents/numerical/eigen2@rpg>
>
> Just that. Make just exits. make all didn't help either. I have g++,
> llvm-g++, openCC installed on my f11, 64 bit machine. How do get the
> benchmarks to compile, and yes this is important with all the 3
> compilers? Since cmake *detects* compilers on it's own, how does one
> force feed compilers to it?
>
> Thanks,
>
> --
> Rohit Garg
>
> http://rpg-314.blogspot.com/
>
> Senior Undergraduate
> Department of Physics
> Indian Institute of Technology
> Bombay
>
>
>
--
Gaël Guennebaud
Iparla - INRIA Bordeaux
(+33)5 40 00 37 95