Program Development

From HLRS Dgrid
Jump to: navigation, search

Compilers

UPC

  • For environmental settings modules are available: upc/...
  • local compilation with multithreadind:
upcc demo.upc -network=smp -pthreads -o demo
  • Start program:
upcrun -np 4 ./demo
  • Compilation for a batch job:
 upcc demo.upc -network=mpi -nopthreads -o demo
  • Start programm:
mpirun -np 4 ./demo

Debuggers

MPI

On this cluster, the Vendor-MPI (Voltaire MVApich) and Open MPI is supported for the two supported compilers, gnu and intel.

The MPI may be selected using the module command, e.g.:

 module load mpi/openmpi

Examples how to Execute MPI Programs should help to get started.

Tools

Eclipse

Starting Eclipse on the frontend is pretty easy:

frontend:~$ module load eclipse/eclipse-3.2.0
frontend:~$ eclipse &

Don't forget to ssh to the frontend with "-X" option.

Kojak

Starting Kojak is easy.

frontend:~$ module load kojak/kojak-2.2b3-openmpi 
frontend:~$ cube &