From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Thu Apr 08 2010 - 22:55:09 PDT
Deb, 1. Our internal notes for preparation of that huge tarball list the following as the minimum required Cygwin packages: autoconf automake bash coreutils cvs emacs flex gcc4 gdb indent less more m4 nano ncftp openssh patch patchutils pdksh perl_manpages pine ping rsync tcsh time wget vim zsh However, that might not be perfectly up-to-date, and I suspect some of those aren't truly necessary. However, you can always re-run the Cygwin installer to add more packages later if you need them. I suspect you need at least "tar" as well, to unpack the sources. 2. You need "A". The source-to-source translator in "B" does not build on Cygwin. However, the default configuration when you build "A" uses a network-based translator service we run, eliminating the need for most users to build "B". You should be able to follow the instructions in INSTALL.txt in the source tarball to build and install the Berkeley UPC Compiler. You can find the manual pages for the "upcc" compiler command and "upcrun" job launcher at: http://upc.lbl.gov/docs/user/upcc.html and http://upc.lbl.gov/docs/user/upcrun.html The file upc-examples/hello.upc in the source tarball is a simple example UPC program. -Paul Debabrata Midya wrote: > Paul, > > Thank you very much for such a quick response. > > I need your assistance for the followings: > > 1. Installation of Cygwin: Select packages to install > > Should I select all packages or there is a list of minimum packages I > can select to install to work with The Berkeley UPC compiler. > > 2. Source code for Berkeley UPC (under 7MB) > > (from http://upc.lbl.gov/download/source.shtml#runtime) > > *Berkeley UPC source downloads* > > A. The Berkeley UPC Runtime/front-end package (source distribution): > ** > Berkeley UPC runtime (and front-end) , Version 2.10.0:* > *berkeley_upc-2.10.0.tar.gz > <http://upc.lbl.gov/download/release/berkeley_upc-2.10.0.tar.gz> (5.7MB) > > B. The Berkeley UPC-to-C translator (source distribution): > > The Berkeley UPC-to-C translator, version 2.10.0:* > *berkeley_upc_translator-2.10.0.tar.gz > <http://upc.lbl.gov/download/release/berkeley_upc_translator-2.10.0.tar.gz> > ( 6.9MB) > > Should I need to download both A and B? > > 3. build from that > > How can I build after completing 1 & 2? > > May I request you to provide me couple of lines as a reference? > > Once again thank you very much for the time you have given. > > Regards, > > Deb > > >>> "Paul H. Hargrove" PHHargrove_at_lbl_dot_gov> 9/04/2010 2:21 pm >> > <mailto:PHHargrove_at_lbl_dot_gov%3E%209/04/2010%202:21%20pm%20%3E%3E> > Debabrata , > > The Berkeley UPC compiler is mainly written for POSIX-like environments, > which does not include native Windows XP. > However, Cygwin is a POSIX-like environment for Windows that is > sufficient to allow Berkeley UPC (and many other applications written > for Linux or other Unix) to run. > Cygwin is a substantial infrastructure and that accounts for the bulk of > the 1.2GB download. > > If you have already installed Cygwin on your machine then you could > download just the source code for Berkeley UPC (under 7MB) and build > from that. > > -Paul > > > Debabrata Midya wrote: > > Hi upc-users, > > > > Thanks in advance. > > > > I am Deb, Statistician at NSW Department of Services, Technology and > > Administration, Sydney, Australia. > > > > I am new to this group. > > > > I am currently using gcc <TDM-1 mingw32> 4.4.1 on Windows XP and I > > have some experience of using OpenMP. > > > > I need your assistance to start with UPC on Windows. > > > > I have found in the web site of > > http://upc.lbl.gov/download/binaries.shtml#windows that *Berkeley UPC > > v2.10.0 Binary Installer* - Installs the Cygwin > > <http://www.cygwin.com/> environment, and a prebuilt version of the > > Berkeley UPC runtime. But the file *Tar-gzipped installer size > > is (1268MB)* > > <http://upc.lbl.gov/download/berkeley_upc-2.10.0-bin.tar.gz>. It will > > take quite a while to download. Is there any alternative to have a > > copy of it? > > > > Once again, thank you very much for the time you have given. > > > > I am looking forward for your reply. > > > > Regards, > > > > > > Debabrata Midya (Deb) > > > > > > > > > ************************************************************************************* > > > > This email message, including any attached files, is confidential and > > intended solely for the use of the individual or entity to whom it is > > addressed. > > > > The Department of Services, Technology and Administration prohibits the > > right to publish, copy, distribute or disclose any information > contained in > > this email, or its attachments, by any party other than the intended > > recipient. If you have received this email in error please notify > the sender > > and delete it from your system. > > > > No employee or agent is authorised to conclude any binding agreement > > on behalf of the Department of Services, Technology and Administration > > by email. The views or opinions presented in this email are solely > those of > > the author and do not necessarily represent those of the Department, > > except where the sender expressly, and with authority, states them > to be > > the views of the Department of Services, Technology and Administration. > > > > The Department of Services, Technology and Administration accepts no > > liability for any loss or damage arising from the use of this email and > > recommends that the recipient check this email and any attached > files for > > the presence of viruses. > > > > > ************************************************************************************* > > > > > -- > Paul H. Hargrove PHHargrove_at_lbl_dot_gov > Future Technologies Group Tel: +1-510-495-2352 > HPC Research Department Fax: +1-510-486-6900 > Lawrence Berkeley National Laboratory > > ************************************************************************************* > > This email message, including any attached files, is confidential and > intended solely for the use of the individual or entity to whom it is > addressed. > > The Department of Services, Technology and Administration prohibits the > right to publish, copy, distribute or disclose any information contained in > this email, or its attachments, by any party other than the intended > recipient. If you have received this email in error please notify the sender > and delete it from your system. > > No employee or agent is authorised to conclude any binding agreement > on behalf of the Department of Services, Technology and Administration > by email. The views or opinions presented in this email are solely those of > the author and do not necessarily represent those of the Department, > except where the sender expressly, and with authority, states them to be > the views of the Department of Services, Technology and Administration. > > The Department of Services, Technology and Administration accepts no > liability for any loss or damage arising from the use of this email and > recommends that the recipient check this email and any attached files for > the presence of viruses. > > ************************************************************************************* > -- Paul H. Hargrove PHHargrove_at_lbl_dot_gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory