From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3d8192caca120f05 X-Google-Attributes: gid111c93,public From: Steve Lionel Subject: Re: mp fortran on linux alpha Date: 2000/03/16 Message-ID: #1/1 X-Deja-AN: 598688697 Content-Transfer-Encoding: 7bit References: <8aoeou32rhc@news2.newsguy.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 953230564 24689 16.31.64.86 (16 Mar 2000 18:16:04 GMT) Organization: Compaq Computer Corporation Mime-Version: 1.0 NNTP-Posting-Date: 16 Mar 2000 18:16:04 GMT Newsgroups: comp.os.linux.alpha Ok - I had to go ask some people to explain to me what it was we were missing on Linux. The missing piece is "thread-local static storage", which requires ld support (not the kernel). In OpenMP. you can designate static storage (usually a COMMON block) as thread-local. Our Tru64 implementation of this was to have ld generate the "key" that is used at run-time to locate TLS and to cause some initialization code to be called to allocate the storage. There's probably a bit more to it, but that's the essence. Yes, other implementations are possible, but that's the one we chose for optimum performance. There's also the issue that, at present, Linux doesn't scale well on multiple processors, but that's a performance issue and not capability. I know that is being worked on. Our initial Linux release was not intended to be "all things to all people" nor a feature-for-feature match with our Tru64 compiler. I do expect more features, such as OpenMP, to be added to our Linux line in the future. Steve Lionel (mailto:Steve.Lionel@compaq.com) Fortran Engineering Compaq Computer Corporation, Nashua NH Compaq Fortran web site: http://www.compaq.com/fortran