From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fa2b31ba820be9e2,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-28 19:16:28 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!usc!elroy.jpl.nasa.gov!ncar!csn!att-in!fnnews.fnal.gov!unixhub!SLCSRV.SLAC.STANFORD.EDU!RONM From: ronm@SLCSRV.SLAC.STANFORD.EDU (A FRIEND IS SOMEONE WHO OVERLOOKS YOUR BROKEN DOWN GATE AND ADMIRES THE FLOWERS IN YOUR GARDEN.) Subject: How to port VMS to UNIX?? Message-ID: Followup-To: comp.unix.osf.osf1 Sender: news@unixhub.SLAC.Stanford.EDU Reply-To: ronm@SLCSRV.SLAC.STANFORD.EDU Organization: Stanford Linear Accelerator, Stanford CA. Date: Thu, 28 Apr 1994 23:49:16 GMT Followup-To: comp.unix.osf.osf1 Hello, I'm looking for hints and pointers (to people/books) on a PORT I'm being asked to evaluate. I need to decide how much effort would be involved in the port including good technical details on an approach for the PORT. Most of my recent experience is in VAX/VMS so I'm kinda at a loss when it comes to understanding how UNIX does similar things that our existing system does. The current system is a VAX/VMS based semi-realtime data acquisiton, control, and user GUI application. The code is approximently 1 million lines and has been written over a 10 year time frame. We are considering porting this system to UNIX. The current system consists of a great amount of VAX Fortran and VAX C. There is a smller amount of Macro Code which was used for performance and sharable calling reasons. The system consists largely of Sharable Images called by one big executable program which drives the GUI. There are a large number of standalone programs mostly run in Batch mode. There is a custom built network as well as Ethernet and CI (of course). The custom network is a high speed net interfaced through a custom BI Bus I/O driver. One bright spot about the current system is that the GUI does support X windows (using DECwindows Motif). We have some very talented programmers to work a port of the system who have worked on the current system a long time. Our Unix knowledge is variable though. A few memebers have Unix experience at pervious locations but more than half have almost no experience in a production Unix environment (including myself unfortunately). What do you think of POSIX? My feeling is twofold: 1. In the real-world, given the state of the POSIX standards, it might be risky to stake the future of our project on it. 2. It would be first necessary to port our current system to DEC Posix and then port that new system to UNIX/POSIX. This could end up being more work than just one port. A problem we face is that portability was never a concern and the existing code was not written with a future port in mind. It is very machine (VAX/VMS) specific in some places. HERE ARE SOME SPECIFIC AREAS OF CONCERN **************************************** VAX C VAX C is not an ANSI C compiler and has many extensions we've made use of. VAX FORTRAN Heavy use of record structures in VAX Fortran (like C structs). I dont think that most Fortran Compilers support record structs. VMS System Services (like LIB$ and SYS$ calls) Some type of layering approach seems to be a solution. One approach would be to provide the VMS API ourselves under unix so the calls wouldn't have to be changed in the high level calls. This approach would hide the OS specific system calls in a low level library (or layer). VMS Global Sections (shared common memory accessable to sharables and standalones) Code Development and test TOOLS. We have many that are custom written and interface to DEC's VMS based tools (eg. a tool for checking out souce code that interfaces to DEC's CMS). Configuration management. We would need something here to replace CMS/MMS. Would we need to distribute the processing more on Unix than the current VMS implementation. We currently do all processing on a single VAX/VMS 6620. Would it be a good idea to distribute this across a network of Unix boxes? Performance is a real issue here. Device Driver Port How do we implement the Port considering this is a 7x24 procuction system. We dont want to maintain two concurrent systems What Flavor of Unix to use/ What hardware platform?