Hi Nikhil,

you can tell the X10 compiler to use a different postcompiler using the -post option. (To see the format specification of this and other allowed command line parameters, just run x10c++ without any parameters.)

For example, you could run

$ x10c++ -x10rt mpi -post 'custom_mpicxx'

To use custom_mpicxx instead of the default mpicxx.

Once compiled with MPI, native X10 programs are just like standard executables, so you can invoke them with mpiexec, mpirun, or whatever MPI program you would normally use.

Cheers,

Josh

http://cs.anu.edu.au/~Josh.Milthorpe/

On 06/11/13 15:17, Nikhil Padmanabhan wrote:
Hello,

I've been playing with X10, and wanted to compile it with the MPI backend. However, the MPI compilers on the system I'm running on are wrapped into cc (i.e. mpicxx etc do not exist). Is there a way to get the build process to use a different MPI c++ compiler? I tried setting the MPICXX environment variable, but that seemed to have no effect...

I presume I'd also run into the same issue when attempting to compile?

Thanks!
-- Nikhil
---------------------------------
Nikhil Padmanabhan
nikhil.padmanab...@yale.edu <mailto:nikhil.padmanab...@yale.edu>


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk


_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to