BTW: You can try the branch 'balay/update-win32-link-check/maint' to check if you get an appropriate warning message for this usage.
Satish On Tue, 17 Dec 2019, Balay, Satish 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 <[email protected]> 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 > > > > > > > > > > > > >
