From owner-freebsd-hpc@FreeBSD.ORG Wed Jun 6 19:26:59 2007 Return-Path: X-Original-To: freebsd-hpc@freebsd.org Delivered-To: freebsd-hpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2861E16A469 for ; Wed, 6 Jun 2007 19:26:59 +0000 (UTC) (envelope-from redcrash@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id D21CE13C4B9 for ; Wed, 6 Jun 2007 19:26:58 +0000 (UTC) (envelope-from redcrash@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so69477anc for ; Wed, 06 Jun 2007 12:26:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=eKm4Mu/PlfinhUTSYyeV6/bAEpz1rwWaF6RRKIh+jNV++OIGYdgvgCjL6w3eLsfuu/ohBA+rp8lryfCVfQY1QMiT6ZLkc7WhqUklW4XeSk4j1y2EgA5QNj1nkPZzSMtQFyQvnPCexM41HY8VlccDco67KBDQf1Go2f2IcXLe4w0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=kRp+RCDF6jvK+hzs1xvMZO7B/9KhyLbcMOZfc2sZVSru5f+zIlJDoNsuopLuzNpqPGvmbpnBMYsgklDz3nETI4S8vo9swjtK/nxPrRsc+bhuyKeDgboyDTG9OrljznvDgcwKZrDsD4dIMpNBKtpt9ww/299C2B6roPZTFoXAUiw= Received: by 10.100.133.9 with SMTP id g9mr532183and.1181158018001; Wed, 06 Jun 2007 12:26:58 -0700 (PDT) Received: by 10.100.32.4 with HTTP; Wed, 6 Jun 2007 12:26:57 -0700 (PDT) Message-ID: Date: Wed, 6 Jun 2007 21:26:57 +0200 From: "Harald Servat" To: "Nikolay Pavlov" , "Harald Servat" , freebsd-hackers@freebsd.org, freebsd-hpc@freebsd.org, freebsd-performance@freebsd.org In-Reply-To: <20070606155955.GA48022@zone3000.net> MIME-Version: 1.0 References: <20070604192947.GA74531@zone3000.net> <20070606155955.GA48022@zone3000.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: testers wanted for PAPI / FreeBSD X-BeenThere: freebsd-hpc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "FreeBSD in High Performance Computing environments." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 19:26:59 -0000 2007/6/6, Nikolay Pavlov : > > On Monday, 4 June 2007 at 22:29:47 +0300, Nikolay Pavlov wrote: > > On Sunday, 20 May 2007 at 12:29:23 +0200, Harald Servat wrote: > > > Hello, > > > > > > I'm porting PAPI to FreeBSD. I was wondering if you could give a try > to > > > the package I'm porting. It would be great to have more feedback than > just > > > that my laptop is able to provide me :) > > > > > > First of all, you can download the code at > > > > > > http://code.google.com/p/papi-for-freebsd > > > > > > Next, see man hwpmc(4) and compile a kernel with > > > options HWPMC_HOOKS > > > device hwpmc > > > > > > (you'll require device apic if you're running on i386 machines). > > > > > > When you boot your dmesg should print something like > > > hwpmc: TSC/1/0x20 P6/2/0x1fe > > > > > > Once the machine is up and running, just untar the file you've > downloaded, > > > run ./configure and just run make (not make install). > > > > > > Could you send me the output of the following commands? > > > > > > # dmesg | grep hwpmc > > > # utils/papi_avail > > > # utils/papi_decode > > > # utils/papi_native_avail > > > # ctests/low-level > > > # ctests/high-level > > > > > > Thank you very much, > > > > Hi Harald. I have an error while running configure script: > > > > Ooops. Sorry for confusion Harald it was my fault. I have send the > script gziped archive to you with all the tests in a privat email. > > -- > ====================================================================== > - Best regards, Nikolay Pavlov. <<<----------------------------------- > ====================================================================== > > Thank you very much! Results seem fine! -- _________________________________________________________________ Empty your memory, with a free()... like a pointer! If you cast a pointer to an integer, it becomes an integer, if you cast a pointer to a struct, it becomes a struct. The pointer can crash..., and can overflow. Be a pointer my friend...