[petsc-users] Errors when changing from ifort to gfortran in cygwin
TAY wee-beng
zonexo at gmail.com
Wed Jan 19 03:40:41 CST 2011
Hi,
I am switching from ifort to gfortran in cygwin. My code compiles with
ifort and PETSc and now I'm changing to gfortran. However, there are
lots of error msg.
I understand this is a PETSc mailing list but I hope someone with
experience in using gfortran can help as well.
I have attached the makefile_debug
The errors are:
Initially using -Wall:
lots of "Warning: Nonconforming tab character at (1)"
Changing to -Werror:
/cygdrive/d/wtay/Lib/MPICH2_cygwin/include/mpif.h:503.7:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petscsys.h:11:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petsc.h:6:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petsc.h90:5:
Included at global_cywin.F90:8:
SAVE /MPIFCMB1/,/MPIFCMB2/
1
Error: Unclassifiable statement at (1)
/cygdrive/d/wtay/Lib/MPICH2_cygwin/include/mpif.h:504.7:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petscsys.h:11:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petsc.h:6:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petsc.h90:5:
Included at global_cywin.F90:8:
SAVE /MPIFCMB3/,/MPIFCMB4/,/MPIFCMB5/,/MPIFCMB6/
1
Error: Unclassifiable statement at (1)
/cygdrive/d/wtay/Lib/MPICH2_cygwin/include/mpif.h:505.7:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petscsys.h:11:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petsc.h:6:
Included at
/cygdrive/d/wtay/Lib/petsc-3.1-p7_gcc_debug/include/finclude/petsc.h90:5:
Included at global_cywin.F90:8:
SAVE /MPIFCMB7/,/MPIFCMB8/
1
Error: Unclassifiable statement at (1)
global_cywin.F90:581.132:
DECIDE,total_k,total_k,5,PETSC_NULL_INTEGER,5,PETSC_NULL_INTEGER,A_mat,ierr
1
Error: Syntax error in argument list at (1)
global_cywin.F90:581.132:
DECIDE,total_k,total_k,5,PETSC_NULL_INTEGER,5,PETSC_NULL_INTEGER,A_mat,ierr
1
Warning: Line truncated at (1)
global_cywin.F90:1226.132:
OF PNPOLY.RESULTS INVALID')
1
Warning: Line truncated at (1)
I tried to shorten parts of the code by adding & but I still get the
"Error: Unclassifiable statement at (1)"
Anyone have any ideas?
Thanks
Yours sincerely,
TAY wee-beng
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: makefile_debug
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110119/61eaa745/attachment.diff>
More information about the petsc-users
mailing list