Subject: f2c: does not translate properly in EMT64 machines
Package: f2c
Version: 20050501-1
Severity: grave
Justification: renders package unusable
*** Please type your report below this line ***
I use a combination of f2c and gcc compilations to compile and then execute a C
program
which uses a fotran 77 subroutine.
The sequence is simple:
1) I execute the script containing:
f2c -f coeff_rot_nadl_juan.f
gcc -c -O5 coeff_rot_nadl_juan.c
2) Then I compile and main program and executes it using:
gcc -o filou_exe -O5 oscillations.c coeff_rot_nadl_juan.o -lm -lf2c\
&& filou_exe
where the fortran routine is "coeff_rot_nadl_juan.f", and the main program
(written in C)
is "oscillations.c"
This works properly in my i386 machine (with ETCH), but it doesn't in my amd64
machine.
In amd64 case: (1) and (2) compiles with no errors (and no warnings neither),
but
it crashes when I execute the program (i.e. when I execute filou_exe)
The errors produced are:
" structure input model type: CESAM5.*
fmt: read unexpected character
apparent state: unit 37 named gr1r_s3.osc
last format: (4i10)
lately reading sequential formatted external IO
Aborted "
The errors are all referred to readout an ASCII file ("gr1r_s3.osc") containing
both numbers
and strings (with scientific formats)
So it seems that there is a problem when translating to C or when compling with
gcc this
translated into C code.
Thanks!
JC
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-amd64
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Versions of packages f2c depends on:
ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries
pn libf2c2-dev <none> (no description available)
Versions of packages f2c recommends:
ii gcc 4:4.1.1-15 The GNU C compiler
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]