From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29869 invoked by alias); 27 Jul 2014 23:41:19 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29782 invoked by uid 55); 27 Jul 2014 23:41:12 -0000 From: "kevinecahill at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/61928] a fortran90 program compiles on hopper at NERSC but not under gfortran 4.9.0 Date: Sun, 27 Jul 2014 23:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kevinecahill at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg01790.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61928 --- Comment #4 from Kevin Cahill --- Thanks. That sounds sensible. I will check it. Best wishes, Kevin Kevin Cahill Professor of Physics & Astronomy Physics Dept. 1919 Lomas NE, MSC 07 4220 University of New Mexico Albuquerque, NM 87131-0001 kevinecahill@gmail.com cahill@unm.edu 505 205 5448 On Jul 27, 2014, at 3:10 PM, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61928 > > Jerry DeLisle changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |jvdelisle at gcc dot gnu.org > > --- Comment #3 from Jerry DeLisle --- > With you attachment, I am getting this: > > /tmp/ccBACux5.o: In function `dgefa.2334': > pr61928.f90:(.text+0x1282): undefined reference to `idamax_' > /tmp/ccBACux5.o: In function `dgedi.2345': > pr61928.f90:(.text+0x19fa): undefined reference to `dscal_' > pr61928.f90:(.text+0x1aba): undefined reference to `daxpy_' > pr61928.f90:(.text+0x1c2d): undefined reference to `daxpy_' > pr61928.f90:(.text+0x1cbd): undefined reference to `dswap_' > collect2: error: ld returned 1 exit status > > I did not link this with anything. The four last listed procedures listed are > not defined in the attachment, although used. > > In subroutine dgefa, idamax is defined as an integer. If I delete that line, > the undefined reference to idamax_ goes away. The last four references I > suspect are in the BLAS library that I am not linked to at the moment. > > -- > You are receiving this mail because: > You reported the bug.