From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10807300840lb13f30aw18b6f8def086ef31@mail.gmail.com> Date: Wed, 30 Jul 2008 08:40:06 -0700 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <488B6EE7.3080100@mtu.edu> <1217421120.5036.34.camel@goose.sun.com> <13426df10807300810s4d854612ib7597a9463f7f02f@mail.gmail.com> Subject: Re: [9fans] Plan 9 on Blue Gene Topicbox-Message-UUID: f5e07bc2-ead3-11e9-9d60-3106f5b1d025 On Wed, Jul 30, 2008 at 8:25 AM, wrote: > Hello, > > Just a dumb question, as i'm totally out of this business, it is easier to write an emulator than translate the applications to plan9 c ? (for example) or to write (or port) the C++ and Fortran compilers and related tools? yes. I looked at the app mess for a while. 1. rewrite apps in plan 9 c. The Plan 9 C compiler is fine for what we do on Plan 9. For scientific apps, it's not that great a compiler. The IBM compilers know all the tricks. The effort to get Plan 9 C up to the standards of XLC is mind-boggling. And XLF? We're not going to write a Fortran compiler from scratch. 2. Port the compilers. Why, exactly? None of the users would be willing to use a Plan 9 desktop. > > i'm asking from a technical point of view, i suppose dealing with the current users and customers is the real issue, right? partly. What we are really doing is using the Plan 9 os on blue gene as a target from a cross-compiler, running on Linux. The tack I'm taking (for now) is a system call compatibility interface in the kernel. Recall how apps set themselves up to be debugged: write hang to ctl. In this case, they write 'CNK' to ctl. After the exec, the system calls are handled differently: have a Linux/gcc parameter interface, and do different operations (some new), and will allow direct access to the network interfaces. We're helped by the fact that Compute Node Kernel (the lightweight kernel for bluegene) doesn't support fork. ron