From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H6HDQ-0007Fj-KU for garchives@archives.gentoo.org; Mon, 15 Jan 2007 02:04:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0F23TIT018808; Mon, 15 Jan 2007 02:03:29 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0F23SIR009514 for ; Mon, 15 Jan 2007 02:03:28 GMT Received: (qmail invoked by alias); 15 Jan 2007 02:03:24 -0000 Received: from p54A08811.dip0.t-ipconnect.de (EHLO [192.168.0.16]) [84.160.136.17] by mail.gmx.net (mp001) with SMTP; 15 Jan 2007 03:03:24 +0100 X-Authenticated: #431110 From: Benjamin Sobotta To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] MPI and multicore + lib question Date: Mon, 15 Jan 2007 03:03:22 +0100 User-Agent: KMail/1.9.4 References: <3D60AF2712C16D42A38076E52FD6E3D23F0C33@ukmcrdembx01.rd.astrazeneca.net> <200701041417.46447.polliotti@bo.imm.cnr.it> <200701111646.46099.polliotti@bo.imm.cnr.it> In-Reply-To: <200701111646.46099.polliotti@bo.imm.cnr.it> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701150303.22964.mayday@gmx.net> X-Y-GMX-Trusted: 0 X-Archives-Salt: ad1286ad-0fdd-4bc1-9828-7c4783a7af5a X-Archives-Hash: 626b081c2b2e5bfdffc8348de07a9b5c On Thursday 11 January 2007 16:46, Alessandro Yoshi Polliotti wrote: > I hope I'm not asking anything too obvious but I wasn't able to find > relevant information online. > > I have installed apbs enabling mpi, it works but it detects only one cpu in > my core duo system. Strictly speaking it's correct, but not quite what I > expected. I would like to know more about this behaviour, is it due to my > misconfiguration of apbs, mpi, kernel or other factors? > > Besides this, trying to make apbs detect my two cores I tried also mpich2 > and lam-mpi as mpi implementations. Using both of them and recompiling > maloc apbs will complain that maloc has not been compiled with mpi support, > and will keep mpi out of the build process. maloc however doesn't print any > warning. > > Thanks in advance > > -- > "Because while the truncheon may be used in lieu of conversation, words > will always retain their power. Words offer the means to meaning, and for > those who will listen, the annunciation of truth." > V for Vendetta Hey! This may be slightly OT, and I dont know apbs, but are you sure that MPI is what you need? To my knowledge, MPI is for distributed computing, i.e. when you have several nodes to do calculating work. As far as I understand you only have one computer. Wouldn't some shared memory parallel implementation like OpenMP make more sense? You might want to check if your application is multithreaded. If it is, and you're just using one machine it should already use both cores available in your system. No need for MPI in this case. Cheers, Ben -- gentoo-science@gentoo.org mailing list