| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,TW_GD,TW_XV,TW_XZ,TW_ZV |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <5086C75A.2060306@cs.umass.edu> |
| Date: | Tue, 23 Oct 2012 12:35:38 -0400 |
| From: | Eliot Moss <moss AT cs DOT umass DOT edu> |
| Reply-To: | moss AT cs DOT umass DOT edu |
| 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> |
| In-Reply-To: | <1351002701854-93906.post@n5.nabble.com> |
| 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 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
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |