* Re: How to port VMS to UNIX??
[not found] <Cozu98.18v@unixhub.SLAC.Stanford.EDU>
@ 1994-04-29 8:39 ` Michael Vilain
1994-04-29 15:03 ` L.Rosenthaler
1994-04-29 16:11 ` Jim Reiss
1994-04-29 19:16 ` Who cares if it works... it just has to SELL!
1 sibling, 2 replies; 5+ messages in thread
From: Michael Vilain @ 1994-04-29 8:39 UTC (permalink / raw)
ronm@SLCSRV.SLAC.STANFORD.EDU writes:
There's a book "UNIX FOR VMS USERS" available from DEC press. It's also
at Stacy's in Palo Alto and Technical Books in Sunnyvale.
The project you outline is non-trivial (no sh*t!) and contains several
parts that don't translate well from VMS to UNIX.
Off the top of my head here are my thougts:
1) most unix systems can and don't do REALTIME. They aren't designed
to respond this way. Finding a system that does sort of obiates the
port because you're porting to allow moving to other hardware and away
from DEC, right?
2) VAX FORTRAN isn't really transportable to other platforms (unless
there are 3rd party compilers), especially if you're using the
non-ANSI stuff like RECORD rather than EQUIVALENCEd COMMONs.
3) VAX C issues can be examined now by getting the GNU C compiler and
running your stuff through that. If it works OK with that, you're
in good shape as the GNU C is on lots of systems and it's the same
on all of them.
4) There's no such thing as Sharable images or global sections
on Unix. That part has to go. Use sockets or pipes to
communicate to different processes and a communications
protocol.
5) Port the MACRO to C.
6) Pay no attention to POSIX on the VAX. You can use your system
to prototype and get it running on your existing HW until you buy
the UNIX you want, but the REALTIME stuff is still up in the air.
7) CMS and DTM issues: use the UNIX tools and through out the DEC
ones. There's no programming interface to SCCS or RCS unless you
by commercial one or use some GNU utility to "roll your own".
8) Network performance (with the use of sockets) would allow lots
of stuff to be run on different systems. Until you have a functional
spec and design spec, it's way to early to talk performance (wait
at least until V1.0 is running before looking at it).
9) I don't know about UNIX drivers, but the people who can write
them are expensive (as are the VMS people).
10) How to do development while running production w/o 2 concurrent
systems? You go me on this one. Try alternate time lines. I don't
see a way to do UNIX development on VMS production system. IMHO,
development and production environments MUST be kept separate or
there will be turf wars and political issues.
This port is a substantial project that will take at least 1-2
man years to complete (just my seat of the pants guestimate, but
I'm sure you've gone through the functional spec [which I hope
you have one, otherwise that's the first step] and tasked it
out). At DEC, I'd occationally be asked to guestimate on such
projects as business. Unfortunately, most computer vendors will
spec a project low to get the business and end up taking a bath.
You might try taking this to DEC as a project and see what they
think it would cost to port. Other firms might give you different
estimates. One thing I've learned about such projects is that
the more opinions you get, the more diverse they are and the more
unsure you are of the project. But, the more people look at it,
the better idea you get on what it would take.
Good luck, you'll need lots of it!
/MeV/
--
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.3
mQCPAi25fI4AAAEEALsBJw3yTikMohkHO0/8pIMZ/47iOHaynnu7AzsVd7Cw+4ev
IvUZ/iPU/sS7KX4STR3WY8MgHC/zE9LippSg7W3dFB5r4dDe/FPtoo7V6kYaZaQJ
oK4MVZPhaDUWLlyrihllOxDadB5Yu2VAD63lWomQlwG6Yt0Gu2mTJEU4chlxABEB
AAG0EXZpbGFpbkBuZXRjb20uY29t
=olvg
-----END PGP PUBLIC KEY BLOCK-----
"He had all the style of a COBOL programmer" +- from the confessions
"His code was never fast enough" |- of a High-Tech Queen
"He thought SIZZLER was a fancy restaurante" +
"Now think of something really hard" -- voice of a software fairy
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: How to port VMS to UNIX??
1994-04-29 8:39 ` How to port VMS to UNIX?? Michael Vilain
@ 1994-04-29 15:03 ` L.Rosenthaler
1994-04-29 16:11 ` Jim Reiss
1 sibling, 0 replies; 5+ messages in thread
From: L.Rosenthaler @ 1994-04-29 15:03 UTC (permalink / raw)
I'm sorry that I missed the original posting, but I like to comment some
of the comments of Michael Vilain:
In article <vilainCp0IqD.BBw@netcom.com>, vilain@netcom.com (Michael Vilain) writes:
|> ronm@SLCSRV.SLAC.STANFORD.EDU writes:
|>
|> There's a book "UNIX FOR VMS USERS" available from DEC press. It's also
|> at Stacy's in Palo Alto and Technical Books in Sunnyvale.
|>
|> The project you outline is non-trivial (no sh*t!) and contains several
|> parts that don't translate well from VMS to UNIX.
In general that is very true. However, it really depends on the Unix
system You choose. It is obvious (is it ?) that if You choose for
example a DEC OSF/1 Alpha, many problems will be less severe than if
You choose another brand.
|>
|> Off the top of my head here are my thougts:
|>
|> 1) most unix systems can and don't do REALTIME. They aren't designed
|> to respond this way. Finding a system that does sort of obiates the
|> port because you're porting to allow moving to other hardware and away
|> from DEC, right?
OSF/1 has a realtime option which is to some degree similar to VMS
|>
|> 2) VAX FORTRAN isn't really transportable to other platforms (unless
|> there are 3rd party compilers), especially if you're using the
|> non-ANSI stuff like RECORD rather than EQUIVALENCEd COMMONs.
No problem with FORTRAN on OSF/1.
|>
|> 3) VAX C issues can be examined now by getting the GNU C compiler and
|> running your stuff through that. If it works OK with that, you're
|> in good shape as the GNU C is on lots of systems and it's the same
|> on all of them.
Again no problem with OSF/1 cc (there is a -vaxc optieon...)
|>
|> 4) There's no such thing as Sharable images or global sections
|> on Unix. That part has to go. Use sockets or pipes to
|> communicate to different processes and a communications
|> protocol.
Many things can be done quite similar using the mmap function and
shared memory! I did interprocess communication on a program which
ran on VMS and UNIX, and I could use the very same principals (the
same philosophy) on both systems (global sections <--> shared memory)
|>
|> 5) Port the MACRO to C.
no way around it. ON the alpha, there may be tools. I don't know...
|>
|> Good luck, you'll need lots of it!
|>
This You need in any way!
|> /MeV/
|> --
Lukas Rosenthaler
Scientific Photography Lab
University of Basel
Switzerland
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to port VMS to UNIX??
1994-04-29 8:39 ` How to port VMS to UNIX?? Michael Vilain
1994-04-29 15:03 ` L.Rosenthaler
@ 1994-04-29 16:11 ` Jim Reiss
1 sibling, 0 replies; 5+ messages in thread
From: Jim Reiss @ 1994-04-29 16:11 UTC (permalink / raw)
>2) VAX FORTRAN isn't really transportable to other platforms (unless
>there are 3rd party compilers), especially if you're using the
>non-ANSI stuff like RECORD rather than EQUIVALENCEd COMMONs.
Actually, Accelr8 Technology offers a product called Open ACCLIM8 which
translates VMS FORTRAN into a given Unix FORTRAN. The example you give,
however, does not apply to OSF/1 because DEC FORTRAN provides records.
>3) VAX C issues can be examined now by getting the GNU C compiler and
>running your stuff through that. If it works OK with that, you're
>in good shape as the GNU C is on lots of systems and it's the same
>on all of them.
Accelr8 also offers a program which assists in this area.
>4) There's no such thing as Sharable images or global sections
>on Unix. That part has to go. Use sockets or pipes to
>communicate to different processes and a communications
>protocol.
Global sections don't have to go, our Open LIBR8 product is a library of
over 450 VMS routines, including global section routines (and mailboxes, and
logical names, and so on).
I missed seeing the original post, so I'll just add that anyone interested
in more information about Accelr8's VMS to Unix migration software can send
e-mail to "info@accelr8.com", call 303-863-8088, fax 303-863-1218, or
use anonymous FTP to access netcom8.netcom.com and look in the directory
"/pub/accelr8/prodinfo".
--
Jim Reiss (jim@accelr8.com) Accelr8 Technology, Denver, Colorado, USA
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to port VMS to UNIX??
[not found] <Cozu98.18v@unixhub.SLAC.Stanford.EDU>
1994-04-29 8:39 ` How to port VMS to UNIX?? Michael Vilain
@ 1994-04-29 19:16 ` Who cares if it works... it just has to SELL!
1 sibling, 0 replies; 5+ messages in thread
From: Who cares if it works... it just has to SELL! @ 1994-04-29 19:16 UTC (permalink / raw)
In article <Cozu98.18v@unixhub.SLAC.Stanford.EDU>, ronm@SLCSRV.SLAC.STANFORD.EDU writes...
>We are considering porting this system to UNIX.
>
Why, for gods sake? Why not port it to AXP VMS? Or is this a
'MANAGEMENT DIRECTIVE'?
Tom O'Toole - ecf_stbo@jhuvms.hcf.jhu.edu - JHUVMS system programmer
Homewood Computing Facilities - Johns Hopkins University, Balto. Md. 21218
Disco music makes it possible to have 'disco entertainment centers',
where dull, boring people can meet, and reproduce. - Frank
^ permalink raw reply [flat|nested] 5+ messages in thread
* How to port VMS to UNIX??
@ 1994-04-28 23:49 A FRIEND IS SOMEONE WHO OVERLOOKS YOUR BROKEN DOWN GATE AND ADMIRES THE FLOWERS IN YOUR GARDEN.
0 siblings, 0 replies; 5+ messages in thread
From: A FRIEND IS SOMEONE WHO OVERLOOKS YOUR BROKEN DOWN GATE AND ADMIRES THE FLOWERS IN YOUR GARDEN. @ 1994-04-28 23:49 UTC (permalink / raw)
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?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1994-04-29 19:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Cozu98.18v@unixhub.SLAC.Stanford.EDU>
1994-04-29 8:39 ` How to port VMS to UNIX?? Michael Vilain
1994-04-29 15:03 ` L.Rosenthaler
1994-04-29 16:11 ` Jim Reiss
1994-04-29 19:16 ` Who cares if it works... it just has to SELL!
1994-04-28 23:49 A FRIEND IS SOMEONE WHO OVERLOOKS YOUR BROKEN DOWN GATE AND ADMIRES THE FLOWERS IN YOUR GARDEN.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox