[petsc-users] win32fe icl won't work

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


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/6a00f2e8/attachment.html>


More information about the petsc-users mailing list