[petsc-users] x64 build problem

Rob Ellis Robert.G.Ellis at Shaw.ca
Sun Jan 17 19:07:35 CST 2010


Hi Petsc Experts

 

I've been running Petsc/TAO successfully under CVF VC but need to move to 64
bit. Now, I'm trying to compile Petsc on a Windows XP64, VS2008 C/C++ and
IVF 11 from the IVF compiler shell with Cygwin bash using the command

 

./config/configure.py                  \

     --with-cc='win32fe cl'             \

     --with-cxx='win32fe cl'           \

     --with-fc=ifort                            \

     --with-mpi-dir=/cygdrive/c/MPICH2 \

     --download-f-blas-lapack=1        \

     --with-clanguage=C++ CXXFLAGS='-DMPICH_SKIP_MPICXX -MT -GR -EHsc'

 

and get the following error:

 

============================================================================
=====

             Configuring PETSc to compile on your system

============================================================================
=====

TESTING: checkCCompiler from
config.setCompilers(/cygdrive/z/ai/petsc-3.0.0-p9/config/BuildSystem/config/
setCompilers.py:394)

         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
details):

----------------------------------------------------------------------------
-----------

C compiler you provided with -with-cc=win32fe cl does not work

****************************************************************************
*****

 

However if I type cl at the command line, cl seems to work

 

$ cl

Microsoft (R) C/C++ Optimizing Compiler Version 15.00.21022.08 for x64

Copyright (C) Microsoft Corporation.  All rights reserved.

 

usage: cl [ option... ] filename... [ /link linkoption... ]

 

 

Any help would be most appreciated.

Cheers,

Rob

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100117/65101131/attachment.htm>


More information about the petsc-users mailing list