From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29800 invoked by alias); 23 Aug 2010 20:54:28 -0000 Received: (qmail 29772 invoked by uid 22791); 23 Aug 2010 20:54:28 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qy0-f176.google.com (HELO mail-qy0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 23 Aug 2010 20:54:21 +0000 Received: by qyk2 with SMTP id 2so5921247qyk.0 for ; Mon, 23 Aug 2010 13:54:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.87.1 with SMTP id u1mr3714661qal.292.1282596858591; Mon, 23 Aug 2010 13:54:18 -0700 (PDT) Received: by 10.224.73.197 with HTTP; Mon, 23 Aug 2010 13:54:18 -0700 (PDT) Date: Mon, 23 Aug 2010 20:54:00 -0000 Message-ID: Subject: no such vector element From: Mathew Yeates To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00138.txt.bz2 I am getting this error when I try and access a fortran array. >p Opt_depth_ref_per_band(2,2) no such vector element Opt_depth_ref_per_band is an array with 4 rows and 74 columns. It is declared as real, intent(out), dimension(NBAND, Num_mixture) :: & Opt_depth_ref_per_band Where NBAND is a constant and Num_mixture is an argument to the subroutine. I can print values by using x/f on the array address. Any ideas? -Mathew