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.
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
- Get and Install X-Win32 from here (you need to be
on an NU network)
- 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.
- Start XConfig
- Click on Fonts tab
- Add new mentor directory
- highlight new mentor fonts directory
- Click "Make FONTS.DIR"
*nix and OS X Instructions
- Requires a working X-server and ssh2 (OpenSSH or SSH communications)
- Download and uncompress the necessary font version MGC
2004, MGC
2002, MGC
C4
- install the fonts directory some place like /usr/X11R6/lib/X11/fonts or
really any place.
- 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.
- 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
- 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