Admin Fixes for Packages

From Applied Optics Wiki
Revision as of 10:03, 15 September 2008 by Ral (talk | contribs) (Comsol / Matlab configuration.)

Jump to: navigation, search

ADS

To provide automatic design kit configuration for all ADS users, copy /home/share/packages/ads/custom/design_kits to <ads_install_dir>/custom/. This provides configuration for the AMS C35 and UMC L180 processes. If you want to add support for further processes, edit design_kits/ads.lib.

Comsol

If you want Matlab support you must give a Matlab path when installing otherwise some components will not be installed. After installation, edit <comsol_install_path>/bin/comsol to set the Matlab path as desired. The way I have this configured to work with the VPM installed Matlab (which may be one of many versions) is:

# Matlab version stuff is custom for EEE.

ML_VERSIONS="2007a r14sp3"
ML_PKGDIR=/eee/vlsi/matlab

for v in ${ML_VERSIONS}; do
    if [ -d ${ML_PKGDIR}/${v} ]; then
        MLROOT=${ML_PKGDIR}/${v}
        break
    fi
done

CoWare

CoWare PlatformArchitect 2006.1 has problems with its old version of gcc (3.4.4) and linking to glibc on modern systems. To get around this, I've found older compatible versions of a number of files that it uses. They reside in /home/share/packages/coware/lib/ and are crt1.o, libc_nonshared.a and libc.so. They should be copied to /eee/vlsi/coware/PlatformArchitect/2006.1/linux/gnu/gcc-3.4.4/lib/ or somewhere similar. If the path changes, you may need to edit libc.so. For what it's worth, libc.so is a modified version of /usr/lib/libc.so, libc_nonshared.a is from /eee/vlsi/Cadence/2006/IUS/tools.lnx86/systemc/lib/compat/libc_nonshared.a and crt1.o is from /eee/vlsi/Cadence/2006/IUS/tools.lnx86/systemc/lib/compat/crt1.o.