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
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 >
