File: node98.html

package info (click to toggle)
scalapack-doc 1.5-11
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 10,336 kB
  • ctags: 4,931
  • sloc: makefile: 47; sh: 18
file content (57 lines) | stat: -rw-r--r-- 2,771 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>WORK Arrays</TITLE>
<META NAME="description" CONTENT="WORK Arrays">
<META NAME="keywords" CONTENT="slug">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="slug.css">
</HEAD>
<BODY LANG="EN" >
 <A NAME="tex2html3414" HREF="node99.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="http://www.netlib.org/utk/icons/next_motif.gif"></A> <A NAME="tex2html3412" HREF="node97.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="http://www.netlib.org/utk/icons/up_motif.gif"></A> <A NAME="tex2html3406" HREF="node97.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="http://www.netlib.org/utk/icons/previous_motif.gif"></A> <A NAME="tex2html3416" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="http://www.netlib.org/utk/icons/contents_motif.gif"></A> <A NAME="tex2html3417" HREF="node190.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="http://www.netlib.org/utk/icons/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html3415" HREF="node99.html">LWORK Query</A>
<B>Up:</B> <A NAME="tex2html3413" HREF="node97.html">Workspace Issues</A>
<B> Previous:</B> <A NAME="tex2html3407" HREF="node97.html">Workspace Issues</A>
<BR> <P>
<H3><A NAME="SECTION04465100000000000000">WORK Arrays</A></H3>
<P>
Many ScaLAPACK routines require one or
more work arrays<A NAME="3488">&#160;</A>
to be passed as arguments. The name of
a work array is usually WORK - sometimes
IWORK or RWORK to distinguish work arrays
of type integer or real.  Immediately
following the work array in the argument
list is the specified length of the work
array, LWORK<A NAME="3489">&#160;</A>,
LIWORK, or LRWORK, respectively. LWORK
is defined as the minimum amount of 
workspace necessary to perform the 
operation specified.
<P>
The first element of the work array
is always used to return the correct
value of LWORK for the computation.
Whether or not an error is detected,
the minimum value of LWORK is placed
in <I>WORK</I>(1) on exit from the routine.
<P>
If the user passes a value for <I>LWORK</I>
that is too small, an input error is
detected and <I>INFO</I> is set accordingly
(see section&nbsp;<A HREF="node101.html#subsecinfo">4.6.6</A>), the
correct value for <I>LWORK</I> is placed
in <I>WORK</I>(1), and the routine <TT>PXERBLA</TT>
is called. The user is thus strongly
advised to always check the value of
<I>INFO</I> on exit from the called routine.
<P>
<BR> <HR>
<P><ADDRESS>
<I>Susan Blackford <BR>
Tue May 13 09:21:01 EDT 1997</I>
</ADDRESS>
</BODY>
</HTML>