next up previous
Next: Building in parallel using Up: Configuring, Building, and Testing Previous: Example configuration: Red Hat

Building the code

Once you have configured Spheral++, building is simply a matter of executing make. Spheral++'s build system is based upon Gnu's make, which is available on most systems. On a Linux based system make is the Gnu make, while on many other systems Gnu make is installed as gmake. Building the code from scratch can be quite a long process, particularly while building all the third party packages. Fortunately, if you are building on a multiprocessor SMP machine you can take advantage of Gnu make's parallel build facilities via the -j option to vastly speed up the compile process. For instance, on a typical AIX machine at LLNL a serial build might take several hours. However, by building 10 way (gmake -j 10), the full compile can be completed in less than half an hour.



Subsections

Mike Owen 2006-09-13