From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,19924f2facf8443 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!a70g2000hsh.googlegroups.com!not-for-mail From: johnscpg@googlemail.com Newsgroups: comp.lang.ada Subject: Re: Larger matrices Date: Thu, 7 Aug 2008 04:28:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <40ed91c2-3dab-4994-9a7b-4032058f0671@56g2000hsm.googlegroups.com> <4899b545$0$20713$9b4e6d93@newsspool4.arcor-online.net> <96f76821-fc2a-4ec1-83e7-b7b9a5be0520@r66g2000hsg.googlegroups.com> <9cabee20-877a-4fdc-80f8-7746879331da@8g2000hse.googlegroups.com> NNTP-Posting-Host: 143.117.23.236 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1218108536 19935 127.0.0.1 (7 Aug 2008 11:28:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 7 Aug 2008 11:28:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a70g2000hsh.googlegroups.com; posting-host=143.117.23.236; posting-account=Jzt5lQoAAAB4PhTgRLOPGuTLd_K1LY-C User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.16) Gecko/20080702 Iceweasel/2.0.0.16 (Debian-2.0.0.16-0etch1),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:1498 Date: 2008-08-07T04:28:55-07:00 List-Id: amado.al...@gmail.com wrote: > Upon failing miserably to convince GNAT to use a stack of 200M, I am > currently working around the problem by writing my own matrix-by- > vector multiplication function. It takes 2 seconds for a 5000 x 5000 > matrix, but it does not explode. > > I continue interested in ways to augment the stack size (or another > way) to enable use of the standard library. Not so much for speed, but > more for validation (GNAT passes ACATS right? Are ACATS for this > library setup yet?) > > Thanks a lot. I'm not sure if this relevant to your problem, but when I get segmentation fault in linux, its usually due to insufficient stack mem in the shell I'm in. Read up on: ulimit for bash shell. I use bash, and the command is ulimit -s . I get lazy and type ulimit -s unlimited For csh I seem to recall its: limit stacksize unlimited. in BASH: ulimit -s unlimited (type "ulimit -s" to see stack setting. The "s" is for stack.) (type "ulimit -a" to see all settings.) in CSH try: limit stacksize unlimited limit datasize unlimited (type "limit" to see settings.) jonathan