This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:m9000 [2013/07/25 14:13] kevin |
guide:m9000 [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ^ Memory | 2 048 GB (2 TB)| | ^ Memory | 2 048 GB (2 TB)| | ||
| ^ Peak performance | 2 Tflops | | ^ Peak performance | 2 Tflops | | ||
| - | ^ Linpack | + | ^ Linpack |
| ^ Interconnect | Jupiter | | ^ Interconnect | Jupiter | | ||
| ^ O.S. | Solaris 10 | | ^ O.S. | Solaris 10 | | ||
| Line 24: | Line 24: | ||
| SunOS m9000 5.10 Generic_139555-08 sun4u sparc SUNW, | SunOS m9000 5.10 Generic_139555-08 sun4u sparc SUNW, | ||
| </ | </ | ||
| - | >SunOS is the actual name of the operating system; version 5 was named " | + | >SunOS is the actual name of the operating system; version 5 was renamed |
| =====File Systems===== | =====File Systems===== | ||
| Line 31: | Line 31: | ||
| | Scratch | XFS | ''/ | | Scratch | XFS | ''/ | ||
| | | | ''/ | | | | ''/ | ||
| - | | Gridware | NFS | ''/ | + | | Gridware | NFS | ''/ |
| | Home | NFS | ''/ | | Home | NFS | ''/ | ||
| + | | Software | | ''/ | ||
| - | The M9000 does not mount the Lustre SCRATCH* file systems. | + | * **WARNING: |
| + | |||
| + | The M9000 does not mount the Lustre SCRATCH* file systems. | ||
| =====Compilers===== | =====Compilers===== | ||
| Line 43: | Line 46: | ||
| ^ C++ | '' | ^ C++ | '' | ||
| + | The recommended system compilers are Sun Studio. | ||
| < | < | ||
| m9000:~$ f90 -V | m9000:~$ f90 -V | ||
| f90: Sun Fortran 95 8.3 SunOS_sparc Patch 127000-07 2008/10/21 | f90: Sun Fortran 95 8.3 SunOS_sparc Patch 127000-07 2008/10/21 | ||
| Usage: f90 [ options ] files. | Usage: f90 [ options ] files. | ||
| + | </ | ||
| + | |||
| + | The default system GCC compilers are very old (version 3.4.x) and the newer GCC 4.6.3 is installed in ''/ | ||
| + | |||
| + | <code bash> | ||
| + | export PATH=/ | ||
| + | export LD_LIBRARY_PATH=/ | ||
| + | export MANPATH=/ | ||
| + | </ | ||
| + | |||
| + | And, when building code using make files or '' | ||
| + | |||
| + | ===GCC 4.6.3=== | ||
| + | <code bash> | ||
| + | export CC=gcc | ||
| + | export CXX=g++ | ||
| + | export FC=gfortran | ||
| + | export F77=gfortran | ||
| + | </ | ||
| + | |||
| + | ===Sun Studio=== | ||
| + | <code bash> | ||
| + | export CC=cc | ||
| + | export CXX=CC | ||
| + | export FC=f90 | ||
| + | export F77=f90 | ||
| + | </ | ||
| + | |||
| + | ====OpenMP==== | ||
| + | |||
| + | The above compilers include support for OpenMP. | ||
| + | < | ||
| + | gcc -o mp_hello -fopenmp mp_hello.c | ||
| + | </ | ||
| + | |||
| + | Example code from [[https:// | ||
| + | |||
| + | With the Sun Studio compilers, use the '' | ||
| + | |||
| + | | '' | ||
| + | ^ '' | ||
| + | |||
| + | * **IMPORTANT** Always use validation and verification test benchmarks with your parallel code after compiling with OpenMP enabled and especially if you used any compiler optimisations. | ||
| + | |||
| + | =====Libraries===== | ||
| + | |||
| + | See under ''/ | ||
| + | |||
| + | ====MPI==== | ||
| + | |||
| + | =====Job submission===== | ||
| + | [Courtesy of Sean February] | ||
| + | |||
| + | The queue name for the M9000 machine is spark. Your job script (see example below) must be located somewhere in ''/ | ||
| + | < | ||
| + | yourusername@login02: | ||
| + | </ | ||
| + | |||
| + | Example script: | ||
| + | <code bash> | ||
| + | #!/bin/sh | ||
| + | #PBS -N test | ||
| + | #PBS -q spark | ||
| + | #PBS -l select=1: | ||
| + | #PBS -l place=free | ||
| + | #PBS -l walltime=01: | ||
| + | #PBS -o / | ||
| + | #PBS -e / | ||
| + | cd $PBS_O_WORKDIR | ||
| + | |||
| + | HOME_DIR=/ | ||
| + | LOG_NAME=testjob_log | ||
| + | THIS_JOB=$HOME_DIR$LOG_NAME | ||
| + | |||
| + | echo "My job starts here" > $THIS_JOB | ||
| + | date >> $THIS_JOB | ||
| + | pwd >> $THIS_JOB | ||
| + | echo $PATH >> $THIS_JOB | ||
| + | echo `cat $PBS_NODEFILE` >> $THIS_JOB | ||
| + | |||
| + | date >> $THIS_JOB | ||
| + | echo "My job ends here" >> $THIS_JOB | ||
| </ | </ | ||