I have been contacted about compiling MUMPS. http://graal.ens-lyon.fr/MUMPS/MUMPS_4.6.tar.gz
For some reason, gfortran 4.1.0 writes out __convert_i4_i8 as a function within a module. The question is why? gfc -O2 -Wfatal-errors -I../libseq -Dpord -I. -I../include -c dmumps_ooc.F gfc -O2 -Wfatal-errors -I../libseq -Dpord -I. -I../include -c dmumps_part1.F gfc -O2 -Wfatal-errors -I../libseq -Dpord -I. -I../include -c dmumps_part2.F In file dmumps_part2.F:962 END SUBROUTINE DMUMPS_80 1 Error: Name '__convert_i4_i8' at (1) is an ambiguous reference to '__convert_i4_i8' from module 'dmumps_ooc' troutmask:sgk[209] grep -2 convert src/dmumps_ooc.mod () (2 '__convert_i4_i8' 'dmumps_ooc' 1 ((PROCEDURE UNKNOWN-INTENT UNKNOWN-PROC UNKNOWN INTRINSIC FUNCTION ELEMENTAL PURE) (INTEGER 8 ()) 0 0 () () 0 () ()) -- ('max_ooc_file_size' 0 329 'dmumps_609' 0 282 'dmumps_579' 0 216 'db_do_io_and_change_hbuf' 0 55 'buf_io' 0 17 '__convert_i4_i8' 0 2 'current_pos' 0 16 'cur_pos_sequence' 0 4 'cur_hbuf' 0 3 'db_copy_factor_to_buffer' 0 6 'current_solve_read_zone' 0 5 -- Summary: [4.1/4/2 regression, fortran] __convert_i4_i8 written to a module. Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kargl at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26201