//Error: Cannot create mgc_schematic at path ...
(from: Capture/gdc_do_mgr/error 17)
//Error: Permission Denied
Fix is to create an environment variable NUT_SEC_ATTR_OFF and set it to true
Found this information on Mentor Graphics Support page, titled "Get permission error when attempting to open a schematic in Design Architect."
EN2002 Install
February 4, 2003
Pretty much just followed the instructions for the 2001.1 installation. Put the cd in and do a server installation. Install everything to s:\mgc_en2002. Let it run for a long time.
Made the changes to the font locations in the XVision server. The paths are exactly the same as below, except with mgc_en2002 instead of the 2001.1 directory. Edited s:\mgc_location_map\mgc_location_map.txt to reflect the new library locations and copied some libraries from s:\mgc_2001.1\Libraries to s:\mgc_en2002\Libraries. The directories copied were:
edg_lib
edg_parts
bpl_rls_lib
hct_lib
fct_lib
Other little things:
-Tried deleting the old version on client machines before installing the new stuff. This was a bad idea. I had to reinstall the old version and then the new one to get it to work.
-Deleted an extra link to MKS Korn shell in the program start menu. This is probably due to installing on top of the old version, but it's easy to just delete one of the extra links.
-Both of the above problems are probably related to the fact that we lost power during my first attempt at installing on the server. I think this messed up the mgls licensing install and the nutc install, but since I don't think these programs changed that much, the older versions seem to be working fine.
Misc Notes
March 28, 2002
In Librarian on Windows, had lots of problems with completing the catalog. This was due to a couple of things. One, the environment variable MGC_DATAPREP_DDMS must be set to True. We had other problems with this environment variable which are detailed here. The second problem was with the environment variable LMC_HOME. This has to be set to s:/smartmodels, which it was done on all machines. Unfortunately, everytime that the Quartus software is installed, the installation program overwrites this variable. It must be reset to s:/smartmodels only. Attempts to put both the Quartus value and s:/smartmodels in the environment variable at the same time, resulted in not being able to complete the catalog.
The last problem has to do with the fact that Windows doesn't support symbolic links. This
is solved through the use of a new config file, mgc_dataprep_config. This file
should be located in the pcb_parts directory in the users home directory. In
our case, each users home directory is u:/users/
other_pathnames
CATALOGS:
mgc_dataprep_ddms
USER_MAPS $WIN/marycdf/pcb_parts/user_maps
USER_GEOM $WIN/marycdf/pcb_parts/user_geom
USER_LIBS $WIN/marycdf/pcb_parts/user_libs
In the mgc_dataprep_ddms file, soft links are used. These soft links are set up in the mgc_location_map as
follows:
As long as the MGC_DATAPREP_DDMS is set to True, soft links can be used in the mgc_dataprep_ddms file.
On final note, in the PCB Tools User's Manual, it says that the file other_pathnames can be used just as it
was used on the unix systems (provided that the paths are all corrected.) I have had partial success in
getting this to work. The other geometries and symbols all work, but the catalogs don't work. For each
catalog in the other_pathnames file, an error message would appear when starting Librarian, saying "X
Library could not be found or is not a catalog file." Putting all of these catalogs as user catalogs,
seems to solve our problem. And then to just have to keep up one file, I put the user geometries and
symbols as well.
On ESHOP (server), put in MGC disk and choose "Mentor Graphics Products (Server)".
Install Location: s:/mgc_2001.1 and choose everything to install
Libraries: Select all and install to s:/mgc_2001.1/Libraries
Let it run. It takes about 2 hours to finish. When it does get close to finishing (~95%), the Mentor Graphics install will minimize so that other components can be installed. First comes NutCRACKER, which asks for nothing, just hit OK. This is probably due to the fact that NutCRACKER had already been installed with the previous Mentor installation. One question that does appear asks something about starting the X server when nutc starts, if it's not already running. Answer this question Yes. Next PCLS gets installed, again just say ok. It automatically gets installed to s:/mgc_home/Licensing. When the window comes up about configuration, hit the "Skip configuration" button. Now the MGC install starts back up and runs a bunch of post install scripts. All you will have to do here is hit return when prompted. It says to restart the computer when done, but since we're running win2000, you shouldn't have to do that. And I didn't.
Client
Run s:/mgc_2001.1/mgc_depot/mgcSetup.exe. It pretty much works exactly as on the server, except it's much faster as it can skip the installation that takes two hours. It installs NutCRACKER and MGLS as on the server. Make all the same choices here.
Server and Client
The Mentor Graphics fonts need to be added to the X servers fonts so that everything will look right. Go to Control Panel -> XVision Profiles. And then highlight XVision and click on Properties. Next click on the Fonts tab. Then add the following two fonts folders:
You must restart the X server for these changes to take effect.
Licensing
Our license server for the Mentor Graphics package on windows is shop2. This is not the same as our file server, so a few modifications need to be made. First, copy the entire s:/mgc_2001.1/Licensing directory to d:/mentor_licensing on shop2. This is because the s: drive is a network drive that gets disconnected each time a user logs out of shop2. Since licensing must be running all the time, it should be on a local drive, thus d:/. Edit the file d:/mentor_licensing/mentor.lic to show the correct location of the mgcld daemon. Now you must configure shop2 to always run the license daemon at boot time. The program lmtools.exe is used to set this up, but the one that comes with the Mentor Graphics tools is hard to use. So I downloaded a newer version from Globetrotter that is easier for me to use. I named it GOOD-lmtools.exe and put it in the d:/mentor_licensing directory. With this version, you check "Configuration using Services" on the Service/License File tab. Then click on the "Configure Services" tab and fill out the windows as follows:
Service Name: Mentor Graphics Licensing
Check "Use Services" and then "Start Server" on the Start/Stop/Reread tab. That's it. The version from Mentor Graphics probably does the same thing, but I got used to using this version and like it a lot more. It just seems more logical to me.
Location Map
The environment variable MGC_LOCATION_MAP should be set on all machines to s:/mgc_location_map/mgc_location_map.txt. A couple of old edg libraries need to be added to the location map and copied to s:/mgc_2001.1/libraries, just so we know where they are. I don't think anyone uses these anymore, but they need to be kept around, just in case. The directories are edg_lib and edg_parts and should be copied from the en2000.5 libraries directory. And lines $EDG_PARTS and $EDG_LIB should be added to the location map.
Environment Variables
LMC_HOME=s:/smartmodels
Board Process Libraries
Install the Board Process Libraries on the server by selecting the "Server Installation" on the menu that appears when the cd is opened. Since all the other Mentor tools had been installed, the path to the installation location (s:/mgc_2001.1/Libraries) was correct. Select all three items that come up and say go. Need 1 GB free to install the Board Process Libraries. When finished, put an entry in the location map for $BPL_RLS_LIB.
Install Mentor Graphics as usual, but be sure to choose Server edition. The
directory that everything will be install to is s:\mgc_2000.5. Choose to
install all packages. Libraries get installed to s:\mgc_2000.5\Libraries.
Nutcracker setup installs to s:\nutc.
Xvision is not distributed from server to client and must be installed
on each client. However, the installation will not run until Nutcracker has
been installed.
Client
To install on each client, run s:\mgc_2000.5\mgc_depot\mgcSetup.exe. When
finished, install Xvision off the cd.
/net/designs/CDF_L1/final_PreFRED/PreFRED2/design_maps/design
/net/designs/CDF_L1/final_aux/aux_III/design_maps/design
/net/designs/CDF_L1/preFREDaux/design_maps/design
GEOMETRY_LIBS:
/net/designs/CDF_L1/final_PreFRED/PreFRED2/design_geom
/net/designs/CDF_L1/final_dirac/diracII/design_geom
/net/designs/CDF_L1/preFREDaux/design_geom
SYMBOL_LIBS:
/net/designs/CDF_L1/preFREDaux
/net/designs/CDF_L1/testers/lvds_ttl_conv
/net/designs/CDF_SVT/Flash_ADC/symbols
design $DESIGNS/CDF_L1/final_PreFRED/PreFRED2/design_maps
design $DESIGNS/CDF_L1/final_aux/aux_III/design_maps
design $DESIGNS/CDF_L1/preFREDaux/design_maps
design_geom $DESIGNS/CDF_L1/final_PreFRED/PreFRED2/design_geom
design_geom $DESIGNS/CDF_L1/final_dirac/diracII/design_geom
design_geom $DESIGNS/CDF_L1/preFREDaux/design_geom
preFREDaux $DESIGNS/CDF_L1/preFREDaux
lvds_ttl_conv $DESIGNS/CDF_L1/testers/lvds_ttl_conv
symbols $DESIGNS/CDF_SVT/Flash_ADC/symbols
$WIN u:/users
$DESIGNS y:
EN2001.1 Install Notes
Server
s:/mgc_2001.1/mgc_home/registry/fonts
s:/mgc_2001.1/mgc_home/pkgs/fonts_rgy/fonts.vision
Path to lmgrd: d:/mentor_licensing/lmgrd.exe
Path to license d:/mentor_licensing/mentor.lic
Path to log: d:/mentor_licensing/mentor.log
AMPLE_PATH=%LMC_HOME%/special/qsim/menus
LM_LICENSE_FILE=\
1718@shop2;Mentor Graphics on Windows
d:/altera_license/license.dat;Altera hardware key
1717@impulse;Mentor Graphics on HP, thought windows can also check these out
5280@impulse;Cadence Licenses (Specctra?)
27000@impulse;Synopsys Licenses
2200@frodo; Xilinx licenses
7182@impulse Avanti licenses
EN2000.5 Install Notes
Server