Windows Questions

   Question #1: How do I define printer in DSL lab?
   Question #2: How do I configure Internet Explorer on my account?
   Question #3: How do I configure Outlook Express on my account?
   Question #4: How do I map my csa/csd account to Windows 2000/XP filesystem?
   Question #5: How do I configure completion on Tab in Windows 2000/XP command prompt?
   Question #6: How do I use Exceed?
   Question #7: How do I enable Hebrew within my account?
   Question #8: How do I use my extra storage space on DSL server? (if I have one)

Linux Questions

   Question #1: How do I run mpi on linux?
   Question #2: How do I configure internet in Linux?
   Question #3: How do I run mpi over InfiniBand on linux ?
   Question #4: How to run network application over InfiniBand ?
   Question #5: How can I get an exclusive right over Linux station (no more users allowed)?
   Question #6: How do I install and configure the Voltaire HCA-400 on Linux host systems? (Voltaire Userguide)
   Question #7: How can I make sure the other users and their jobs do not interfer with mine?
   Question #8: How do I use the Blade Center?
   Question #9: How can I print a manpage?
   Question #10: How do I use java compiler and VM?

General Questions

   Question #1: Where do I get registration key for JBuilder?



Windows Question # 1

   Question:  How do I define printer in DSL lab?
   Answer:
  1. From "Start" menu select "Settings" and click "Printers".
  2. Double-click "Add Printer" Icon and follow the "Add Printer" Wizard.(\\cs-dsl-pdc\DSLp)



Windows Question # 2
   Question:  How do I configure Internet Explorer on my account?
   Answer:
  1. From "Tools" Menu choose "Internet Options".
  2. Select "Connections" tab.
  3. Press "LAN Settings" button.
  4. In "Proxy server" frame.
    • Check "Use proxy server" checkbox.
    • Address: "wwwproxy.technion.ac.il" (without quotes).
    • Port: "8080" (without quotes).
    • Press "Advanced" button.
    • In opened dialog box check "Use the same proxy for all protocols" checkbox.
    • In the "Do not use proxy server for addresses beginning with:" type "ac.il".
  5. Press "OK" buttons in all opened dialog boxes to activate settings.



Windows Question # 3
   Question:  How do I configure Outlook Express on my account?
   Answer:
  1. From "Tools" Menu choose "Accounts".
  2. Press "Add" button and select "Mail".
  3. Follow the "Internet Connection Wizard".
   You also can use Webmail, it gives web interface to most technion mail servers including t2, tx, csa, csd.



Windows Question # 4
   Question:  How do I map my csa/csd account to Windows 2000/XP filesystem?
   Answer:

   If you don't have local administrative permissions, contact system administrator.

   If you have local administrative permissions, download and merge the following .reg file: EnablePlainTextPassword.reg. Reboot the system after merging.

   For more information on this issue look at Microsoft Knowledgebase or here.



Windows Question # 5
   Question:  How do I configure completion on Tab in Windows 2000/XP command prompt?
   Answer:

   Download and merge the following .reg file: CompletionChar.reg.

   For more information on this issue look here.



Windows Question # 6
   Question:  How do I use Exceed?
   Answer:
  1. Run SSH SecureShell Client.
  2. Configure SSH: from Edit -> Settings -> Tunneling enable X11 tunneling.
  3. Connect to the desirable host.
  4. Run xterm from the console.



Windows Question # 7
   Question:  How do I enable Hebrew within my account?
   Answer:
  1. Start Menu
  2. Settings
  3. Control Panel
  4. Regional And Language Options
  5. Languages
  6. Details
  7. Add
  8. Choose Herbrew in both combo boxes



Windows Question # 8
   Question:  How do I use my extra storage space on DSL server? (if I have one)
   Answer:
  1. Log in any (unlocked) lab computer using your TD-CSF account
  2. Get into My computer -> Map Network Drive
  3. Type in "Folder" field: \\dsl-dc\users\your_username



Linux Question # 1
   Question:  How do I run mpi on linux?
   Answer:
  1. mpirun application located in /usr/local/bin it should be in your PATH by default.
  2. (obsolete, move to 4.) MPI can use rsh to communicate, so to allow you login to any station without typing password each time you should have file named .rhosts in you home directory. This file has following format:

    fully_qualified_machine_name your_login

    you can download template here.
  3. You should have file with fully qualified machine names of stations you want to run MPI on (one you specify using -machinefile parameter). You can download template here, just uncomment needed lines.
  4. SSH Configuration:
    first run:
    ssh-keygen -t rsa
    This will generate a private/public key pair. The private key will be saved in: ~/.ssh/id_rsa
    and the public key will be saved in: ~/.ssh/id_rsa.pub
    Authorize Access by appending your public key into your ~/.ssh/authorized_keys file. All keys listed in that file are allowed access:
    cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
    If the machine you are connecting to does not share a common file system, then ~/.ssh/id_rsa.pub should be copied over to the /.ssh/authorized_keys file of the machine you will be connecting to. ssh will insist that authorized_keys have its permissions set so that it is not group writable, so execute:
    chmod 640 ~/.ssh/authorized_keys
    In order to avoid typing in your pass phrase each time ssh is invoked you can create a passwordless key-pair, or an ssh-agent needs to be created and your pass phrase added:
    ssh-agent $SHELL
    ssh-add


    In order to test SSH related things work so far and assuming machines file is ~/machines.txt, run
    for bash users:
    for box in `cat ~/machines.txt` ; do echo -n "$box: "; ssh $box date ; done
    for csh users:
    foreach box (`cat ~/machines.txt`)
    echo -n "$box: "
    ssh $box date
    end

    The output of the above should be the current time on all the remote machines. Some or all of the machines will ask you if you want to store their signatures in the known_hosts file. Answer "yes".
    NOTE: the above will also help discovering time skew issues, which are important to MPI. Just be alert to time differences in the machines responses. if they are in minutes... alert the sysadmin.

  5. The help and manuals on MPICH are available in /usr/local/mpich-1.2.5/www/index.html
  6. The official MPICH homepage is http://www-unix.mcs.anl.gov/mpi/mpich/



