Bug#493490: gfortran segfaults with openmp
Package: gfortran
Version: 4:4.3.1-2
Severity: normal
A program compiled with the option -fopenmp does not run. It simply
gives a segmentation fault. If the program is compiled without the
-fopenmp option, it runs without errors.
The program (called prov.f90) is the following
PROGRAM ELMAT
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
PARAMETER(NA=26,NB=26,NFV=98)
DIMENSION SSCFA(NA,NB+NFV),HSCFA(NA,NB+NFV),GSCFA(NA,NB+NFV,NA,NB)
SODET=1.D-1
SSCFA=0
HSCFA=0
GSCFA=0
STOP
END
It was compiled with the command: gfortran -O0 -fopenmp prov.f90
This fact makes the OPENMP unusable on my system.
Thank you. Best regards
Stefano
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages gfortran depends on:
ii cpp 4:4.3.1-2 The GNU C preprocessor (cpp)
ii gcc 4:4.3.1-2 The GNU C compiler
ii gfortran-4.3 4.3.1-7 The GNU Fortran 95 compiler
gfortran recommends no packages.
Versions of packages gfortran suggests:
ii gfortran-doc 5:2 documentation for the GNU Fortran
pn gfortran-multilib <none> (no description available)
-- no debconf information
Reply to: