Building with cygwin + Intel Fortran

Barry Smith bsmith at mcs.anl.gov
Mon Dec 8 11:31:28 CST 2008


    Please send the configure.log file to petsc-maint at mcs.anl.gov

    It tries many things which can fail so we cannot evaluate the
messages without the complete configure.log

    Barry

On Dec 8, 2008, at 10:31 AM, KACVINSKY Tom wrote:

> Hi all,
>
> I am trying to build PETSc on Windows using cygwin with the Intel  
> Fortran compiler and
> the Windows HPC 2008 SDK.  I get the following error messages in  
> configure.log:
>
> sh: /cygdrive/d/wdir/tky/petsc-2.3.3-p15/bin/win32fe/win32fe ifort -- 
> nodetect -c -o conftest.o  -fPIC   conftest.F
> Executing: /cygdrive/d/wdir/tky/petsc-2.3.3-p15/bin/win32fe/win32fe  
> ifort --nodetect -c -o conftest.o  -fPIC   conftest.F
> sh: fortcom: Error: Unknown option "-fPIC"
> compilation aborted for d:\wdir\tky\PETSC-~1.3-P\conftest.F (code 1)
>
> I also see messages like:
>
> sh: /cygdrive/d/wdir/tky/petsc-2.3.3-p15/bin/win32fe/win32fe tlib -a  
> -P512 libconf1.a conf1.o
> Executing: /cygdrive/d/wdir/tky/petsc-2.3.3-p15/bin/win32fe/win32fe  
> tlib -a -P512 libconf1.a conf1.o
> sh: Error: win32fe: tlib.exe installation not found.
>   Specify the complete path to tlib.exe with --use or --path
>   Use --help for more information on win32fe options.
>
>           Possible ERROR while running archiver: Error: win32fe:  
> tlib.exe installation not found.
>   Specify the complete path to tlib.exe with --use or --path
>   Use --help for more information on win32fe options.
>
>           ret = 65280
>       Archiver is not functional
>
> It looks like the cygwin build assumes GNU Fortran.   Is this the  
> case?  Does anyone know
> of a way around these build issues?
>
> Thanks,
>
> Tom
>




More information about the petsc-dev mailing list