You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Steps to Recover From Anti-Virus Spinning Beach Ball of Death Problem

  • boot to "safe mode" (hold "shift" key down while booting)
  • uninstall sophos by running the following program in Finder:
      MacintoshHD->Library->SophosAntiVirus->RemoveSophosAntiVirus.pkg
    
  • Reboot machine (don't need "safe mode" anymore)
  • download/install applejack from http://sourceforge.net/projects/applejack
  • boot to single-user mode (hold "apple" and "s" key down at same time while booting). this should look like a "terminal" (no fancy windows)
  • type "applejack"
  • select "a" (auto-mode)
  • wait 15-30 minutes for fixes to take place
  • select "r" to restart machine at end of applejack run
  • reinstall sophos anti-virus from https://itservices.stanford.edu/service/ess/mac/sophos

Software Installation

The following commands will allow you to run xmgrace,pyplot,gimp,ase on your Macbook Pro Laptop with MacOS X 10.6 (Snow Leopard). Office is also available for MACs purchased by SLAC (contact me if you want that).

Before doing the following, you must install:

  1. "Xcode" from MacOSX CD "optional installs" (not "applications" CD) that came with your laptop (ask cpo if you don't have a copy)
  2. "macports" from here

Then execute the following commands in a terminal on your mac (assumes bash shell):

export ASE_TAGS=https://svn.fysik.dtu.dk/projects/ase/tags/
svn co -r 1574 $ASE_TAGS/3.4.1 ase-3.4.1
scp youraccountname@noric.slac.stanford.edu:/afs/slac/g/suncat/mac/pyplot-0.11.tar.gz ~
tar xvfz pyplot-0.11.tar.gz
sudo tcsh
port selfupdate
port install grace gimp py26-gtk py26-matplotlib py26-scipy +gtk2
cp -r pyplot /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages
cp -r ase-3.4.1 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ase
exit

This "port install" command may take several hours (last time we tried: 6).

After completion of the above, include the following lines in ~/.profile (again, assumes bash shell):

export PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ase
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
alias pyplot='cd /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pyplot; python pyplot.py; cd -'
alias ag='/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ase/tools/ag'

Other Tips

  • X11 can be started from Applications->Utilities->X11
  • To enable ssh login to the mac, go to preferences->sharing and enable "Remote Login" (not many users will want to do this)
  • To enable X forwarding, edit /etc/sshd_config and insert the line "X11Forwarding yes" (not many users will want to do this)
  • No labels