Lx6 and Lx7 compute nodes

From HPCwiki
Revision as of 00:27, 23 November 2013 by Hjmegens (talk | contribs) (Created page with "== HPC infrastructure== The '''ABGC high performance computer infrastructure''' comprise two machines: scomp1095/lx6 48 cores machine with 192GB of RAM scomp1090/lx7 48...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

HPC infrastructure

The ABGC high performance computer infrastructure comprise two machines:

   scomp1095/lx6 48 cores machine with 192GB of RAM
   scomp1090/lx7 48 cores machine with 512GB of RAM

For more information see the general ABGC bioinformatics page.

Access

Accessing computer cluster through ssh protocol:

   ssh username@scompXXXX.wurnet.nl

For people that needs visualisation (i.e. R graphs) use:

   ssh -X username@scompXXXX.wurnet.nl

Basic Bash programming

For basic bash programming please refer to:

    http://en.wikibooks.org/wiki/Bash_Shell_Scripting

Submitting jobs

Submitting jobs on a super computer has to be done through the SGE (Sun Grid Engine) that manages jobs. It attributes priorities to jobs and distribute them across the different cores available.

Using the SGE through qsub:

qsub has many options, I am going to describe a few crucial ones.

  -l h_vmem=XG

This command allows you to pre-define how much memory is to be attributed to your job. Note that your job will be killed by the SGE if you underestimate the amount of memory needed. The default is 1G.

  -cwd 

Set the current working directory. This will allow the SGE to work with incomplete path (i.e. ../my_data/).

  -q all.q 

Send your job to the all.q queue.

  -S $PATH 

Sometimes the SGE has trouble finding the path of some interpreter, using -S allows you to specify to the SGE where to find the interpreter (i.e -S /bin/sh)

  -b y 

Tells the SGE that you are running a binary program and to specify where to find it. This is particularly useful when you have some program that you compiled yourself in your own bin.

  –v DISPLAY 

Is needed to run ASReml on the SGE in a batch file


Example of qsub commands:

  qsub -l h_vmem=10G -q all.q -cwd -S /usr/bin/perl myscript.pl
  qsub -l h_vmem=10G -q all.q -cwd -b y ~/bin/./asreml

Installing programs

There are two ways to install a program on the clusters:

1) If the program is going to be used by a wide range of users, better ask one of the administrators to install it.

2) If you are going to be the only one to use this program you can install it in your home directory. Create your own ~/bin directory and compile things there. Then copy the executable directly in your ~/bin/. The next step is to add the path of your new bin to your .bashrc To do so do:

  vim ~/.bashrc 

Then add the following line in this file:

  export PATH=$PATH:~/bin/

This will make all executable in ~/bin installed, so the they can be invoked simply by typing their name in the command line.

When to use the computer clusters

Guideline for deciding to run your job on the HPC infrastructure:

  • can you parallelize your job, or does your job consist of many different small jobs?
  • can your job make use of multithreading?
  • do you require more memory per process than your own computer has available?
  • does the volume of data used make it undesirable or impossible to use your own computer?

Answering 'yes' to any of these questions indicates a valid reason to use the HPC infrastructure.

In addition, you may simply need to have access to a Linux environment, although this in itself is a poor reason to use the infrastructure.

Please note that per thread the machines currently in service are not that fast - if you have a desktop PC that was purchased in 2010 or later, it is likely to be faster (per thread).

Out of University access

To access the cluster from outside of the intranet, you can use the access point abgc.asg.wur.nl. SSH clients are normally installed on Linux and MacOS machines. For Windows, you can use the program Putty.


Another nice feature of ssh is that you can redirect html traffic through a specified port to abgc.asg.wur.nl. This will allow you to consult journals directly from home without having to login onto the University network. It also allows a very secure access to sensible data in a public network. For example when looking at your bank account from a cafe or so. Here is a small tutorial for Linux + Firefox.

1) Connect to abgc.asg.wur.nl

   ssh -D 9999 username@abgc.asg.wur.nl

2) Change proxy settings in Firefox go to Edit > Preferences > Advanced > Network.

Then click on Settings.

Then Manual proxy configuration.

There add in the SOCKS Host: localhost; port 9999;


For directions on using Putty Check this link : http://www.hacktabs.com/how-to-setup-ssh-tunneling-in-firefox-and-surf-anonymously/'