From: falk@titan.arc.ab.ca
Subject: Re: How do I compile over net?
Date: 25 May 93 13:02:03 MDT [thread overview]
Message-ID: <1993May25.130203.1@titan.arc.ab.ca> (raw)
In-Reply-To: 1993May21.203141.1533@Rapnet.Sanders.Lockheed.Com
In article <1993May21.203141.1533@Rapnet.Sanders.Lockheed.Com>, cupak@rapnet.sanders.lockheed.com (John J Cupak Jr CCP) writes:
>
> I am developing a Pascal system under VAX/VMS, and am having problems
> trying to compile across the network.
>
> The workstation I use is connected to a cluster with all of the latest
> DECset tools (LSE, SCA, MMS, PCA, and DTM), but without a Pascal
> compiler.
>
> I would like to use LSE to edit the Pascal source file on the
> workstation, then use the LSE COMPILE command to submit the Pascal
> source file for compilation on a *different node* which has the
> Pascal compiler.
>
> This is *somewhat* like submitting a batch job to perform a compilation:
... <stuff deleted>
>
> If Anyone has figured out how to submit a compilation on one machine to
> run on another machine, please e-mail me your solution.
A scheme I devised a few years ago to meet this need goes like this:
In LOGIN.COM or SYLOGIN.COM:
$ FOR*TRAN :== @somewhere:COMPILE FORTRAN
$ CC :== @somewhere:COMPILE CC
then somewhere:COMPILE.COM is
$! Compile C or FORTRAN on PEBBLE
$! Usage:
$! $ @compile CC/FORTRAN parameters and switches
$ place = F$ENVIRONMENT("DEFAULT")
$ file = p2 + ".*"
$ IF F$SEARCH(file) .NES. ""
$ THEN
$ comline = """''p1' ''p2' ''p3' ''p4' ''p5' ''p6'"""
$ SUBMIT/QUEUE=pebble_batch/NOPRINT/KEEP/LOG='place''p1'.LOG -
/PAR=('place','comline')/NOTIFY somewhere:PEBBLE_COMPILE.COM
$ WRITE SYS$OUTPUT "Compiler output in ''p1'.LOG"
$ ELSE
$ WRITE SYS$OUTPUT "File not found: ''p2'.*"
$ ENDIF
and somewhere:PEBBLE_COMPILE.COM
$! For remote submission of compilation from other nodes
$! See COMPILE.COM
$ SET VERIFY
$ SET DEF 'p1'
$ 'p2'
This, of course, assumes that your workstation is in the same cluster as the
node where the compiler resides. If not, you would need to add code to
copy the source files, etc. Also, use of network task or 0 object might
be somewhat more elegant than submitting a batch job, and is probably the
way that I would do it now.
----------------------------------------------------------------------------
Alfred Falk falk@arc.ab.ca A L B E R T A
Information Systems Dept R E S E A R C H
Box 8330, Station F C O U N C I L
Edmonton, Alberta, Canada
T6H 5X2 (403) 450-5185
prev parent reply other threads:[~1993-05-25 19:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-05-21 20:31 How do I compile over net? John J Cupak Jr CCP
1993-05-24 16:52 ` Clarification: " John J Cupak Jr CCP
1993-05-25 18:22 ` Carl J Lydick
1993-05-25 19:02 ` falk [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox