mohammed elsaeedy <mohammed.elsae...@kaust.edu.sa> wrote on 06/30/2010 06:03:55 AM:
> Dear all, > > I'm totally new to X10, and I'm intending to implement some linear > kernels with it, I have some questions that I hope you > could help me with, first, what is the Java and C++ back ends of the X10? > What is the difference? does this mean that the X10 > code is ported to Java or C++ eventually? because if I'm going to compare my > linear kernels to MPI for example then I'll need to > make a fair comparison, i.e I can't compare Java to Fortran. Hi, Mohammed, Thank you for your interest in X10. The compilation strategy for X10 is to generate code in another language, Java or C++, which is then compiled or interpreted by the corresponding tools. So, the Java backend for X10 generates Java code and then uses the JVM to execute the generated program. The C++ backend generates C++ source, which is then post-compiled by a C++ compiler (g++ or xlC) to the target architecture. At the moment, the C++ backend is the only one that supports multi-node execution (the Java backend is SMP-only until later this year). So, if you want to compare your X10 program with MPI code running in FORTRAN, then the C++ backend is your only option. Please read the instructions on the various transports that can be used by the X10 C++ backend. In particular, X10 can link to (and run on top of) MPI itself, as well as use more specialized transports for various architectures (e.g., BG/P). Let us know if you have more questions, 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users