[petsc-users] Problem with Petcs link to window Intel MKl mkl_blas95.lib, mkl_lapack95.lib and mkl_blas_intelmpi.lib

Satish Balay balay at mcs.anl.gov
Tue Mar 15 08:51:17 CDT 2011


for one -  intel compiler on windows is icl [not icc]. Secondly what
compilers do you wish to use with petsc?

> --with-f-blas95-lapack-dir=/intel/Compiler/11.1/067/mkl/ia32/lib / --with-mpich2-dir=
=/intel/Compiler/11.1/067/mkl/ia32/lib

Also there are no --with-f-blas95-lapack-dir --with-mpich2-dir configure options
to petsc. Check the installation instructions at:

http://www.mcs.anl.gov/petsc/petsc-as/documentation/installation.html
Use options:
--with-blas-lapack-lib
--with-mpi-dir

Note: If you don't really need petsc on windows - suggest using linux instead
and avoid some pain..

If you still have issues send configure.log to petsc-maint.

satish

On Tue, 15 Mar 2011, Hung Thanh Nguyen wrote:

> Hi petcs-using
> 
> Thank for fast responding Grayver. I try:
> ./config/configure.py --with-cc='win32fe icc' --with-fc='win32fe ifort'  --with-cxx='win32fe icc'
> 
> and I got the following error message:
> Could not found C-compilers
> I try :
> ./config/configure.py --with-cc='win32fe icc' --with-fc='win32fe ifort'  --with-cxx='win32fe icc'
> 
> and got the error message:
> C compiler you provided with --with-cc='win32fe icc' does not work, try -with-batch
> 
> I try again and got the new following error message:
> ./config/configure.py -with-batch --with-cc='win32fe icc' --with-fc='win32fe f95'  --with-cxx='win32fe icc'
> and got the new following error message:
> UNABLE to execute Binaries for congig/configure.py
> 
> I Hope that you can help me to solve the problem. Thank a lot.
> Hung T. Nguyen
> 
> 
> From: petsc-users-bounces at mcs.anl.gov [mailto:petsc-users-bounces at mcs.anl.gov] On Behalf Of Alexander Grayver
> Sent: 15. mars 2011 13:47
> To: PETSc users list
> Subject: Re: [petsc-users] Problem with Petcs link to window Intel MKl mkl_blas95.lib, mkl_lapack95.lib and mkl_blas_intelmpi.lib
> 
> I would suggest that you have to define the name of the compiler which will be used. In case of Intel compiler I guess it should be:
> 
> --with-cc='win32fe icc' --with-fc='win32fe ifort'  --with-cxx='win32fe icc'
> 
> On 15.03.2011 13:33, Hung Thanh Nguyen wrote:
> Dear PETSc use
> I try to install PETSc on window Intel MKL and include mkl_blas95.lib, mkl_lapack95.lib and mkl_blacs_intelmpi.lib ( or mkl_mpich2.lib).
> Intel MKL compiler 11.6-067. The following config-procedure
> .....
> $ ./config/configure.py   / --with-petsc-arch=intel-32-static / --with-f-blas95-lapack-dir=/intel/Compiler/11.1/067/mkl/ia32/lib / --with-mpich2-dir=
> =/intel/Compiler/11.1/067/mkl/ia32/lib
> 
> I am also try:
> $ ./config/configure.py   / --with-petsc-arch=intel-32-static / --with-f-blas-lapack-dir=/intel/Compiler/11.1/067/mkl/ia32/lib / --with-mpi-dir=
> =/intel/Compiler/11.1/067/mkl/ia32/lib
> 
> I got error message:
> Could not locate a functional C compiler
> 
> What I am doing wrong?
> 
> Thanks
> Hung T Nguyen
> Physis and techonology Inst. University in Tromsø
> 
> 
> 
> 


More information about the petsc-users mailing list