[petsc-users] Reg : Configuring PETSc on Cygwin

Satish Balay balay at mcs.anl.gov
Mon May 18 10:22:31 CDT 2015


1. please post issues to either petsc-users [public list] or
petsc-maint [private list] - but not both. And please do not bcc:
e-mails to the list. They will not get posed.

2. configure.log attached is a link file - the actual file shold
be in PETSC_DIR/PETSC_ARCH/conf/

3.when specifying PATHs to configure - use cygwin path notation. i.e

--download-fblaslapack=/cygdrive/D/Software/Cygwin/package/fblaslapack-3.4.2.tar.gz

4. you can install blas/lapack from cygwin [liblapack-devel] - and use it. Similarly with openmpi

5. You should not need/use  '--with-batch --ignore-cygwin-link' options with cygwin/gnu compilers.

Satish

On Mon, 18 May 2015, Manish Kumar K wrote:

> Dear PETSc Team,
> 
> 
>           I am configuring and trying to install PETSc on Cygwin shell.
> While invoking following commands in shell
> 
> Command : ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --with-batch --ignore-cygwin-link --with-mpi=0 --download-fblaslapack=D:/Software/Cygwin/package/fblaslapack-3.4.2.tar.gz
> 
> Following is the error I get :
> 
> ===============================================================================
>              Configuring PETSc to compile on your system
> ===============================================================================
> ===============================================================================                               Trying to download D:/Software/Cygwin/package/fblaslapack-3.4.2.tar.gz for FBLASLAPACK            ===============================================================================                                                                                                                                 *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
> -------------------------------------------------------------------------------
> Unable to download package fblaslapack from: D:/Software/Cygwin/package/fblaslapack-3.4.2.tar.gz
> * If URL specified manually - perhaps there is a typo?
> * If your network is disconnected - please reconnect and rerun ./configure
> * Or perhaps you have a firewall blocking the download
> * Alternatively, you can download the above URL manually, to /yourselectedlocation/fblaslapack-3.4.2.tar.gz
>   and use the configure option:
>   --download-fblaslapack=/yourselectedlocation/fblaslapack-3.4.2.tar.gz
> 
> I have tried the below also for typo check
> 
> ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --with-batch --ignore-cygwin-link --with-mpi=0 --download-fblaslapack="D:/Software/Cygwin/package/fblaslapack-3.4.2.tar.gz"
> 
> Still the same error
> 
> I have checked my network connection is fine, firewall as well . is a typo I am doing in my commands inputs?
> I have attached a configure log  file for your reference and snapshot of Cygwin shell with above error
> Please help me out in this it would be great for me and my clients.
> 
> 
> 
> Best Regards
> Manish K
> 
> 
> 
> 
> L&T Technology Services Ltd
> 
> www.LntTechservices.com<http://www.lnttechservices.com/>
> 
> This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
> 



More information about the petsc-users mailing list