"Debabrata Midya" <debabrata.mi...@services.nsw.gov.au> wrote on 04/29/2010 10:35:46 PM:
> Hi X10 users!, > > Thanks in advance. > > I am Deb, Statistician at NSW Department of Services, Technology and > Administration, Sydney, Australia. > > I am new to X10 and I need your assistance to start with. Hi, Deb, Sorry to hear you're having trouble with X10 installation. We are actively working on getting together a coherent set of installation instructions. In the meantime, I've provided some information below. > I have downloaded pre-built binary builds of X10 2.0.3 for Cygwin/x86 > (File name: x10-2.0.3_cygwin_x86.tgz) > I have done so far like this and please guide me how can I complete > the installation to use X10. > 1. I have installed cygwin D:\cygwin directory. I have selected couple > of packages to install from cygwin. Is there any list of packages I > need to install in order to use X10? The following is from one of the developer pages. We will migrate it to the installation instructions page shortly: Note for Cygwin users: The minimum Cygwin version required to build X10 is 1.7.1, as Cygwin releases prior to 1.7.1 broke the shared library behavior of g++ 4.3.2. You will have to install (and use) g++ 4.3.2 (packages gcc4-core and gcc4-g++). Either update alternatives to make gcc-4/g++-4 the default gcc/g++ compiler, or set CC=gcc-4 and CXX=g++-4 explicitly in the environment before the build. All of the pre-built Cygwin binaries for X10 are now built with g++ 4.3.2. Whatever is said about the build applies to running X10 as well. An additional package you'll need is MPICH2 from the X10 distribution site. To install that, run Cygwin setup with a "-X" option (to stop it from checking package signatures, since we have no way to sign our package with the Cygwin project's public key) and add the following URL to the mirror list: http://dist.codehaus.org/x10/x10dt/2.0/cygwin/ which will automatically install the Cygwin build of MPICH2 with all of its prerequisites on your system (once you proceed past the package selection). > 2. Now how can I install X10 from the downloaded file > x10-2.0.3_cygwin_x86.tgz? Please provide me the set commands I need > to complete the installation. Simply untar the file into any directory (e.g., /opt/x10) using "mkdir -p /opt/x10 && cd /opt/x10 && tar xzvf /path/to/x10-2.0.3_cygwin_x86.tgz". > 3. Please provide me an example code to compile and run. There are some example programs in the "samples" subdirectory of the installation tree (in the above case, /opt/x10/samples). > Please provide the set of commands as well. See /opt/x10/INSTALL.txt for compilation instructions. You may also want to look at one of the tutorials on the main X10 site, http://x10.codehaus.org/ . > Once again, thank you very much for the time you have given. You're welcome. Igor -- Igor Peshansky (note the spelling change!) IBM T.J. Watson Research Center X10: Parallel Productivity and Performance (http://x10-lang.org/) XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/) "I hear and I forget. I see and I remember. I do and I understand" -- Confucius ------------------------------------------------------------------------------ _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users