1710
Comment:
|
2248
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
At Zeuthen a cluster of 16 dual opteron machines is available. It is integrated into the SGE batch system. The documentation in ["Batch System Usage"] applies to it. | At Zeuthen, two clusters are available, one with 16 dual Opteron machines connected by Infiniband and one with 8 dual Xeons and Myrinet. They are integrated into the SGE batch system. The documentation in [[Batch_System_Usage]] applies to them. |
Line 6: | Line 6: |
Since the upgrade to SL5, both clusters use the openmpi implementation of the MPI standard. | |
Line 7: | Line 8: |
Applications for the cluster must be compiled on a 64 bit machine, at the moment, this means either lx64 or linfini. There are MPI versions for the GCC, Intel and PGI compilers installed: | There are MPI versions for the GCC, Intel and PGI compilers installed: |
Line 9: | Line 10: |
/usr/local/ibgd/mpi/osu/gcc/mvapich-0.9.5/bin/mpicc | /opt/openmpi/gcc/bin/mpicc |
Line 11: | Line 12: |
/usr/local/ibgd/mpi/osu/intel/mvapich-0.9.5/bin/mpicc | /opt/openmpi/intel/bin/mpicc |
Line 13: | Line 14: |
/usr/local/ibgd/mpi/osu/pgi/mvapich-0.9.5/bin/mpicc |
/opt/openmpi/pgi/bin/mpicc |
Line 19: | Line 19: |
=== Infiniband === Applications for the plejade cluster must be compiled on a 64 bit SL5 machine, e.g. sl5-64.ifh.de. === Myrinet === Applications for the geminide cluster must be compiled on a 32 bit SL5 machine, e.g. sl5.ifh.de. |
|
Line 21: | Line 27: |
A job script designated for a parallel job needs to specify the parallel environment and the number of required CPUs. The parameter looks like this: | A job script designated for a parallel job needs to specify the parallel environment and the number of required CPUs. The parameter looks like this for the Infiniband cluster: |
Line 25: | Line 31: |
It is important to request the right limit for memory with the parameter h_vmem. The machines have 3673204k of RAM and by default two jobs are executed on one node, so the maximal amount of memory is 1650M per process. | On the Myrinet cluster, it is similar: #$ -pe mpichgm-ppn2 4 It is important to request the right limit for memory with the parameter h_vmem. The Opteron machines have 3.3G of RAM and by default two jobs are executed on one node, so the maximal amount of memory is 1650M per process: #$ -l h_vmem=1650M The Xeons have 922.5M of RAM. If your application is using threads, it is recommended to set the value of h_stack (by default the same as h_vmem) to a sane value, e.g. 10M. Be sure to call the right mpirun version for your compiler. If you application was compiled with GCC, use /opt/openmpi/gcc/bin/mpirun -np $NSLOTS yourapp |
Line 31: | Line 54: |
Be aware that the batch system renews the AFS token, but only on the node that starts the first process (node 0). That's why you should access the AFS from that node. An example scenario looks like this: | == BLAS library == Both ATLAS ans Goto``BLAS are available. |
Line 33: | Line 57: |
1. Copy data from AFS to node 0. 1. Copy it with scp to the nodes that need it to the directory $TMPDIR, the machine names are in $TMPDIR/machines 1. Run your MPI job. 1. Copy the results with scp from the local discs to node 0. 1. Copy the data from node 0 to AFS. |
* ATLAS is in /opt/products/atlas * libgoto is in /usr/lib or /usr/lib64 respectively. == Further documentation == [[http://www-zeuthen.desy.de/technisches_seminar/texte/Technisches_Seminar_Waschk.pdf|HPC-Clusters at DESY Zeuthen]] , 11/22/06, technical seminar |
Usage of the Linux Clusters at DESY Zeuthen
At Zeuthen, two clusters are available, one with 16 dual Opteron machines connected by Infiniband and one with 8 dual Xeons and Myrinet. They are integrated into the SGE batch system. The documentation in Batch_System_Usage applies to them.
Building Applications
Since the upgrade to SL5, both clusters use the openmpi implementation of the MPI standard.
There are MPI versions for the GCC, Intel and PGI compilers installed:
/opt/openmpi/gcc/bin/mpicc
/opt/openmpi/intel/bin/mpicc
/opt/openmpi/pgi/bin/mpicc
Compilers for C++ and Fortran are available as well.
Infiniband
Applications for the plejade cluster must be compiled on a 64 bit SL5 machine, e.g. sl5-64.ifh.de.
Myrinet
Applications for the geminide cluster must be compiled on a 32 bit SL5 machine, e.g. sl5.ifh.de.
Batch System Access
A job script designated for a parallel job needs to specify the parallel environment and the number of required CPUs. The parameter looks like this for the Infiniband cluster:
#$ -pe mpich-ppn2 4
On the Myrinet cluster, it is similar:
#$ -pe mpichgm-ppn2 4
It is important to request the right limit for memory with the parameter h_vmem.
The Opteron machines have 3.3G of RAM and by default two jobs are executed on one node, so the maximal amount of memory is 1650M per process:
#$ -l h_vmem=1650M
The Xeons have 922.5M of RAM.
If your application is using threads, it is recommended to set the value of h_stack (by default the same as h_vmem) to a sane value, e.g. 10M.
Be sure to call the right mpirun version for your compiler. If you application was compiled with GCC, use
/opt/openmpi/gcc/bin/mpirun -np $NSLOTS yourapp
AFS Access
The application binary must be available to all nodes, that's why it should be placed in an AFS directory.
BLAS library
Both ATLAS ans GotoBLAS are available.
- ATLAS is in /opt/products/atlas
- libgoto is in /usr/lib or /usr/lib64 respectively.
Further documentation
HPC-Clusters at DESY Zeuthen , 11/22/06, technical seminar