X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_GD,TW_XV,TW_XZ,TW_ZV X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: real beginer Date: Tue, 23 Oct 2012 10:48:58 -0700 Lines: 54 Message-ID: References: <1350998927796-93898 DOT post AT n5 DOT nabble DOT com> <1351002701854-93906 DOT post AT n5 DOT nabble DOT com> <5086C75A DOT 2060306 AT cs DOT umass DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 In-Reply-To: <5086C75A.2060306@cs.umass.edu> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 10/23/2012 9:35 AM, Eliot Moss wrote: > On 10/23/2012 10:31 AM, Trixie wrote: >> Thank you all. >> Here's my story. I'm physics student and my master degree work is >> "Application of GPU on DFT calculations". I need this BigDFT to run >> certain >> examples on cuda based GPU computer and on regular CPU and discuss the >> results. >> Cygwin was my first choice because i felt comfortable using it. But I >> think >> this is gonna be harder then i expected. I guees i should give up >> Cygwin and >> instal (maybe) UBUNTU on partition of my computer and try there. Any >> suggestion there? >> Thank you all again, you've been most kind. > > I am most of the way through building bigdft under cygwin. I have > no idea how the GPU aspect might work but here is what I've done > so far: > > 1) Download blas.tgz to ~/downloads (where I put things) > In ~/tools (because I like it): > tar xzvf ~/downloads/blas.tgz > In ~/tools/BLAS: > Edit make.inc as desired > make > cp blas_LINUX.a /usr/lib/libblas.a > > 2) Download lapack-3.4.2.tgz to ~/downloads > In ~/tools, tar xzvf ~/downloads/lapack-3.4.2.tgz > In ~/tools/lapack-3.4.2: > cp make.inc.example make.inc > Edit make.inc as desired; note that libblas.a is in /usr/lib, so > you *must* edit that line > make [takes a LONG time] > cp *.a /usr/lib To run on Windows, shouldn't this .a files really be .dll's? > > 3) Download bigdft-1.6.0.tar.gz to ~/downloads > In ~/tools, gunzip -c ~/downloads/bigdft-1.6.0.tar.gz | tar xvf - > In ~/tools/bigdft-1.6.0: > ./configure (takes a while) > make (takes quite a while) > > This ultimately failed when linking, so something seems missing or > slightly off. I will try to look at it later. > > On the other hand, setting up a Linux partition, or using > a Linux virtual machine under Windows, are reasonable options too. If you're using Cygwin's gcc/fortran and linker I suspect you'll need .dll's not .a's. -- Andrew DeFaria Madness takes its toll. Please have exact change. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple