[petsc-users] configuration on cluster with intel compilers/mkl

Barry Smith bsmith at mcs.anl.gov
Tue May 13 20:14:16 CDT 2014


  Your MPI compiler is using 32 bit pointers (why?)

TEST configureCompilerFlags from config.compilerFlags(/home/simpson/software/petsc-intel/config/BuildSystem/config/compilerFlags.py:65)
TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:65)
  Get the default compiler flags
          Pushing language C
sh: /cm/shared/apps/intel/mpi/4.1.1.036/bin/mpicc --version
Executing: /cm/shared/apps/intel/mpi/4.1.1.036/bin/mpicc --version
sh: gcc (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

getCompilerVersion: /cm/shared/apps/intel/mpi/4.1.1.036/bin/mpicc gcc (GCC) 4.8.1
sh: /cm/shared/apps/intel/mpi/4.1.1.036/bin/mpicc -show
Executing: /cm/shared/apps/intel/mpi/4.1.1.036/bin/mpicc -show
sh: gcc -m32 -I/cm/shared/apps/intel/mpi/4.1.1.036/ia32/include -L/cm/shared/apps/intel/mpi/4.1.1.036/ia32/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /cm/shared/apps/intel/mpi/4.1.1.036/ia32/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpigf -lmpi -lmpigi -ldl -lrt -lpthread

  But you ask to use 64 bit pointer MKL libraries with /cm/shared/apps/intel/composer_xe/2013_sp1.1.106/mkl/lib/intel64/libmkl_intel_lp64.a

Cannot be done. Either use a 64 bit pointer mpicc or a 32 bit pointer mkl library.

   Barry

On May 13, 2014, at 7:59 PM, Gideon Simpson <gideon.simpson at gmail.com> wrote:

> Log attached,
> -gideon
> 
> On May 13, 2014, at 8:56 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>> 
>>   You always need to send configure.log so we can see why the library was unacceptable. 
>> 
>> On May 13, 2014, at 7:16 PM, Gideon Simpson <gideon.simpson at gmail.com> wrote:
>> 
>>> I’m trying to set up petsc on an intel cluster that has the intel compilers and the MKL, but when I try to configure, I get the error,
>>> 
>>> TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:113) *******************************************************************************
>>>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
>>> -------------------------------------------------------------------------------
>>> You set a value for --with-blas-lapack-lib=<lib>, but ['/cm/shared/apps/intel/composer_xe/2013_sp1.1.106/mkl/lib/intel64/libmkl_intel_lp64.a', '/cm/shared/apps/intel/composer_xe/2013_sp1.1.106/mkl/lib/intel64/libmkl_sequential.a', '/cm/shared/apps/intel/composer_xe/2013_sp1.1.106/mkl/lib/intel64/libmkl_core.a'] cannot be used
>>> 
>>> 
>>> 
>>> -gideon
>>> 
>> 
> 
> <configure.log>



More information about the petsc-users mailing list