To setup the Bluespec Compiler on your local machine:
* Grab Bluespec-05-2007 and bsc execution script
* Untar the Compiler in place of choice (I suggest calling the folder /usr/local/bsc)
* Edit bsc script's BLUESPECDIR to point to said folder
* put a text file in your home directory named .flexlmrc with the following contents:
BLUESPEC_LICENSE_FILE=27801@cirdan.nrcc.noklab.com
* Note: Access to cirdan.nrcc.noklab.com is controlled by an ldap server. Ask Scott Blomquist if you don't have an account
* Test the compiler and license works with: bsc -v -help
To run BSC on a salo simulation server:
* Note: you must be able to run BSC locally AND you must be connected to the Nokia vpn
* This approach makes use of Port Forwarding and your local access to the license server to run BSC remotely.
* Put a text file in your home directory (on the salo server) named .flexlmrc with the following contents:
BLUESPEC_LICENSE_FILE=27801@localhost
* Connect to a simulations server with the following command (replace myking with your own username):
ssh -XC myking@salsim405.nmp.nokia.com -R 27801:bluespeclm.nrcc.noklab.com:27801 -R 59023:bluespeclm.nrcc.noklab.com:59023
* Add the following lines to your ~/env/user.cshrc file (location of BSC installation may change):
setenv BLUESPECDIR '/nokia/sa_nmp/groups/armotd/bluespec/Bluespec-2007.05/lib' setenv BLUESPEC_HOME '/nokia/sa_nmp/groups/armotd/bluespec/Bluespec-2007.05' setenv LM_LICENSE_FILE 27801@localhost setenv SYSTEMC '/nokia/sa_nmp/groups/armotd/systemc/systemc-2.1.v1' set path = ($path /nokia/sa_nmp/groups/armotd/bluespec/Bluespec-2007.05/bin)
* Go forth and conquer!
