[petsc-users] Building PETSc with cmake
John Fettig
john.fettig at gmail.com
Tue Sep 13 09:30:55 CDT 2011
On Tue, Sep 13, 2011 at 10:09 AM, Satish Balay <balay at mcs.anl.gov> wrote:
> On Tue, 13 Sep 2011, John Fettig wrote:
>> Is there any way to tell configure which python to use? I have python
>> 2.6 installed, it's just not what runs when you type `python`. I
>> don't think I can change the default python in CentOS 5 without
>> breaking a lot of other things.
>
> /path/to/python2.6 configure [configure_options]
This gets configure to try cmake, but it still doesn't use it. It
doesn't set "PETSC_BUILD_USING_CMAKE" to "1" as I see the nightly
builds doing, and again doesn't offer for me to use cmake at the end
of configure. Is this only available in petsc-dev?
Thanks,
John
Invoking: ['/usr/local/bin/cmake',
'/home/jfe/local/centos/petsc-3.2-p0',
'-DCMAKE_C_COMPILER:FILEPATH=icc', '-DCMAKE_C_FLAGS:STRING= -fPIC
-wd1572 -Qoption,cpp,--extended_float_type -g -debug
inline_debug_info', '-DCMAKE_Fortran_COMPILER:FILEPATH=ifort',
'-DCMAKE_Fortran_FLAGS:STRING= -fPIC -g -debug inline_debug_info']
sh: ['/usr/local/bin/cmake', '/home/jfe/local/centos/petsc-3.2-p0',
'-DCMAKE_C_COMPILER:FILEPATH=icc', '-DCMAKE_C_FLAGS:STRING= -fPIC
-wd1572 -Qoption,cpp,--extended_float_type -g -debug
inline_debug_info', '-DCMAKE_Fortran_COMPILER:FILEPATH=ifort',
'-DCMAKE_Fortran_FLAGS:STRING= -fPIC -g -debug inline_debug_info']
Executing: ['/usr/local/bin/cmake',
'/home/jfe/local/centos/petsc-3.2-p0',
'-DCMAKE_C_COMPILER:FILEPATH=icc', '-DCMAKE_C_FLAGS:STRING= -fPIC
-wd1572 -Qoption,cpp,--extended_float_type -g -debug
inline_debug_info', '-DCMAKE_Fortran_COMPILER:FILEPATH=ifort',
'-DCMAKE_Fortran_FLAGS:STRING= -fPIC -g -debug inline_debug_info']
sh: -- The C compiler identification is Intel
-- Check for working C compiler: /opt/intel/Compiler/11.1/072/bin/intel64/icc
-- Check for working C compiler:
/opt/intel/Compiler/11.1/072/bin/intel64/icc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- The Fortran compiler identification is Intel
-- Check for working Fortran compiler:
/opt/intel/Compiler/11.1/072/bin/intel64/ifort
-- Check for working Fortran compiler:
/opt/intel/Compiler/11.1/072/bin/intel64/ifort -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /opt/intel/Compiler/11.1/072/bin/intel64/ifort
supports Fortran 90
-- Checking whether /opt/intel/Compiler/11.1/072/bin/intel64/ifort
supports Fortran 90 -- yes
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/jfe/local/centos/petsc-3.2-p0/intel-debug
================================================================================
================================================================================
More information about the petsc-users
mailing list