From owner-nwchem-users@emsl.pnl.gov Tue Jun 22 12:50:53 2004 Received: from odyssey.emsl.pnl.gov (localhost [127.0.0.1]) by odyssey.emsl.pnl.gov (8.12.10/8.12.10) with ESMTP id i5MJoq68022504 for ; Tue, 22 Jun 2004 12:50:52 -0700 (PDT) Received: (from majordom@localhost) by odyssey.emsl.pnl.gov (8.12.10/8.12.10/Submit) id i5MJoqia022503 for nwchem-users-outgoing; Tue, 22 Jun 2004 12:50:52 -0700 (PDT) Date: Tue, 22 Jun 2004 12:50:48 -0700 From: Michael Will Subject: Re: nga_put:cannot locate region In-reply-to: To: Vasiliy Znamenskiy Cc: nwchem-users@emsl.pnl.gov, rt-consult-comment@ccs.ornl.gov Reply-to: mwill@penguincomputing.com Message-id: <200406221250.48565.mwill@penguincomputing.com> Organization: Penguin Computing MIME-version: 1.0 Content-type: text/plain; charset=windows-1251 Content-transfer-encoding: 7bit Content-disposition: inline User-Agent: KMail/1.6.2 X-Mda: Mail::Internet Mail::Sendmail Sendmail +mmhack 1.1 on Linux References: Sender: owner-nwchem-users@emsl.pnl.gov Precedence: bulk On Tuesday 22 June 2004 12:28 pm, Vasiliy Znamenskiy wrote: > What does this error's message mean? > 0:0:nga_put:cannot locate region: [409:409 ,409:409 ]:: > -985 > Last System Error Message from Task 0:: Interrupted system > call The global array component could not write to the array specified. I wonder what -985 stands for? Maybe it is the negative handle indicating an error: http://www.emsl.pnl.gov/docs/global/c_nga_ops.html is not very specific on the error conditions, and the function in fact does not return a value directly: GA_PUT void NGA_Put(int g_a, int lo[], int hi[], void* buf, int ld[]) g_a - global array handle [output] ndim - number of dimensions of the global array lo[ndim] - array of starting indices for global array section [input] hi[ndim] - array of ending indices for global array section [input] buf - pointer to the local buffer array where the data is [input] ld[ndim-1] - array specifying leading dimensions/strides/extents for buffer array [input] Copies data from local array buffer to the global array section . The local array is assumed to be have the same number of dimensions as the global array. Any detected inconsitencies/errors in input arguments are fatal. Michael -- Michael Will, Linux Sales Engineer NEWS: We have moved to a larger iceberg :-) NEWS: 300 California St., San Francisco, CA. Tel: 415-954-2822 Toll Free: 888-PENGUIN Fax: 415-954-2899 www.penguincomputing.com