Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread Igor Peshansky
You are missing prerequisites. X10 requires gcc 4.2 or later. Igor mohammed elsaeedy wrote on 07/22/2010 04:00:34 PM: > Dear Igor, > > > Sorry for that, yes you were right, I didn't really attach all of the > error, my mistake so again, I > tried to compile the X10 2.0.4 and

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread Igor Peshansky
This message means that it's unable to retrieve the GC sources from the CVS repository on the net. You can either disable GC in your build by using -DDISABLE_GC=true, or make sure you can access the remote CVS repository using the "cvs" command from the build machine. Igor mohammed elsaee

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread mohammed elsaeedy
Dear List, I solved the problem, that i had, it had to do with the gcc version, it was considerably old, so I updated it to 4.5.0 and it builds just fine now. Thank you Igor and Yoav for clarifying things for me. Regards, Mohammed El Sayed On Thu, Jul 22, 2010 at 4:00 PM, mohammed elsaeedy

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread mohammed elsaeedy
Dear Igor, Sorry for that, yes you were right, I didn't really attach all of the error, my mistake so again, I tried to compile the X10 2.0.4 and here is what I get at the end: ... ... ...

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread Igor Peshansky
Mohammed, Either you did not show us the whole error message, or you are missing one of the prerequisites. According to line 294 of the 2.0.4 source, you may not have the make executable in your path. FYI, you can probably skip most of the first 4 minutes 27 seconds of the build by not doing a

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread mohammed elsaeedy
Dear List, So when I tried to build the SVN-head "x10-trunk" I get the following error: BUILD FAILED /home/cluster/t1221/lu26xut/x10-trunk/x10.dist/build.xml:169: The following error occurred while executing this line: /home/cluster/t1221/lu26xut/x10-trunk/x10.runtime/build.xml:450: cvs exite

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread mohammed elsaeedy
Dear Igor and Yoav, Thank you for your reply and help. When I tried to use the command "ant -Davailable.procs=4 distclean dist" to build the source code on the cluster, the build fails giving me the following error eventually after 4 mins and 27 secs: BUILD FAILED /home/cluster/t1221/lu26xut/x1

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread Igor Peshansky
Indeed -- good point, Yoav. Mohammed, if you run with "-report postcompile=1", the compiler will tell you exactly how it's invoking the post-compiler, and you can then re-run the exact post-compilation command to see the output in your shell. Igor Yoav Zibin wrote on 07/22/2010 02:29:25

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread Igor Peshansky
Hi, Mohammed, If your x10c++ script generates the x10 folder and takes a long time to compile, you are using an incompletely built distribution (a complete one should include a manifest files that prevents X10 standard library and runtime classes from being re-generated). If you run "ant -Davaila

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread Yoav Zibin
I think that's what happen: The X10 compiler created the C++ files, and then it runs the C++ compiler (we call it a post-compiler) from within Java, and if the return code was not zero, then it outputs the C++ compiler's output. And your C++ compiler apparently created a LOT of output (that caused

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread mohammed elsaeedy
Dear Igor, Well I did as you said, I took the 2.0.4 source code and I compiled over my laptop first (32 bit), and I linked the environment variables to the "bin" of the compiled source code, and it worked just perfectly. "ant squeakyclean dist" When I do the same thing over the cluster, I

Re: [X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread Igor Peshansky
mohammed elsaeedy wrote on 07/22/2010 09:28:44 AM: > Dear List, > > Now, I've implemented several parallel applications by using X10, and > they work very well locally on my machine (32 bit) , but now I want to run > it over a cluster to > evaluate the true performance of intra and inter

[X10-users] an Issue on compiling X10 code over a cluster

2010-07-22 Thread mohammed elsaeedy
Dear List, Now, I've implemented several parallel applications by using X10, and they work very well locally on my machine (32 bit) , but now I want to run it over a cluster to evaluate the true performance of intra and inter parallelism, so I set up the PATH variables on my account in the cl