Jim LaGrone <jlagr...@cs.uh.edu> wrote on 10/29/2009 03:59:37 PM: > I'm trying to compile using the C++ backend and execute on 8 nodes of > a Linux cluster. > > Igor mentioned I could use this command > mpirun -np 8 ../bin/RUN_knowledgeFormation param_file.txt > but the 8 processes appear to run on one node.
Hi, Jim, To run on multiple nodes, you need to give a hostfile to mpirun. However, it is a current limitation of the PGAS runtime that the first node in the hostfile has to be the origin machine (i.e., the machine you invoke mpirun on). You will also need to export OMPI_MCA_orte_base_nodename=`hostname` before launching mpirun. We are working on fixing these issues. > The instructions in the INSTALL file say: > > To compile an X10 source program using the C++ backend, invoke > "bin/x10c++ -MAIN_CLASS=<class_name> <class_name>.x10". This will > produce an executable named "<class_name>" in the current > directory[*]. > > To run the compiled X10 executable in one place, invoke > "bin/runx10 ./<class_name>". > - To run in multiple places on Linux, run "bin/manager", and then > invoke "bin/launcher -t <nplaces> ./<class_name>". > > I've compiled using x10c++, but when I call "manager" I get the > following: > > jlagr...@shark01:~/src> manager > Not able to convert manager to an absolute path You need to invoke manager through an absolute or relative path. It does not work when invoked via the PATH. > I'm still using > x10c++ version 1.7.6 > Polyglot compiler toolkit version 3.1.0 (2009-06-11 14:44:14) Hope this helps, Igor -- Igor Peshansky (note the spelling change!) IBM T.J. Watson Research Center XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/) X10: Parallel Productivity and Performance (http://x10.sf.net/) ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users