Building with cygwin + Intel Fortran

KACVINSKY Tom Tom.KACVINSKY at 3ds.com
Mon Dec 8 10:31:24 CST 2008


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 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20081208/e7cba67e/attachment.html>


More information about the petsc-dev mailing list