Linux Question # 2
   Question:  How do I configure internet in Linux?
   Answer:    There are three diffrent browsers installed in Linux in DSL lab.
  • Mozilla
    1. From "Edit" menu choose "Preferences".
    2. Expand "Advanced" node in navigation tree on the left.
    3. Select "Proxies".
    4. Select "Manual proxy configuration".
    5. For all proxies and SOCKS Host enter "wwwproxy.ac.il", port 8080.
    6. In "No proxy for" field type ".technion.ac.il, .ac.il" (without quotes).
    7. Press "OK" buttons in all opened dialog boxes to activate settings.

  • Netscape

  •    Netscape is configured exectly in the same way as mozilla.

  • Konqueror
    1. From "Settings menu" select "Configure konqueror".
    2. Select "Proxy" from the navigation bar on the left.
    3. Check "Use Proxy" checkbox.
    4. Select "Manual specified settings" and click "Setup..." button next to it.
    5. Check all checkbox in "Servers" group.
    6. For each one type "wwwproxy.ac.il", port 8080.
    7. Press "OK" button in all opened dialog boxes to activate settings.



Linux Question # 3
   Question:  How do I run mpi over InfiniBand on linux (ds-i1, ds-i2 stations only)?
   Answer:

    Generaly MPI over InfiniBand works in the same way as regular MPI application and requires same files to run (see How do I run mpi on linux? question), but there are some differences:
  1. MPI home directory is /usr/voltaire/mpi/.
  2. You have to recompile your code with headers and libraries located in /usr/voltaire/mpi/include and /usr/voltaire/mpi/lib.
  3. mpirun application located in /usr/voltaire/mpi/bin/ and called mpirun_rsh. Add it to your PATH or run with full filename.



Linux Question # 5
   Question:  How can I get an exclusive right over Linux station (no more users allowed)?
   Answer:

  1. Firstly, but very important: make remote connection (via ssh) to those station you’re going work on in order to preserve control over them.
  2. Log in the station.
  3. Warn other station users that you are going to take over the station.

  4. %wall your_message
  5. Create nologin file to prevent from other users getting in:

  6. %sudo /bin/touch /etc/nologin
  7. When finishing, release the station

  8. %sudo /bin/rm /etc/nologin


    NB: If from some reason you've lost control over the station, just reboot it.



Linux Question # 7
   Question:  How can I make sure the other users and their jobs do not interfer with mine?
   Answer:

  1. Firstly, virtually book the machine(s):
    • Click here to Enter the Booking Center
    • Find the machine(s) in the left pane, and add booking for the term you need, please give good phone for contact.
    • Wait for a confirmation (when the state is "Booked") and/or email
  2. After this happened, the System Administrator will make all the arrangements to ensure other users do not interrupt your work according to your specified Booking request.
  3. Please, don't forget to respect other users bookings



Linux Question # 9
   Question:  How can I print a manpage?
   Answer:

  1. Make sure printing works on your machine.
  2. run command:
     man -t manpage | lpr

Linux Question #10
   Question:  How do I use java compiler and VM?
   Answer:

Java needs to be in your PATH.
Usually it is done via defining the environment variables:
  • JAVA_HOME
  • JAVA_JRE
for your shell or executing script, and updating your PATH
Sample additions
for csh:
################ java related start #######################
switch (`uname -m`)
	case "ppc64":
		setenv JAVA_HOME /opt/IBMJava2-ppc64-50.SR4
	breaksw
	case "i486":
	case "i586":
	case "i686":
		setenv JAVA_HOME /opt/jdk1.5.0_12
	breaksw
	default:
		echo "unknown arch, JAVA_HOME not SET, exitting"
		exit 1
endsw
setenv JRE_HOME ${JAVA_HOME}/jre
setenv PATH ${JRE_HOME}/bin:${JAVA_HOME}/bin:${PATH}
setenv MANPATH ${JAVA_HOME}/man
################ java related end   #######################
 
for bash:
################ java related start #######################
case `uname -m` in
	ppc64)
		export JAVA_HOME=/opt/IBMJava2-ppc64-50.SR4
	;;
	i?86)
		export JAVA_HOME=/opt/jdk1.5.0_12
	;;
	*)
		echo "unknown arch, JAVA_HOME not SET, exitting"
		exit 1
	;;
esac
export JRE_HOME=${JAVA_HOME}/jre
export PATH=${JRE_HOME}/bin:${JAVA_HOME}/bin:${PATH}
export MANPATH=${JAVA_HOME}/man
################ java related end   #######################
 



General Question # 1
   Question:  Where do I get registration key for JBuilder?
   Answer:
  1. Surf to JBuilder download page.
  2. Choose version you want to get key for.
  3. Fill all needed information and survey and you will get the key to your mail box.
  4. Do not download the product or cancel the downloading process when started.
   Note: When you are registering the registration is to Borland Community.