From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 18:28:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF4B51065670 for ; Wed, 10 Nov 2010 18:28:34 +0000 (UTC) (envelope-from appdebgr@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 841008FC20 for ; Wed, 10 Nov 2010 18:28:34 +0000 (UTC) Received: by qwj8 with SMTP id 8so123897qwj.13 for ; Wed, 10 Nov 2010 10:28:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+PsTW1ACz0xLxIieTcHv+kD+saJBr/SNQgRfTJFY2uQ=; b=oxT6R/LnsUw3Ia6ZsVjMuiiypCeimsqKHjRm5YNIWVsy90iFmm+9otu65HcAsrF108 HhlG0aSraWTDZ5yh5JuzDgnM9CcjWyJLxfOAj8Atkc+G7MxDE8lkdytKhHsWHUo6V+0d iamoFS41i9oHb02G89kIyIVjZvLSKmvSGY7Ow= 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 :cc:content-type:content-transfer-encoding; b=SJsuscxVSc6XDbPcBjd35GFF1+quaGRrHKxdVyod6fRK0rPLkxY2VemaSHKfyPMnkW va/F43aVGHA7LCy7Y82Fv6vxYqi5qcKwwE+ndv9QBJpffSPxqAtpysNbAgLCCH3TMFvl +wsG6IbDKfIHukkN4jcsEPNHeCrdWfVG0yCFQ= MIME-Version: 1.0 Received: by 10.224.37.9 with SMTP id v9mr128175qad.63.1289413713736; Wed, 10 Nov 2010 10:28:33 -0800 (PST) Received: by 10.229.88.212 with HTTP; Wed, 10 Nov 2010 10:28:33 -0800 (PST) In-Reply-To: <4CDAE252.1060805@pathscale.com> References: <4CDA8F15.506@zedat.fu-berlin.de> <4CDAE252.1060805@pathscale.com> Date: Wed, 10 Nov 2010 20:28:33 +0200 Message-ID: From: App Deb To: =?UTF-8?Q?C=2E_Bergstr=C3=B6m?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "O. Hartmann" , freebsd-questions@freebsd.org Subject: Re: FreeBSD-similar build-from-source Linux? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 18:28:35 -0000 2010/11/10 "C. Bergstr=C3=B6m" : > App Deb wrote: >> >> 2010/11/10 O. Hartmann : >> >>> >>> Hello out there, >>> >>> well, my question may sound heretic, but since we use mostly Linux base= d >>> systems in our scientific environment and FreeBSD seems to lack in seve= re >>> support in GPGPU/CUDA capable graphics boards I need to setup a kind of >>> Linux facility to ensure having the software and tools I need for my >>> work. >>> I'm looking for a Linux distribution that is similar handled like >>> FreeBSD, >>> where I'm able to rebuild the whole system from sources, not even the t= he >>> Linux kernel, also the GNU tools and the packages. Maybe there are some >>> people out here having already taken this step. >>> Any suggestion is appreciated, >>> >> >> The NVIDIA FreeBSD driver provides the cuda libraries for linux >> compatibilty. >> >> So 32-bit Linux Cuda applications should work on FreeBSD. >> > > Have you tested this first hand? > > Is there 32bit Fermi? =C2=A0(Sorry, but I don't think the HPC world can r= eally > live off 32bit applications) > > There's 2 types of code in a "cuda application" there's host code produce= d > by the native compiler (gcc/intel/pathscale.. etc) and the device code.. > produced by nvidia's toolchain.. =C2=A0I would make a pretty nice bet tha= t the > nvidia userland toolchain will not compile code on freebsd right now.. = =C2=A0(not > be negative here, but I'm intimately familiar with it..) =C2=A0Worse case= you'd > be copying code built on linux over and also the runtime libs.. =C2=A0(no= t to > mention debugger, profiler. etc) > > Anyway.. as mentioned before we'll have a native working solution before = the > years end and anyone interested to help alpha/beta test is welcome to > contact me offlist.. > > ./C > No sorry I don't have any experience with cuda. I have only tested this: http://cuda-z.sourceforge.net/ And the linux binary seems to recognize everything under FreeBSD (linuxulator + nvidia). You will probably need to setup a linux toolchain to do the work. I know this is not a good solution.