Spring 2008
ENSC 835: COMMUNICATION NETWORKS
CMPT 885: SPECIAL TOPICS: COMMUNICATION NETWORKS

OPNET (version 12.0) environment info

  • 1. Login to any of the seven 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.

  • 2. In order to properly set your environment, add lines to your ".login" file:
        if ( -e /ensc/local2/opnet/12.0.A/sys/unix/bin) then
        setenv OPNETHOME /ensc/local2/opnet/12.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_db12.0
    Edit the first line in "mod_dirs" section of the file "env_db12.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_db12.0", and that the file has correct permissions. (Do chmod 644 env_db12.0 if necessary.)

  • 6. Run Opnet by typing opnet.

  • 7. If you wish to construct your own models, you need to edit file "env_db12.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_db12.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 opnet10.5).


    Last modified: Thursday January 24 16:58:23 PST 2008.