[petsc-users] Petsc with Elemental installation in Cray

Matthew Knepley knepley at gmail.com
Mon Jul 13 06:54:28 CDT 2015


On Mon, Jul 13, 2015 at 1:30 AM, venkatesh g <venkateshgk.j at gmail.com>
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 <knepley at gmail.com>
> wrote:
>
>> On Sun, Jul 12, 2015 at 6:52 AM, venkatesh g <venkateshgk.j at gmail.com>
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150713/0121a9aa/attachment.html>


More information about the petsc-users mailing list