Dave Barker guided me through how to compile an SNL code into a Motorola 162 CPU object.
Here is the procedure:
(1) You need an account at LHO and a password for ops account at LHO. Contact Dave if you don't have these.
(2) Copy your code (say Particle.st) to the LHO gateway machine.scp Particle.st username@lhocds.ligo-wa.caltech.edu:/cvs/cds/lho/target/t0sandbox0 (3) Login to lhocds.ligo-wa.caltech.edussh username@lhocds.ligo-wa.caltech.edu (4) Login to control0ssh ops@control0 (5) Change directory to the sandbox dir.cd /cvs/cds/lho/target/t0sandbox0 (6) Prepare for the compilationsetup epics (7) Edit makefile in the directory. You have to modify a few lines at the end of the file.
There are comments for how to do it in the file.
(8) Compilemake Particle.o (9) Copy the object file to the 40m target directoryscp Particle.o controls@nodus.ligo.caltech.edu:/cvs/cds/caltech/target/c1psl/
That is it. |