From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,dcc81815b37bc0ac,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-23 09:14:32 PST Newsgroups: comp.unix.tru64 Date: Thu, 23 Aug 2001 18:14:27 +0200 From: Andreas Unterkircher X-X-Sender: Subject: Q: dxml - lapack - threads Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII NNTP-Posting-Host: trane.ethz.ch X-Trace: 23 Aug 2001 18:14:27 +0200, trane.ethz.ch Organization: Swiss Federal Institute of Technology (ETHZ) Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!news.imp.ch!news.imp.ch!news-zh.switch.ch!pfaff.ethz.ch!trane.ethz.ch!unterkir Xref: archiver1.google.com comp.unix.tru64:4338 I'd like to invert several small, symmetric block matrices within my program written in C. Therefore I use the LAPACK DPOSVX and DSYSVX routines and I link my program with -ldxml. My programm allocates all the variables needed by the LAPACk routines and everything works fine by inverting one matrix after the other. Now I want to invert the matrices in parallel on our DEC Alpha Server running Tru64 UNIX V5.1. Now when I try to invert these matrices in parallel I always get a floating exception (ladebug tells my that it appears somewhere inside LAPACK). I use pthreads and I cannot detect any error in my "thread routines". So my question is: Might there be a problem with LAPACK and pthreads ? Is LAPACK thread save ? I guess "yes" because all the variables are allocated outside the LAPACK routines and the passed by reference. Any hints are welcome ! Andreas