[petsc-users] win32fe icl won't work

Sam Guo sam.guo at cd-adapco.com
Tue Dec 17 11:00:17 CST 2019


Yes, removing --with-batch works. Thanks a lot.

On Tue, Dec 17, 2019 at 11:58 AM Balay, Satish <balay at mcs.anl.gov> wrote:

> You don't need --with-batch for this usage [esp with --with-mpi=0]
>
>
> Also suggest using latest petsc version [and update your code to it]
>
> Satish
>
>
> On Tue, 17 Dec 2019, Sam Guo wrote:
>
> > It is better but the configuration still failed.
> >
> > On Tue, Dec 17, 2019 at 8:42 AM Balay, Satish <balay at mcs.anl.gov> wrote:
> >
> > > Alternative is to update PATH so that link.exe from compiler is before
> the
> > > one from cygwin.
> > >
> > > I have it at '/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
> > > 14.0/VC/BIN/amd64/link.exe' so would do:
> > >
> > > export PATH='/cygdrive/c/Program Files (x86)/Microsoft Visual Studio
> > > 14.0/VC/BIN/amd64':$PATH
> > >
> > > And verify with:
> > >
> > > balay at ps4 ~
> > > $ which link.exe
> > > /cygdrive/c/Program Files (x86)/Microsoft Visual Studio
> > > 14.0/VC/BIN/amd64/link.exe
> > >
> > > balay at ps4 ~
> > > $
> > >
> > >
> > > Satish
> > >
> > >
> > > On Tue, 17 Dec 2019, Sam Guo wrote:
> > >
> > > > I cannot move link.exe:
> > > > $ mv link.exe link_cyg.exe
> > > > mv: cannot move 'link.exe' to 'link_cyg.exe': Permission denied
> > > >
> > > > I figure I need admin privilege.
> > > >
> > > > On Mon, Dec 16, 2019 at 8:30 PM Balay, Satish <balay at mcs.anl.gov>
> wrote:
> > > >
> > > > > Try:
> > > > >
> > > > > mv /usr/bin/link.exe /usr/bin/link-cygwin.exe
> > > > >
> > > > > And rerun configure
> > > > >
> > > > > Satish
> > > > >
> > > > > ------
> > > > >
> > > > >
> > > > > On Mon, 16 Dec 2019, Sam Guo wrote:
> > > > >
> > > > > > Thanks for the quick response. I attach the configure.log again.
> > > > > >
> > > > > > icl is found
> > > > > > $ icl
> > > > > > Intel(R) C++ Intel(R) 64 Compiler for applications running on
> > > Intel(R)
> > > > > 64,
> > > > > > Version 18.0.3.210 Build 20180410
> > > > > > Copyright (C) 1985-2018 Intel Corporation.  All rights reserved.
> > > > > > icl: command line error: no files specified; for help type "icl
> > > /help"
> > > > > >
> > > > > > On Mon, Dec 16, 2019 at 7:03 PM Balay, Satish <balay at mcs.anl.gov
> >
> > > wrote:
> > > > > >
> > > > > > > The attached configure.log is a link file. Can you resend the
> log
> > > from
> > > > > > > PETSC_ARCH/lib/petsc/conf
> > > > > > >
> > > > > > > Also can you verify that you followed instructions from
> > > > > > >
> > > https://www.mcs.anl.gov/petsc/documentation/installation.html#windows
> > > > > > > [its not explicitly specified - but you need to run the
> correct cmd
> > > > > that
> > > > > > > sets up Intel compiler - instead of the MS compiler]
> > > > > > >
> > > > > > > i.e verify 'icl' works from cygwin/bash - before attempting
> > > configure.
> > > > > > >
> > > > > > > Satish
> > > > > > >
> > > > > > > On Mon, 16 Dec 2019, Sam Guo wrote:
> > > > > > >
> > > > > > > > Dear PETSc dev team,
> > > > > > > >    I tried to compile petsc using intel compiler win32fe icl
> on
> > > > > cygwin
> > > > > > > but
> > > > > > > > encountered error. By the way, I am able to compile using
> visual
> > > > > studio
> > > > > > > > compiler win32fe cl.
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ===============================================================================
> > > > > > > >              Configuring PETSc to compile on your system
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ===============================================================================
> > > > > > > >
> > > > > > >
> > > > >
> > >
> ===============================================================================
> > > > > > > > Warning: "with-clean" is specified. Removing all build files
> from
> > > > > > > >
> > > > > > >
> > > > >
> > >
> arch-starccmplus_s===============================================================================
> > > > > > > > TESTING: checkCCompiler from
> > > > > > > >
> > > > > > >
> > > > >
> > >
> config.setCompilers(config/BuildSystem/config/setCompilers.py*******************************************************************************
> > > > > > > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see
> > > > > configure.log for
> > > > > > > > details):
> > > > > > > >
> > > > > > >
> > > > >
> > >
> -------------------------------------------------------------------------------
> > > > > > > > C compiler you provided with -with-cc=win32fe icl does not
> work.
> > > > > > > > Cannot compile/link C with
> > > > > > > > /home/xianzhongg/dev/star/petsc/lib/petsc/bin/win32fe/win32fe
> > > icl.
> > > > > > > >
> > > > > > >
> > > > >
> > >
> *******************************************************************************
> > > > > > > >
> > > > > > > > BR,
> > > > > > > > Sam
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20191217/90121339/attachment.html>


More information about the petsc-users mailing list