From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 16:46:56 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 A9B381065674 for ; Wed, 18 Aug 2010 16:46:56 +0000 (UTC) (envelope-from cbergstrom@pathscale.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 40B088FC1D for ; Wed, 18 Aug 2010 16:46:55 +0000 (UTC) Received: by fxm4 with SMTP id 4so505912fxm.13 for ; Wed, 18 Aug 2010 09:46:55 -0700 (PDT) Received: by 10.223.113.5 with SMTP id y5mr8064755fap.93.1282148434069; Wed, 18 Aug 2010 09:20:34 -0700 (PDT) Received: from [192.168.5.149] ([119.42.87.246]) by mx.google.com with ESMTPS id k25sm216558fac.41.2010.08.18.09.20.28 (version=SSLv3 cipher=RC4-MD5); Wed, 18 Aug 2010 09:20:32 -0700 (PDT) Message-ID: <4C6C085A.2010009@pathscale.com> Date: Wed, 18 Aug 2010 23:20:42 +0700 From: =?ISO-8859-1?Q?=22C=2E_Bergstr=F6m=22?= User-Agent: Thunderbird 2.0.0.22 (X11/20090909) MIME-Version: 1.0 To: Ivan Klymenko References: 4C666786.6000205@mail.zedat.fu-berlin.de 20100816141324.7de6d7b4@ukr.net 20100816134713.66411ai1w435q5wh@webmail.xroff.net 201008161618.35076.pieter@degoeje.nl 20100816173333.4a1bba57@ukr.net 20100816145001.GA90619@mech-cluster241.men.bris.ac.uk <20100818120455.10870.qmail@dusk.parklogic.com> In-Reply-To: <20100818120455.10870.qmail@dusk.parklogic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 18 Aug 2010 16:58:22 +0000 Cc: Pieter de Goeje , emorras@xroff.net, Anton Shterenlikht , freebsd-questions@freebsd.org, "O. Hartmann" Subject: Re: FreeBSD, GPGPU and OpenCL/CUDA 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, 18 Aug 2010 16:46:56 -0000 Hi Oliver, > The problem behind the subject is a little bit frustrating, so I do not > know were to start. Yeah it's a pretty big problem, but I can say others are looking at it and taking small steps in the right direction. > First, and this > hasn't changed since the last 15 years, FreeBSD lack in support of > professional Compiler vendors. Pprtland Group offers only Linux > compilers, as far as I know Intel does not offer a native FreeBSD 64 Bit > compiler. So we are stuck with gcc and gfortran PathScale quietly is doing alpha testing on our very recent port. Some of it is work in progress, but we are *very* competitive in performance for most HPC codes. > matter, if OpenCL/CUDA stuff could be used. But there is then the next > problem. It seems that there is no real chance getting support for > executing high performance code portions of our software in any way on a > graphics card (gpu). Most FreeBSD driver doesn't support any 3D > acceleration and as far as I know, the driver's support of 3D is > essential for GPGPU usage. I looked for nVidia's native 64 Bit driver > for FreeBSD, I found it, was happy having it, but then I realised that > obviously CUDA isn't usable with this driver, since the CUDA SDK is not > to be ported to FreeBSD and not even to 64 Bit FreeBSDs. > > Well, FreeBSD doesn't support 64 Bit Linuxulator as far as I know, so > there is no chance getting software run in 64 bit environments using > OpenCL/CUDA with nVidia GPUs, neither natively under FreeBSD nor with a > 64Bit Linuxulator, is this right? PathScale and CAPS recently announced HMPP as a new manycore GPGPU open standard and there's a chance you'll see it ported to FBSD. In addition to this you could see other open standards working well on FBSD, but that depends on market demand and feedback. > I havn't looked deeper into AMDs offerings, but I guess since it's > silent around OpenCL and AMD-based GPGPU, even with Linux there isn't much. > I'm not very close to the GPGPU scene, we even start thinking about > porting and developing some mathematical stuff into libraries and > thought about OpenCL. > Unluckily, in my team I'm the only one utilizing FreeBSD. > > Maybe someone out here has solved some problems and could email me. Even > AMD seems to be a white spot in the subject of GPGPU and FreeBSD for me, > maybe someone could shed some light on this. What's blocking this from being available now a) someone porting the kernel driver over or b) us getting funding to do it. When we started working on the driver months ago one of the main goals was to allow greater portability. Details for any interested developers is available any time. In general I'd like to see more open source OS diversity in the HPC industry and happy to help where I can. For those curious why NVIDIA doesn't port CUDA to FBSD... My guess is that to do a high quality job it would take 1-2 man years of effort. In the non-FOSS world that's expensive. If anyone uses irc feel free to say hi.. #pathscale - irc.freenode.net Best, ./Christopher