When configuring your build, bear in mind the limitation (mentioned in §
1) that we require a reasonably standard compliant C++ compiler.
Unfortunately for many Red Hat Linux users, Red Hat continues to ship their
system with a non-release versions of g++
, which often fail on some of
the more challenging C++ constructs found in Spheral++ and the included Boost library. If you are using such non-standard compilers it will likely
be necessary to obtain a modern version of gcc
. In §2.5.2
below we show an example building on such a Red Hat based system, overriding
the compiler to use the 3.4.3 series of Gnu compilers. The following are some
generic configuration examples:
./configure --with-compilers=gnu --without-mpi
./configure --with-compilers=gnu --without-mpi --with-opt=2 --with-dbc=none
./configure --with-opt=2 --with-dbc=none \ --with-CC=gcc --with-CXX=g++ \ --with-MPICC=mpicc --with-MPICXX=mpiCC
In the sections below we show examples of configurations on several platforms in use at LLNL.