[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#493490: marked as done (gfortran segfaults with openmp)



Your message dated Sat, 18 Sep 2010 18:44:14 -0400
with message-id <AANLkTi=z66fqMgYXyRvah34QThofvcOwcJaj+TtbqV+a@mail.gmail.com>
and subject line closing as there is no response from OP, unreproducible bug
has caused the Debian Bug report #493490,
regarding gfortran segfaults with openmp
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
493490: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493490
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Using the sample code provided, using gfortran 4.4.5, I am able to
compile as well as execute the program without any errors. I am using
the -fopenmp option.

debian_chroot:sid:kusumanchi:/home/493490# gfortran -fopenmp elmat.f90
debian_chroot:sid:kusumanchi:/home/493490# ./a.out

Also, the OP has not responded with any further information (moreinfo
was requested on 30 Dec 2009).

Hence closing this bug report.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


--- End Message ---

Reply to: