To be done only once:
login to one of scf machines, say aludra (like telnet aludra)
login:mytrojan
passwd:mytrojanpassword
create a directory called nsl. You are going to keep your models in this
directory.
mkdir nsl
copy the file ~csci564/NSL/resume under nsl.
cp ~csci564/NSL/resume nsl
To be done only starting a new model for the first
time:
Under nsl directory make a directory for the model and copy the model
source (if provided)in this model directory
login to your scf account
cd nsl
mkdir maxselector
cp ~csci564/NSL/nsl3_0/MaxSelectorModel/1_1_1/src/* maxselector (assuming
we are provided with MaxSelector)
To be done each work session, before starting to work
with NSL
login to your scf account
cd nsl
source resume
cd maxselector , assuming you are going to work on this
model
to run the model:
nsl MaxSelectorModel
to compile the model:
nslc MaxSelectorModel
Once this is setup and working, download the entire NSL tree from here.
Extract the archive (unzip NSL3_0_s.zip). Edit the file "NSL3_0_s/resume" such that it matches your environment (you will have to specify the path where you installed Java, where you installed NSL, etc).
Your setup is now very similar to the SCF class setup. See the instructions above on how to get the mod files for a model, and from there compile and simulate a model.
Once this is setup and working, download the entire NSL tree from here.
Extract the archive (Winzip or Pkzip). Edit the file "NSL3_0_s\resume.bat" such that it matches your environment (you will have to specify the path where you installed Java, where you installed NSL, etc).
Your setup is now very similar to the SCF class setup. See the instructions above on how to get the mod files for a model, and from there compile and simulate a model.