From ffafa6afcbb0e671102b2a7b8f67d185295edab0 Mon Sep 17 00:00:00 2001 From: Felix Spanier Date: Sat, 14 Jan 2023 18:12:37 +0100 Subject: [PATCH] =?UTF-8?q?NumMeth-22:=20Kapitel=2010=20fertig,=20=C3=9Cbu?= =?UTF-8?q?ng=209=20fertig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nummeth-ws22/exercises/entenrennen.pdf | Bin 0 -> 47473 bytes nummeth-ws22/exercises/uebung9.tex | 66 ++++ nummeth-ws22/literatur.bib | 181 ++++++--- nummeth-ws22/skript.tex | 496 ++++++------------------- 4 files changed, 313 insertions(+), 430 deletions(-) create mode 100644 nummeth-ws22/exercises/entenrennen.pdf create mode 100644 nummeth-ws22/exercises/uebung9.tex diff --git a/nummeth-ws22/exercises/entenrennen.pdf b/nummeth-ws22/exercises/entenrennen.pdf new file mode 100644 index 0000000000000000000000000000000000000000..48ea48be25d55645ed5eb3ce02f06315a10d59f4 GIT binary patch literal 47473 zcmb5VbyQVR`!y;ZQqrjhk#6Zw8bv_55$QN|N_R;pf)dh5cb9aBfJ%pw0#brVNO>RL zU)=8-}77kW! z)(C$1kvc8{f#8<6v2(L}*%pA=va34Ozb#-&GFtNw=OiS1N;-JBc=QpNv zdMmD+LhNZ;%UvR3V#1Io;)vU-{esHug$VS_F$D+5`FBVJzp{`s-JSE9{&}LJf31FU z6q$Fw`4YZizYIMRxcb!<@tRcRs}_&9j6wXe_>qdhvVQ8v&)y`mp>o78*`q1u;+iT` z_c%}9nysyQIS#&`+0V7mKKdpQw_>1}bF^YS)tEcMu!Co$r#OrCNljQ`R%UMxg+8%` zJjthcNc-eu;WoNmzvuQhza-U7oZ8ix4OK;v0@Bi-$9SB-Ht%Cos9s>Fmc``{X`^#H z@zy+u7!ufEP$U#S*`LSXO>L5l*&oOILnKp!A6Rr$TbuQ(sgvwRkrukq{Y`=stO#6} zoGuq1;+4NOH7Rx!rxL?yrHN`IwQp-WtK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Kqc&NE756F4F&Q!{=)vy zX-I}YBS2uEpdR|S^}sk#C{tB`YHso#0|Jm!0s#Hf166b<)oKBhWYpG*K6g))g9`E($fyWLn8zcnI%{@!#;6R`M4flUn}Y zaQUh1G(KRcbSEwPzZcL?wWe{S({#PqoB%41ObrYK?~Fnhg#@MbkUuU>D=!>WT@yBq zFBp7F6EdIAr0e3b7#*S)5rv=;unYuF#}kF1;^}w{ \pgfimage[width=\textwidth]{fig_chapter10/omp4} -} -\end{frame} -\begin{frame}[fragile] - \frametitle{General pragmas} + \subsection{General pragmas} C-style pragma \begin{lstlisting}[language=C] @@ -7153,11 +7126,9 @@ iam = omp_get_thread_num(); \begin{lstlisting}[language=Fortran] !$ iam = OMP_GET_THREAD_NUM() \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Useful OpenMP Runtime Commands} +\subsection{Useful OpenMP Runtime Commands} sets or returns the number of threads in the team \begin{lstlisting}[language=C] @@ -7179,10 +7150,8 @@ returns the number of processors on which the program can be run \begin{lstlisting}[language=C] int omp_get_num_procs(void); \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Useful OpenMP Runtime Commands} +\subsection{Useful OpenMP Runtime Commands} toggles the dynamic thread team size \begin{lstlisting}[language=C] int omp_in_parallel(void); @@ -7205,11 +7174,7 @@ int omp_get_nested(void); \end{lstlisting} - -\end{frame} - -\begin{frame}[fragile] -\frametitle{Parallel regions: Syntax} +\subsection{Parallel regions: Syntax} Clauses \begin{itemize} @@ -7227,31 +7192,25 @@ Clauses #pragma omp parallel [clause[[,] clause] ...] structured block \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Execution model} +\subsection{Execution model} \begin{itemize} \item At the start of every parallel region a team of threads is generated \item Thread 0 is the master thread \end{itemize} -\begin{columns} - \column{0.5\textwidth} + \begin{lstlisting}[language=C] #pragma omp parallel { printf("Hello World!\n"); } \end{lstlisting} - \column{0.5\textwidth} + \pgfimage[width=\textwidth]{fig_chapter10/nomp_1} -\end{columns} -\end{frame} -\begin{frame}[fragile] -\frametitle{Parallel loops} +\subsection{Parallel loops} \begin{itemize} \item Main usage of OpenMP @@ -7260,10 +7219,7 @@ structured block \item Not every loop can be parallelized \item The \verb+for+ directive is doing the job \end{itemize} -\end{frame} -\begin{frame}[fragile] -\frametitle{Parallel loops} Syntax: Clauses \begin{itemize} \item \texttt{private (list)} @@ -7276,10 +7232,6 @@ Syntax: Clauses \item \texttt{nowait} \end{itemize} -\end{frame} - -\begin{frame} -\frametitle{Parallel loops} Loops have to be in canonical form \begin{itemize} \item the number of loop runs has to be known before the start of the loop @@ -7289,10 +7241,8 @@ Loops have to be in canonical form \item no exceptions inside the loop that are catched outside \item \texttt{exit} is allowed inside the loop \end{itemize} -\end{frame} -\begin{frame}[fragile] -\frametitle{Parallel loops - examples} +\subsubsection{Parallel loops - examples} Exampe: Row sum \begin{lstlisting}[language=C] #pragma omp parallel for @@ -7311,10 +7261,8 @@ for ( j = 1; j < m - 1; j++ ) a[i][j] = ( a[i-1][j-1] + a[i-1][j] + a[i-1][j+1] ) / 3.0; } \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Parallel loops - collapse} +\subsubsection{Parallel loops - collapse} \begin{itemize} \item perfectly nested loops can be collapsed \item all loop variables have to be independent @@ -7323,10 +7271,7 @@ a[i][j] = ( a[i-1][j-1] + a[i-1][j] + a[i-1][j+1] ) / 3.0; \end{itemize} \verb+#pragma omp parallel for collapse(n)+\\ $n$ is the number of collapsed for loops -\end{frame} -\begin{frame}[fragile] -\frametitle{Parallel loops - collapse} \begin{lstlisting}[language=C] #pragma omp parallel for collapse(3) for(int l=0; l<10; ++l) @@ -7337,11 +7282,9 @@ foo[l][j][k] = 0; } \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Ordered execution} +\subsection{Ordered execution} Ordered execution with \texttt{ordered} \begin{itemize} \item The \texttt{ordered} directive will execute the following block in the original sequential order @@ -7352,10 +7295,7 @@ Ordered execution with \texttt{ordered} \begin{itemize} \item When parts of a loop have to be executed ordered the keyword has to be put in as directive and as clause \end{itemize}strukturierter Block -\end{frame} -\begin{frame}[fragile] -\frametitle{Ordered execution} \begin{lstlisting}[language=C] /* ordered as clause */ #pragma omp parallel for ordered @@ -7366,12 +7306,10 @@ a[i] = f(i); printf("a[%d] = %d", i, a[i]); } \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Reductions} +\subsubsection{Reductions} \begin{itemize} \item are frequently used in loop to accumulate a value in a variable via a binary operator \item write access on shared variables would have to be synchronized @@ -7387,22 +7325,18 @@ sum = 0; for ( i = 0; i < n; i++ ) sum = sum + b[i]; \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Reductions} Syntax \begin{lstlisting}[language=C] reduction (op: Variable [, Variable] ...) \end{lstlisting} -\begin{columns} -\column{0.55\textwidth} + \begin{itemize} \item allowed operators cf. table \item shared variable of scalar type \item private copy for every thread \end{itemize} -\column{0.45\textwidth} + \begin{tabular}{l|l} Operator & Initial value\\\hline $+$ & 0\\ @@ -7416,58 +7350,43 @@ max & min value\\ min & max value \end{tabular} -\end{columns} -\end{frame} - -\begin{frame}[fragile] -\frametitle{Data races} -\begin{columns} - \column{0.7\textwidth} +\subsubsection{Data races} \begin{lstlisting}[language=C] #pragma omp parallel for for ( i = 1; i =< 2; i++ ) a[i] = a[i] + a[i-1]; \end{lstlisting} - \column{0.3\textwidth} + Initial values \begin{lstlisting}[language=C] a[0] = 1; a[1] = 1; a[2] = 1; \end{lstlisting} -\end{columns} -\vspace{-10mm} + The result of \texttt{a[i]} depends on the position $i-1$\\ No problem for sequential execution: \texttt{a[i-1]} is calculated before \texttt{a[i]} -\begin{columns} - \column{0.7\textwidth} + \texttt{a[2]} is calculated with the new value of \texttt{a[1]} - \column{0.3\textwidth} - Initial values - \begin{lstlisting}[language=C] + +Initial values +\begin{lstlisting}[language=C] a[0] = 1; a[1] = 2; a[2] = 3; \end{lstlisting} -\end{columns} -\vspace{-10mm} + \begin{center}Problems with concurrent threads\end{center} -\begin{columns} - \column{0.7\textwidth} \texttt{a[2]} is calculated with the old value of \texttt{a[1]} - \column{0.3\textwidth} + \begin{lstlisting}[language=C] a[0] = 1; a[1] = 2; a[2] = 2; \end{lstlisting} -\end{columns} - -\end{frame} - \subsection{OpenMP - Conclusions} \begin{itemize} @@ -7481,8 +7400,7 @@ a[2] = 2; -\begin{frame} - \frametitle{MPI} +\section{MPI} MPI - the Messaging Passing Interface is \begin{itemize} \item a framework to exchange information between threads by different means @@ -7490,21 +7408,17 @@ a[2] = 2; \item supports communication via shared memory, Ethernet, Myrinet, Infiniband \item is available for C/C++, Fortran, Java \end{itemize} -\end{frame} -\begin{frame} - \frametitle{Why MPI?} +\subsection{Why MPI?} \begin{itemize} \item MPI is omnipresent \item MPI runs on any connected system from multi-core CPUs to clusters with weird interconnects \item MPI is very well standardized \end{itemize} For new projects MPI should always be favored over OpenMP! -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI - Hello World} +\subsection{MPI - Hello World} \begin{lstlisting}[language=C] #include ; int main(int argc, char** argv) { @@ -7528,11 +7442,9 @@ int main(int argc, char** argv) { MPI_Finalize(); } \end{lstlisting} -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI - Basic commands} +\subsection{MPI - Basic commands} \begin{lstlisting}[language=C] MPI_Init(int* argc, char*** argv) @@ -7554,11 +7466,7 @@ MPI_Finalize() \vspace{-10mm} \verb+MPI_Finalize+ is used to clean up the MPI environment. No more MPI calls can be made after this one. - -\end{frame} - -\begin{frame}[fragile] - \frametitle{MPI - Communicators} +\subsection{MPI - Communicators} MPI utilizes so called communicators. At the start \verb+MPI_COMM_WORLD+ is constructed, which consists of all processors \begin{lstlisting}[language=C] MPI_Comm_size(MPI_Comm communicator,int* size) @@ -7571,21 +7479,14 @@ MPI_Comm_rank(MPI_Comm communicator,int* rank) \vspace{-10mm} \verb+MPI_Comm_rank+ returns the rank of a process in a communicator. Each process inside of a communicator is assigned an incremental rank starting from zero. The ranks of the processes are primarily used for identification purposes when sending and receiving messages. - -\end{frame} - -\begin{frame}[fragile] - \frametitle{MPI - Communicators} For almost all purposes two communicators are relevant \begin{itemize} \item \verb+MPI_COMM_WORLD+ with all processes and no topological information \item \verb+MPI_CART_COMM+ a communicator with cartesian topology \end{itemize} For any multi-dimensional application, the Cartcomm simplifies life. -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI - CartCommunicators} +\subsubsection{MPI - CartCommunicators} \begin{lstlisting}[language=C] MPI_Dims_create( nnodes, ndims, dims ) \end{lstlisting} @@ -7600,10 +7501,7 @@ Inout Parameter \begin{itemize} \item \texttt{dims} array of the size \texttt{ndims} which defines the number of processes in each dimension (array of integer)\\ Values $>0$ are used as given input, 0 will be calculated newly \end{itemize} -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI - CartCommunicators} \begin{lstlisting}[language=C] int MPI_Cart_create(MPI_Comm comm_old, int ndims, const int dims[], const int periods[], int reorder, MPI_Comm *comm_cart) @@ -7622,10 +7520,7 @@ Output Parameters \begin{itemize} \item \verb+comm_cart+ communicator with new cartesian topology (handle) \end{itemize} -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI - CartCommunicators} \begin{lstlisting}[language=C] int MPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int coords[]) \end{lstlisting} @@ -7645,12 +7540,9 @@ Output Parameters \item \verb+coords+ integer array (of size \verb+ndims+) containing the Cartesian coordinates of specified process (integer) \end{itemize} -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI - CartCommunicators} \begin{lstlisting}[language=C] int MPI_Cart_shift(MPI_Comm comm, int direction, int disp, int *rank_source, int *rank_dest) @@ -7676,13 +7568,7 @@ Output Parameters \end{itemize} -\end{frame} - - - - -\begin{frame}[fragile] - \frametitle{MPI - Send \& Receive} +\subsection{MPI - Send \& Receive} \begin{lstlisting}[language=C] MPI_Send(void* data, int count, MPI_Datatype datatype, int destination, int tag, MPI_Comm communicator) @@ -7695,11 +7581,7 @@ Data has certain tags to identify them.\\ The receiver has to be actively expecting the data with that tag\\ Since the rank of process depends on the communicator, this \verb+communicator+ has to be given explicitly. -\end{frame} - -\begin{frame}[fragile] - \frametitle{MPI - Send \& Receive} Datatypes\\ \begin{tabular}{ll} \verb+MPI datatype+ & C equivalent\\ @@ -7717,10 +7599,8 @@ Datatypes\\ \verb+MPI_LONG_DOUBLE+ & long double\\ \verb+MPI_BYTE+ & char \end{tabular} -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI Barriers} +\subsubsection{MPI Barriers} \begin{lstlisting}[language=C] int MPI_Barrier( MPI_Comm comm ) \end{lstlisting} @@ -7730,12 +7610,10 @@ Input Parameters \end{itemize} Blocks the caller until all processes in the communicator have called it; that is, the call returns at any process only after all members of the communicator have entered the call. -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI - Send \& Receive} -Minimal example +\subsubsection{MPI - Send \& Receive Minimal example} + \begin{lstlisting}[language=C] // Find out rank, size int world_rank; @@ -7754,19 +7632,16 @@ if (world_rank == 0) { number); } \end{lstlisting} -\end{frame} -\begin{frame}[fragile] - \frametitle{MPI - Reduction} +\subsection{MPI - Reduction} \begin{lstlisting}[language=C] int MPI_Reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) \end{lstlisting} \vspace{-10mm} Reduces values on all processes to a single value -\begin{columns} - \column{0.5\textwidth} + Input Parameters \begin{itemize} \item \verb+sendbuf+ @@ -7787,7 +7662,8 @@ Output Parameters \item \verb+recvbuf+ address of receive buffer (choice, significant only at root) \end{itemize} -\column{0.5\textwidth} + +Operators \begin{tabular}{ll} \verb+MPI_LAND+ & logical \verb+AND+\\ \verb+MPI_LOR+ & logical \verb+OR+\\ @@ -7803,12 +7679,8 @@ Output Parameters \verb+MPI_MAXLOC+ & minimum and index \\ \end{tabular} -\end{columns} -\end{frame} - -\begin{frame}[fragile] -\frametitle{MPI Example: Burgers} +\subsection{MPI Example: Burgers} \begin{lstlisting}[language=C] #include #include @@ -7830,12 +7702,6 @@ const int tend=1000; const int outputstep=50; const double dx=1.; const double dt=0.1; -\end{lstlisting} -\end{frame} - -\begin{frame}[fragile] -\frametitle{MPI Example: Burgers} -\begin{lstlisting}[language=C] int main(int argc, char *argv[]) { blitz::Array un, unp; @@ -7850,12 +7716,6 @@ int periods[DIM], coords[DIM]; int neighbours[2]; MPI_Comm cartcomm; MPI_Status status; -\end{lstlisting} -\end{frame} - -\begin{frame}[fragile] -\frametitle{MPI Example: Burgers} -\begin{lstlisting}[language=C] //Initialize MPI MPI_Init(&argc,&argv); //Find out how many processes are available @@ -7878,12 +7738,6 @@ MPI_Comm_rank(cartcomm, &rank); MPI_Cart_coords(cartcomm, rank, 1, coords); //Find neighbours MPI_Cart_shift(cartcomm, 0, 1,&neighbours[LEFT],&neighbours[RIGHT]); -\end{lstlisting} -\end{frame} - -\begin{frame}[fragile] -\frametitle{MPI Example: Burgers} -\begin{lstlisting}[language=C] //This is a bit dirty, but it works. Somehow. //We divide to global coordinates of the computational //grid @@ -7905,12 +7759,6 @@ if(rank < remainder) { //this is the local set of global coordinates printf("rank= %d coords= %d localmin/max/size= %d %d %d \n",rank,coords[0], localmin, localmax, localsize); -\end{lstlisting} -\end{frame} - -\begin{frame}[fragile] -\frametitle{MPI Example: Burgers} -\begin{lstlisting}[language=C] //set the right size for all arrays //Blitz arrays can have arbitrary indices //so we don't have to introduce a different @@ -7923,12 +7771,6 @@ unp.reindexSelf(localindex); //the intialization depends on a global position! for (int i=localmin;i{ +\subsection{Structure of HDF5} \begin{center} - \pgfimage[width=0.9\textwidth]{hdf_organi} + \pgfimage[width=0.9\textwidth]{fig_chapter10/hdf_organi} \end{center} - } - \only<2>{ \begin{center} - \pgfimage[width=0.9\textwidth]{hdf_dataset} + \pgfimage[width=0.9\textwidth]{fig_chapter10/hdf_dataset} \end{center} - } -\end{frame} -\begin{frame} - \frametitle{Basic Functions} - \only<1>{ +\subsection{Basic Functions} \begin{center} - \pgfimage[width=0.9\textwidth]{hdf_basic} + \pgfimage[width=0.9\textwidth]{fig_chapter10/hdf_basic} \end{center} - } -\end{frame} -\begin{frame}[fragile] - \frametitle{Open a file} +\subsection{Open a file} \begin{lstlisting}[language=C] comm = MPI_COMM_WORLD; info = MPI_INFO_NULL; @@ -8108,10 +7897,8 @@ file_id = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, plist_id); H5Fclose(file_id); MPI_Finalize(); \end{lstlisting} -\end{frame} -\begin{frame}[fragile] - \frametitle{Create a dataset} +\subsection{Create a dataset} \begin{lstlisting}[language=C] file_id = H5Fcreate(...); @@ -8126,20 +7913,13 @@ H5Dclose(dset_id); // Close the file. H5Fclose(file_id); \end{lstlisting} -\end{frame} -\begin{frame} - \frametitle{Create a group} - \only<1>{ +\subsection{Create a group} \begin{center} - \pgfimage[width=0.9\textwidth]{hdf_group} + \pgfimage[width=0.9\textwidth]{fig_chapter10/hdf_group} \end{center} - } -\end{frame} - -\begin{frame}[fragile] - \frametitle{Create a group} +\subsection{Create a group} \begin{lstlisting}[language=C] hid_t file_id, group_id; ... @@ -8153,10 +7933,8 @@ H5P_DEFAULT, H5P_DEFAULT); status = H5Gclose (group_id); status = H5Fclose (file_id); \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Compiling HDF5} +\subsection{Compiling HDF5} Programs using HDF5 have to be linked with the HDF5 library\\ The library has to be compiled with parallel support \begin{lstlisting}[language=bash] @@ -8166,10 +7944,8 @@ fspanier@fsk-serval:~/tmp$ mpirun.openmpi -np 2 ./hdfexample CPU 0 of 2 CPU 1 of 2 \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{Inside HDF5} +\subsection{Inside HDF5} \begin{lstlisting}[language=bash] fspanier@fsk-serval:~/tmp$ h5ls test.hdf5 Timestep_0 Group @@ -8206,25 +7982,17 @@ GROUP "/" { } } \end{lstlisting} -\end{frame} -\chapter{Using the local cluster} +\section{Using the local cluster} -\begin{frame} - \frametitle{Storage spaces} - \only<1>{ +\subsection{Storage spaces} \begin{description} - \item[Home] -The home directory is living on the helio machines and is mainly meant as small storage with fallback solution. Home is exported through nfs4. -\item[Scratch] -The scratch filesystem is attached to fsk-caracal and exported from there via nfs4. It is split into /scratch/small and /scratch/large. -\item[BeeGFS] -BeeGFS is a new development in the field of cluster file systems. In this case the SSDs in the nodes are connected in one filesystem. This filesystem can be used from cluster nodes and serval/caracal. -\item[3Par] -The 3Par has been purchased by the ITC department and got into our hands somehow. It is in fact optimized for database access, but can also be utilized for very fast writing. The same limitation as for the BeeGFS apply: +\item[Home] The home directory is living on the helio machines and is mainly meant as small storage with fallback solution. Home is exported through nfs4. +\item[Scratch] The scratch filesystem is attached to fsk-caracal and exported from there via nfs4. It is split into /scratch/small and /scratch/large. +\item[BeeGFS] BeeGFS is a new development in the field of cluster file systems. In this case the SSDs in the nodes are connected in one filesystem. This filesystem can be used from cluster nodes and serval/caracal. +\item[3Par] The 3Par has been purchased by the ITC department and got into our hands somehow. It is in fact optimized for database access, but can also be utilized for very fast writing. The same limitation as for the BeeGFS apply: \end{description} -} -\only<2>{ + When to use what? \begin{itemize} \item Store sources and papers $\Rightarrow$ home @@ -8232,13 +8000,9 @@ When to use what? \item Massively-parallel simulation $\Rightarrow$ BeeGFS/3Par \item Storing large simulation results $\Rightarrow$ scratch \end{itemize} -} -\end{frame} +\subsection{Network and Services} -\begin{frame} - \frametitle{Network and Services} - \only<1>{ \begin{description} \item[PUKnet connection] Only fsk-serval, fsk-caracal, and the helio machines are connected directly to the PUKnet and can, therefore, be accessed from the office PCs. Since these machines offer all tools to start and stop jobs and also export the relevant filesystems, this is sufficient. As mentioned above, fsk-serval is also open to the outside: It is reachable via ssh. @@ -8248,20 +8012,13 @@ All cluster machines are part of an internal Ethernet network. The two main reas All machines are equipped with service network ports (IPMI, IlO and similar). This allows for performing most service tasks without entering the machine room. \item[Infiniband] The compute nodes, the head node and fsk-caracal can talk to each other via the low-latency, high-bandwidth Infiniband connection. This is done automatically for NFS and for MPI jobs. - \end{description} - } - \only<2>{ - \begin{description} \item[Kerberos] the cluster is secured via Kerberos providing safe authentication and encrypted data transmission \item[LDAP] user account information is stored in an LDAP database \item[NFS] cluster file systems are available via NFS4. This requires a Kerberos authenticated connection \end{description} - } -\end{frame} -\begin{frame}[fragile] - \frametitle{Software} +\subsection{Software} Two compilers are installed: \begin{itemize} \item GCC system 4.9 (gcc, gfortran, g++) @@ -8271,30 +8028,22 @@ For MPI programs the OpenMPI compilers are installed. They use the GCC compilers The cluster features a queueing system \emph{Torque} (a PBS like system) with a Maui scheduler. -\end{frame} - - -\begin{frame}[fragile] - \frametitle{Preparatory issues} +\subsection{Preparatory issues} You should start by copying your source code to the cluster's home directory with something like \begin{lstlisting}[language=bash] scp -r /path/to/source username@fsk-serval.puk.ac.za: \end{lstlisting} -\vspace{-10mm} + Then log into fsk-serval \begin{lstlisting}[language=bash] ssh username@fsk-serval.puk.ac.za \end{lstlisting} -\vspace{-10mm} It is recommended to use the gcc/gfortran compilers, if you want to use the Intel compilers instead, you have to source the shell variables \begin{lstlisting}[language=bash] source /opt/intel/composerxe/bin/compilervars.sh \end{lstlisting} -\vspace{-10mm} (for reasons of simplicity you should put that also into your .bashrc) -\end{frame} -\begin{frame}[fragile] - \frametitle{Preparatory issues} + You will have scratch space allocated already (either under \texttt{/scratch/small} or \texttt{/scratch/large}). Should it be reasonable to use the 3Par or beegfs, you can create a directory under \texttt{/scratch/beegfs} or \texttt{/scratch/3par-beegfs} yourself.\\ Since the queueing system has to submit jobs via ssh without asking for a password every time, you need to provide a ssh key. @@ -8304,12 +8053,8 @@ Since the queueing system has to submit jobs via ssh without asking for a passwo ssh-copy-id node-1 for i in `seq 1 34`; do ssh node-$i 'echo $HOSTNAME'; done \end{lstlisting} -\vspace{-10mm} Don't set any passphrase for the ssh key and answer all questions with 'yes'\footnote{It should not be necessary to log in to every node as we do it here, but the ssh implementation is indeed very picky}. After doing so you have logged into every node of the cluster and the queueing system can submit jobs to the nodes directly. -\end{frame} -\begin{frame}[fragile] - \frametitle{Preparatory issues} Next step \begin{itemize} \item find the optimal compiler settings @@ -8319,27 +8064,20 @@ Most compilers have more or less optimal automatic settings. for gcc this \begin{lstlisting}[language=bash] gcc -march=native -O3 \end{lstlisting} -\vspace{-10mm} and for the Intel compiler \begin{lstlisting}[language=bash] icc -xHost -O3 \end{lstlisting} -\vspace{-10mm} For the brave among you one may also use \begin{lstlisting}[language=bash] gcc -Ofast icc -fast \end{lstlisting} -\vspace{-10mm} These compiler settings work also for the compilers from the same set (gcc: g++, gfortran; icc: icpc, ifort). Should for some reason your code not work with these settings, you should check your code for not so obvious coding problems. -\end{frame} - - -\begin{frame}[fragile] -\frametitle{Job files in general} +\subsection{Job files in general} Jobs on the cluster are controlled by job files. These are in general shell script with extensions to control queueing system parameters. For complete examples see below. The following PBS parameters are important \begin{itemize} @@ -8352,11 +8090,9 @@ Jobs on the cluster are controlled by job files. These are in general shell scri \item \verb+#PBS -d+ defines the directory, where the executable resides \item \verb+#PBS -w+ defines the working directory \end{itemize} -\end{frame} -\begin{frame} -\frametitle{Single CPU jobs} -\only<1>{ +\subsubsection{Single CPU jobs} + \begin{itemize} \item the cluster is designed for large scale jobs, i.e., there is a large number of price-efficient CPUs with a very good interconnect. \item The single-core performance of most modern (Core i5/i7 Haswell etc.) desktop CPUs is better! @@ -8370,11 +8106,8 @@ Typical approach: \item Write a shell script producing job files for different parameters \item Submit the resulting job files \end{itemize} -} -\end{frame} -\begin{frame}[fragile] -\frametitle{Single CPU jobs} + \begin{lstlisting}[language=bash] #!/bin/bash for i in 1 2 4 8 16; do @@ -8397,10 +8130,8 @@ echo "echo 'Run complete!'" >> $filename done done \end{lstlisting} -\end{frame} -\begin{frame}[fragile] -\frametitle{OpenMP jobs} +\subsubsection{OpenMP jobs} OpenMP jobs are typically run on one node (really!), so 'nodes' has to be 1. 'ppn' can be any value from 1 to 16. Select the 'shmem' queue. The program can be run immediately, but '\verb+OMP_NUM_TASKS+' has to be set, otherwise all cores of the node will be used. \begin{lstlisting}[language=bash] @@ -8419,10 +8150,8 @@ export OMP_NUM_TASKS=$tasks \end{lstlisting} \vspace{-10mm} The wall time is set to 30 hours in this case. It is advisable to set a time which is more realistically to avoid zombie jobs blocking the cluster more than necessary (so set something like one hour more than your expected runtime). -\end{frame} -\begin{frame}[fragile] -\frametitle{Infiniband jobs} +\subsubsection{Infiniband jobs} Infiniband jobs are in some aspects different: \begin{itemize} @@ -8450,10 +8179,8 @@ mpirun -x var1 -x var2 -hostfile $PBS_NODEFILE -np $tasks \end{lstlisting} -\end{frame} -\begin{frame}[fragile] - \frametitle{Running a job} +\subsubsection{Running a job} \begin{itemize} \item \texttt{qsub} submits the job \item \texttt{qstat} shows the jobs run by the user @@ -8469,7 +8196,6 @@ Job id Name User Time Use S Queue fspanier@fsk-serval:/scratch/large/fspanier/burgers$ qdel 1478 \end{lstlisting} -\end{frame} \subsection{More cluster info} \begin{itemize} @@ -8524,7 +8250,7 @@ Total Jobs: 1 Active Jobs: 1 Idle Jobs: 0 Blocked Jobs: 0 \bibliographystyle{natdin} -\bibliography{./literatur.bib} +\bibliography{literatur} \end{document}