You gnu compiler is ancient and supports little of C++11. Likely there is a more recent one on the system (like 4.8) that you can switch to by using the right module.
Barry > On Jul 13, 2015, at 10:35 AM, venkatesh g <[email protected]> wrote: > > sorry, I have attached the configure.log > > Venkatesh > > On Mon, Jul 13, 2015 at 5:24 PM, Matthew Knepley <[email protected]> wrote: > On Mon, Jul 13, 2015 at 1:30 AM, venkatesh g <[email protected]> wrote: > Hi, when I use --with-cxx-dialect=C++11, I get the error > > Could not determine compiler flag for with-cxx-dialect=C++11, use CXXFLAGS > > Always always always send configure.log or we have no idea what happened. > > Matt > > Kindly let me know the syntax or how to enable this. > > w.r.t --with-mpi-dir on Crays, I will keep it in mind and will not pass them > as you have told Barry, they locate it automatically. > > Thank you > Venkatesh > > On Sun, Jul 12, 2015 at 5:31 PM, Matthew Knepley <[email protected]> wrote: > On Sun, Jul 12, 2015 at 6:52 AM, venkatesh g <[email protected]> wrote: > Hi all, > > I am trying to install elemental with Petsc. > > I configure using: > > ./configure --with-cc=gcc --with-cxx=g++ PETSC_ARCH=linux-intel_elemental > -with-blas-lapack-dir=/opt/intel/composer_xe_2015.1.133/mkl/lib/intel64/ > --with-mpi-dir=/opt/cray/mpt/7.0.5/gni/mpich2-intel/140 > --with-scalar-type=complex --with-fortran-kernels=1 > -known-mpi-shared-libraries=0 --with-large-file-io=1 --with-64-bit-indices=0 > --with-batch FC=ifort --with-valgrind-dir=/mnt/lustre/esd2/esdveng/valgrind > --download-elemental=/home/proj/14/esdveng/apps/Elemental-0.84-p5.tgz > --download-cmake=/home/proj/14/esdveng/apps/cmake-2.8.12.2.tar.gz > > I get this error: > > Cannot use elemental without enabling C++11, see --with-cxx-dialect=C++11 > > Pls let me know what flag must I use and its syntax. > > Did you try using --with-cxx-dialect=C++11 on configure? > > Thanks, > > Matt > > > Venkatesh > > > > > > -- > What most experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener > > > > > -- > What most experimenters take for granted before they begin their experiments > is infinitely more interesting than any results to which their experiments > lead. > -- Norbert Wiener > > <configure.log>
