next up previous
Next: Running Spheral++ Up: Building the code Previous: Building the code

Building in parallel using distributed resources

If you are building on a parallel machine that uses distributed resources rather than shared processors on a single node, unfortunately Gnu make's parallel -j option will not help you. However, we have implemented a somewhat limited distributed building capability in Spheral++ for such distributed machines. It will not build the third party libraries in parallel, but will attempt to build the Spheral++ source itself in a distributed manner. In order to use this function you must tell Spheral++'s configure system how submit parallel jobs on your machine with the --with-submitDistributedMake option. For example, common methods of specifying a 10 way build on a Beowulf style cluster might include
configure ... --with-submitDistributedMake="mpriun -np 10"
or
configure ... --with-submitDistributedMake="srun -n 10 -N 5 -p pdebug"
where the ellipses indicate the other usual configuration options discussed previously. You should consult your own clusters documentation for the appropriate syntax for submitting parallel jobs to run. Once you have configured properly, you can invoke the distributed parallel build simply by typing
make DistributedMake



Mike Owen 2006-09-13