Difference between revisions of "Desktop Setup"

From Vlsiwiki
Jump to: navigation, search
(Installation)
(WORKS)
Line 37: Line 37:
 
===CentOS 5.2===
 
===CentOS 5.2===
  
====WORKS====
+
===WORKS===
  
 
  sesc,sesctherm, synos, vcs, synplify_pro, dc_shell, opencv
 
  sesc,sesctherm, synos, vcs, synplify_pro, dc_shell, opencv

Revision as of 23:34, 21 February 2009

Distribution Setup

We support three main Linux distributions (CentOS, Fedora, ubuntu), but you need to maintain some security configuration and packages. Each distribution has its own problems, check the issues before deciding what distribution to install. The distributions should:

  • Compile and run SESC and SESCTherm (with CUDA support)


  • Run synos rake command
 svn co svn+ssh://mada0.cse.ucsc.edu/mada/server/svn/synos
 cd synos/scoore/fpu
 rake
  • Execute vcs
 cd synos/scoore/fpu
 rake test:softfloat_tb
  • Execute synplicity_pro
 cd synos/scoore/fpu
 rake fpga:fpu v=1
 ./synplify_fpu.sh
  • Execute dc_shell-t
 cd synos/scoore/fpu
 rake asic:fpu v=1
 ./dc_fpu.sh
  • Run opencv applications (cd mthd/mgesture)
  • Run gosu examples (cd mthd/hdui)

CentOS 5.2

WORKS

sesc,sesctherm, synos, vcs, synplify_pro, dc_shell, opencv

FAILS

gosu (gem rmagic and ruby-opengl package fail to install)

Installation

Install the 64bit packages selecting development and latex packages.

  • Update the yum repository (EPEL packages)
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
  • Update distribution
yum update -y
  • Editing packages
yum install -y aspell-en emacs openoffice firefox 
  • Mathemathics packages
yum install -y R blas-devel gnuplot 
  • Version control and cmake
yum install -y cvs cmake git-all
  • SESC Development packages
yum install -y bison ctags cscope doxygen gcc gcc-c++ gcc-gfortran gcc-java m4 flex bison 
  • Miscellaneous Development
yum install -y ant antlr boost-devel  fftw-devel vim-enhanced valgrind python-devel  qt4
  • Compatiblity packages
yum install -y compat-db compat-db compat-gcc-34 compat-gcc-34-c++ compat-gcc-34-g77 compat-glibc compat-glibc compat-glibc-headers compat-libf2c-34 compat-libgcc-296 compat-libstdc++-296 compat-libstdc++-33 compat-libstdc++-33 compat-readline43
  • Ruby packages
yum install -y eruby-devel eruby-libs ruby-devel ruby-docs ruby-mode ruby-racc ruby-rdoc ruby-ri ruby-tcltk rubygem-rake rubygems
gem install --remote rspec
gem install rake rcov ruby-prof gecoder-with-gecode
  • MT development
yum install SDL_Pango-devel SDL_mixer-devel opencv-devel ImageMagick
gem install gosu
  • Setup IP tables
scp mada0:/mada/server/setup/setup/iptables /etc/sysconfig/iptables
  • Setup services correctly
yum install -y chkconfig
scp mada0:/mada/server/setup/setup/setup.serv /root/setup.serv
for a in `grep "3:on" setup.serv  | cut -d0 -f1`; do chkconfig --level 3 $a on;  done
for a in `grep "3:off" setup.serv | cut -d0 -f1`; do chkconfig --level 3 $a off; done
for a in `grep "4:on" setup.serv  | cut -d0 -f1`; do chkconfig --level 4 $a on;  done
for a in `grep "4:off" setup.serv | cut -d0 -f1`; do chkconfig --level 4 $a off; done
for a in `grep "5:on" setup.serv  | cut -d0 -f1`; do chkconfig --level 5 $a on;  done
for a in `grep "5:off" setup.serv | cut -d0 -f1`; do chkconfig --level 5 $a off; done
  • Setup automount
mkdir /mada
unalias cp
scp -f mascd1:/etc/auto.master mascd1:/etc/auto.mada /etc/
service autofs restart
  • LDAP setup
scp mada1:/etc/ldap.conf /etc/
scp mada1:/etc/nsswitch.conf /etc
scp -r mada1:/etc/openldap/ldap.conf /etc/openldap/
scp -r mada1:/etc/openldap/cacerts/cert8.pem /etc/openldap/cacerts/

Ubuntu

Fedora