BTW:  --with-cc=gcc --with-cxx=g++  
--with-mpi-dir=/opt/cray/mpt/7.0.5/gni/mpich2-intel/140 

Setting BOTH the compilers and the mpi directory doesn't really make sense. On 
the cray if you use the module "stuff" the compilers "know" the MPI they work 
with and automatically locate the correct includes and libraries. So never pass 
the --with-mpi-dir on crays.

   Barry

Satish: We should really generate an error in configure if the user passes 
--with-mpi-dir on the crays.



> On 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. 
> 
> Venkatesh
> 
> 

Reply via email to