Spring 2011
ENSC 835: COMMUNICATION NETWORKS
ENSC 895 SPECIAL TOPICS II: COMMUNICATION NETWORKS
OPNET (version 15.0.A) environment info
Important notes:
OPNET v.15.0.A is installed on a Linux server.
Get familiar with Linux/CentOS.
The following site has links to Unix Toolbox and Tutorials:
    http://www.cyberciti.biz/tips/linux-unix-commands-cheat-sheets.html
Before switching to OPNET 15.0.A from other OPNET versions,
move the "op_admin" and "op_models" directories to other locations.
Use command "modeler".
(The command "opnet" will only display a notice about the change.)
License server host name for OPNET 15.0.A is "daier". (License server for OPNET 14.0.A is "pluto".)
No "ssh/vnc" are available for Linux. Users can only access OPNET 15.0.A from the ESIL Lab.
1. Login to any of the ENSC Sun workstation (Solaris OS)
in the ENSC Graduate Computer Room ASB 10802.
If you use a workstation from a different location, please
ssh to payette.ensc.sfu.ca.
Do not run OPNET without setting your environment first.
Type "which opnet" to ensure that there is no path to older versions of OPNET.
2. In order to properly set your environment, add lines to your ".login" or ".mylogin" file:
    if ( -e /ensc/apps/opnet/15.0.A/sys/unix/bin) then
    setenv OPNETHOME /ensc/apps/opnet/15.0.A/sys/unix
    setenv PATH ${PATH}:${OPNETHOME}/bin
    endif
3. logout and login
or
source .login
4. mkdir op_admin
NOTE: op_admin directory must be directly under the user's home
directory and with the correct permissions.
(Do chmod 755 op_admin if necessary".)
5. cd op_admin
Copy to the op_admin directory file env_db15.0 .
Edit the first line in "mod_dirs" section of the file "env_db15.0" and
replace "/ensc/dept1/ljilja/op_models"
with the path of your own "op_models" directory.
NOTE: Make sure that you are the owner of the file "env_db15.0",
and that the file has correct permissions.
(Do chmod 644 env_db15.0 if necessary.)
6. Run Opnet by typing opnet.
7. If you wish to construct your own models, you need to edit file
"env_db15.0" located in the directory "op_admin".
Add your own home directory paths in the section "mod_dirs".
NOTE: Please make sure that your own model directories are
listed as the first entries in the file "env_db15.0" in the section
"mod_dirs".
8. Ignore the error messages in the command line if Opnet works fine.
They are from commercial packages that are not available to us.
REMINDER: Remove any reference to earlier versions of OPNET from
your .login file (such as refernces to opnet 14.0.A).
Last modified: Sat Jan 8 19:42:45 PST 2011.