From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 18:17:02 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 D28FE106564A for ; Wed, 10 Nov 2010 18:17:02 +0000 (UTC) (envelope-from cbergstrom@pathscale.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 677328FC16 for ; Wed, 10 Nov 2010 18:17:02 +0000 (UTC) Received: by bwz2 with SMTP id 2so1020697bwz.13 for ; Wed, 10 Nov 2010 10:17:01 -0800 (PST) Received: by 10.204.60.212 with SMTP id q20mr8686702bkh.104.1289413020867; Wed, 10 Nov 2010 10:17:00 -0800 (PST) Received: from [192.168.0.54] (123-193-5-149.dynamic.kbronet.com.tw [123.193.5.149]) by mx.google.com with ESMTPS id j14sm467702faa.47.2010.11.10.10.16.53 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 10:16:55 -0800 (PST) Message-ID: <4CDAE252.1060805@pathscale.com> Date: Thu, 11 Nov 2010 02:20:02 +0800 From: =?UTF-8?B?IkMuIEJlcmdzdHLDtm0i?= User-Agent: Thunderbird 2.0.0.22 (X11/20090909) MIME-Version: 1.0 To: App Deb References: <4CDA8F15.506@zedat.fu-berlin.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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:17:02 -0000 App Deb wrote: > 2010/11/10 O. Hartmann : > >> Hello out there, >> >> well, my question may sound heretic, but since we use mostly Linux based >> systems in our scientific environment and FreeBSD seems to lack in severe >> 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 the >> 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? (Sorry, but I don't think the HPC world can really live off 32bit applications) There's 2 types of code in a "cuda application" there's host code produced by the native compiler (gcc/intel/pathscale.. etc) and the device code.. produced by nvidia's toolchain.. I would make a pretty nice bet that the nvidia userland toolchain will not compile code on freebsd right now.. (not be negative here, but I'm intimately familiar with it..) Worse case you'd be copying code built on linux over and also the runtime libs.. (not 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