Setting Up Mentor Graphics

We're using a new version of the Mentor suite.   Since some problems were discovered, get rid of your environment files of any references to Mentor Graphics stuff left over from other classes by adding the comment character "#" to the first column of the lines.   As an example remove the following or any other stuff related to Mentor Graphics:
#setenv MGLS_HOME $MGC_HOME/pkgs/mgls # licensing stuff
#setenv MGLS_LICENSE_FILE $MGC_HOME/etc/cust/mgls/mgc.licenses
#setenv MGC_PLOT_DEFAULT_PRINTER mgc_laser1 # print to mgc_laser1
#setenv MGC_TMPDIR /tmp #local temporary directory
#setenv MGC_WD $HOME/MGC #MGC default working

These files need to be inspected:
.cshrc
cshrc.hp9000
cshrc.hp9000s700
cshrc.solaris
and possibly
.tcshrc
.login

Thanks to Todd Haverkos for solving these problems. Copy the mgc.env file from ~kcoloma/mgc.env to your home directory
A typical invocation sequence for Design Manager would be
% source ~/mgc.env
% dmgr
but note that first you must make a /MGC/ece361 directory in your home directory.  In the Mentor environment you are able to see your folders and files under the MGC subdirectory.

Setting Up a remote Xserver for Mentor Graphics

Here are several environment files you can try to use corresponding to several different versions of the Mentor Graphics Suite. MGC 2002, MGC C4, and MGC 2004.

Windows + X-Win32 Instructions

  1. Get and Install X-Win32 from here (you need to be on an NU network)
  2. Download and unzip the necessary version of the Windows Mentor Graphics Fonts MGC 2004, MGC 2002, MGC C4 into $(XWIN32_INSTALL_DIR)\Common\Lib\Fonts\Mentor.
  3. Start XConfig
  4. Click on Fonts tab
  5. Add new mentor directory
  6. highlight new mentor fonts directory
  7. Click "Make FONTS.DIR"

*nix and OS X Instructions

  1. Requires a working X-server and ssh2 (OpenSSH or SSH communications)
  2. Download and uncompress the necessary font version MGC 2004, MGC 2002, MGC C4
  3. install the fonts directory some place like /usr/X11R6/lib/X11/fonts or really any place.
  4. cd to the fonts directory and run `mkfontdir`. mkfontdir fails, start over and try skipping the mkfontdir step - fonts.dir is already included in the archive.
  5. Each time before you log in to an ECE machine to start Mentor Graphics, you must have the Mentor Fonts in your fontpath. To do this run `xset +fp $(MENTOR_FONTS)` and then `xset fp rehash`. `xset q` will display your fontpath among other things
  6. Lastly, you'll need ssh to forward X connections to your local X-server. This can be done in a global config file (ssh_config), usually in the /etc directory, or a per user config file (~/.ssh_config), or it can be done on the command line (-X in OpenSSH, +x in SSH Communication's ssh).

Back to ECE 361