delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/23/13:18:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_GD,TW_XV,TW_XZ,TW_YG,TW_ZV
X-Spam-Check-By: sourceware.org
Message-ID: <5086D14D.3070406@gmail.com>
Date: Tue, 23 Oct 2012 19:18:05 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: real beginer
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>
In-Reply-To: <5086C75A.2060306@cs.umass.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 6:35 PM, 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

1 & 2 are already available on liblapack-devel

$ cygcheck -l liblapack-devel |grep "\.a"
/usr/lib/libblas.a
/usr/lib/libblas.dll.a
/usr/lib/liblapack.a
/usr/lib/liblapack.dll.a
/usr/lib/libtmglib.a


>
> 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.
>
> Eliot Moss
>



--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019