Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 42733 invoked from network); 10 Mar 2011 06:49:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Mar 2011 06:49:27 -0000 Received: (qmail 42863 invoked by uid 500); 10 Mar 2011 06:49:25 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 42750 invoked by uid 500); 10 Mar 2011 06:49:19 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 42742 invoked by uid 99); 10 Mar 2011 06:49:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 06:49:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of goksron@gmail.com designates 209.85.214.48 as permitted sender) Received: from [209.85.214.48] (HELO mail-bw0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 06:49:13 +0000 Received: by bwz8 with SMTP id 8so2017990bwz.35 for ; Wed, 09 Mar 2011 22:48:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=frs0VnwXTjuW+KUI+3058uKAMX8JSEfBrMJsLMw9y94=; b=TnZDyiZ7wmHOwPWyDfuYW2TM/LPtIWres6QuBDL9zTpfKZMzy1x2eKoOe2n1lGEiQh DH1DdkIU1up290QqZHijABsCN4ED7Ch/S9lB9Br6nWDBPc+BdjJwWBNV0xUxOSjCs164 f4Vc24TdgOkRqq2V/g1E1/RK2mJ8iDGonDKY8= 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 :content-type:content-transfer-encoding; b=b41os/v8VfZEB7V+EH5PmO7vKCqrXTYC4z7tDfB82VpNpx06DC0eLgZ73J+CAWEUxy a3Mmu2wtsaKoml8P0+UV4ACs0uq/PLQDe+a238jVCio1yR3t9Gd5xkv/v+KmMFhsok10 t7XP35D59VYD/aaZbtxmpinAj/ZrlBXTQTxEE= MIME-Version: 1.0 Received: by 10.223.127.210 with SMTP id h18mr3061658fas.71.1299739732045; Wed, 09 Mar 2011 22:48:52 -0800 (PST) Received: by 10.223.96.68 with HTTP; Wed, 9 Mar 2011 22:48:51 -0800 (PST) In-Reply-To: <4D7855F9.2030208@orkash.com> References: <4D707635.7070708@orkash.com> <4D7855F9.2030208@orkash.com> Date: Wed, 9 Mar 2011 22:48:51 -0800 Message-ID: Subject: Re: Cuda Program in Hadoop Cluster From: Lance Norskog To: common-user@hadoop.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable One of the Python CUDA packages translates Python byte-code into CUDA-style C and runs the toolchain. If this actually works, you can just do Python apps under Hadoop Streaming. On Wed, Mar 9, 2011 at 8:39 PM, Adarsh Sharma wr= ote: > Thanks Chen for your guidance, > > To translate CUDA in Hadoop environment, following are the options : > > -- Hadoop Streaming: Standard I/O ( Recommended by you ) > -- Hadoop Pipes: C++ library, Socket connection, ( I'm looking for ) > -- JNI, JNI-based CUDA wrapper (JCUDA) ( Done and able to run a Jcuda > Program in Hadoop Cluster ) > > We use Hadoop Pipes for our proposed technique > =C2=A0 . MapReduce applications/CUDA kernel ? written in C++ > > So i.e why I am trying a C Cuda code to run through Hadoop Pipes, is it > difficult or not possible. > I am looking for a demo Cuda program that is up and running in Hadoop > Cluster that clarifies my =C2=A0basic concepts so that I program accordin= gly in > future. > > > Looking forward for some more guidance. > > Thanks once again for your wishes . > > > With best Regards, > > Adarsh Sharma > > > > He Chen wrote: >> >> Hi, Adarsh Sharma >> >> For C code >> >> My friend employ hadoop streaming to run CUDA C code. You can send email >> to >> him. pdu@cse.unl.edu. >> >> Best wishes! >> >> Chen >> >> >> On Thu, Mar 3, 2011 at 11:18 PM, Adarsh Sharma >> wrote: >> >> >>> >>> Dear all, >>> >>> I followed a fantastic tutorial and able to run the Wordcont C++ Progra= m >>> in >>> Hadoop Cluster. >>> >>> >>> >>> http://cs.smith.edu/dftwiki/index.php/Hadoop_Tutorial_2.2_--_Running_C%= 2B%2B_Programs_on_Hadoop >>> >>> But know I want to run a Cuda Program in the Hadoop Cluster but results >>> in >>> errors. >>> Is anyone has done it before and guide me how to do this. >>> >>> I attached the both files. Please find the attachment. >>> >>> >>> Thanks & best Regards, >>> >>> Adarsh Sharma >>> >>> >> >> > > --=20 Lance Norskog goksron@gmail.com