[petsc-users] Configure error

Satish Balay balay at mcs.anl.gov
Fri Aug 10 10:40:47 CDT 2012


On Fri, 10 Aug 2012, Fabio wrote:

> 2012/8/10 Satish Balay <balay at mcs.anl.gov>:
> >>>>
> > Executing: /cygdrive/d/Workspace/PETSc/petsc-3.3-p2/bin/win32fe/win32fe cl  -o /tmp/petsc-_yEt5c/config.setCompilers/conftest.exe    /tmp/petsc-_yEt5c/config.setCompilers/conftest.o
> > sh: LINK : fatal error LNK1104: cannot open file 'kernel32.lib'^M
> > <<<
> >
> > Ok configure failing with compiler check. It hasn't gone up to mpi check.
> >
> > Have you setup compilers in bash correctly [as the installation
> > instructions indicate?]. Have you checked if the compiler works [in
> > both 'compiler cmd' as well as bash] with a simple code - as the
> > instructions indicate?

> I start from the VC prompt and then I go to cygwin. When I type cl
> under cygwin I have the message
> Microsoft (R) 32-bit C/C++Optimizing Compiler Version ... so I believe
> cl is really working.
> 
> Is there something more I could do (in the mean whiel I will write a
> simple program to test the compiler)?

Please compile a simple program - both in 'VC prompt' and in 'bash'

Satish


More information about the petsc-users mailing list