You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\item\alert{\texttt{/windows}} --- if on dual boot, Windows disks are commonly mounted here
724
724
\item In newest Linux distributions, most of \texttt{/bin}, \texttt{/etc}, \texttt{/lib}, \texttt{/lib64} and \texttt{/sbin} are mostly in \texttt{/usr} (original locations are just links)
725
725
\item Can be altered, modified
726
-
\item E.g. MetaCentrum has storage servers in various locations accessible from front ends and calculation nodes in \texttt{/storage}
726
+
\item E.g. MetaCentrum has storage servers in various locations accessible from frontends and calculation nodes in \texttt{/storage}
727
727
\item Usually, work only in your home, anywhere else modify files only if you are absolutely sure what you are doing
728
728
\item Normal user doesn't have permission to modify files outside his directory (with exception of plugged removable media, etc.)
729
729
\item Try \texttt{man hier} for details
@@ -4466,17 +4466,50 @@ \subsection{Information}
4466
4466
\end{itemize}
4467
4467
\end{frame}
4468
4468
4469
-
\begin{frame}[allowframebreaks]{Terminology and geography}
\item Cluster --- bunch of nodes in rack (special case storing nodes, use to contain also network switch, backup power,~\ldots{ } e.g. \href{https://sorbus.ibot.cas.cz/en/hw}{cluster in Průhonice}, \href{https://sorbus.ibot.cas.cz/cs/hw}{česky})
4474
+
\item Grid --- clusters distributed in various places, connected into single system by fast network (e.g. \href{https://www.metacentrum.cz/en/Sluzby/Grid/}{MetaCentrum}, \href{https://www.metacentrum.cz/cs/Sluzby/Grid/}{česky})
4475
+
\item Supercomputer --- extra powerful computer, nowadays mostly special cluster, e.g. \href{https://www.it4i.cz/}{IT4Innovations} in Ostrava
\item\href{https://metavo.metacentrum.cz/}{MetaCentrum clusters} are distributed in various Czech cities (and institutions)
4486
+
\item Clusters use to have (at least small) storage array (accessible via \texttt{/storage/\ldots})
4487
+
\item There are special \href{https://du.cesnet.cz/en/infrastruktura_ulozist/start}{archive storages} (\href{https://du.cesnet.cz/cs/infrastruktura_ulozist/start}{česky}) in Jihlava, Ostrava and Plzeň
\item Cluster --- bunch of nodes in rack (special case storing nodes, use to contain also network switch, backup power resource,~\ldots{ } e.g. \href{https://sorbus.ibot.cas.cz/en/hw}{cluster in Průhonice}, \href{https://sorbus.ibot.cas.cz/cs/hw}{česky})
4473
-
\item Grid --- clusters distributed in various places, but connected into single system by fast network (e.g. \href{https://www.metacentrum.cz/en/Sluzby/Grid/}{MetaCentrum grid}, \href{https://www.metacentrum.cz/cs/Sluzby/Grid/}{česky})
4474
-
\item Supercomputer --- extra powerful computer, nowadays mostly special cluster, e.g. \href{https://www.it4i.cz/}{IT4Innovations} in Ostrava
4493
+
\item Users have different quota on different arrays (depending on home organization etc.)
4494
+
\item There are 11 \href{https://wiki.metacentrum.cz/wiki/Frontend}{frontends} (\href{https://wiki.metacentrum.cz/wiki/Celni_uzel}{česky}) where user logs via SSH and prepare computing task for submission etc. (see further)
4495
+
\item Distributed topology might be bit confusing --- user has different home directory when logging to different frontends --- recommended is to use as few frontends and storages as possible
4496
+
\item Some special services (like \href{https://wiki.metacentrum.cz/wiki/OnDemand}{OnDemand}) start on particular storage (here \texttt{brno3})
4497
+
\item Generally, computing task loads data from selected storage and can start on any cluster
4498
+
\item Orientation is plenty of storages might be sometimes tricky --- ensure where you are and where your data are supposed to be
4475
4499
\end{itemize}
4476
4500
\end{frame}
4477
4501
4478
4502
\subsection{Usage}
4479
4503
4504
+
\begin{frame}{Basic workflow}
4505
+
\begin{center}
4506
+
\includegraphics[height=5.5cm]{grid_graphics.jpg}
4507
+
\end{center}
4508
+
\begin{flushright}
4509
+
From \href{https://wiki.metacentrum.cz/wiki/Beginners_guide}{Beginners guide} (\href{https://wiki.metacentrum.cz/wiki/Pruvodce_pro_zacatecniky}{česky})
4510
+
\end{flushright}
4511
+
\end{frame}
4512
+
4480
4513
\begin{frame}[fragile]{MetaCentrum usage}
4481
4514
\begin{itemize}
4482
4515
\item User can transfer data on one of \href{https://wiki.metacentrum.cz/wiki/Frontend}{frontends} (\href{https://wiki.metacentrum.cz/wiki/Celni_uzel}{česky}) (next slide; or data storage) by e.g. \texttt{scp} or \href{https://winscp.net/}{WinSCP} from Windows or \href{https://filezilla-project.org/}{FileZilla} from anywhere
@@ -4522,10 +4555,10 @@ \subsection{Tasks}
4522
4555
# Clean-up of SCRATCH (it is temporal directory created by server) - the
4523
4556
# commands will be launched on the end when the job is done
4524
4557
trap 'clean_scratch' TERM EXIT
4525
-
trap 'cp -a "$SCRATCHDIR" "$DATADIR"/ && clean_scratch' TERM
4558
+
trap 'cp -a "${SCRATCHDIR}" "${DATADIR}"/ && clean_scratch' TERM
4526
4559
# Change working directory - script goes to the directory where
4527
4560
# calculations are done
4528
-
cd "$SCRATCHDIR"/ || exit 1 # If it fails, exit script
4561
+
cd "${SCRATCHDIR}"/ || exit 1 # If it fails, exit script
4529
4562
# Prepare the task - copy all needed files from working directory into
4530
4563
# particular computer which will finally do the calculations
4531
4564
# Ends on following slide...
@@ -4534,8 +4567,8 @@ \subsection{Tasks}
4534
4567
4535
4568
\begin{frame}[fragile]{Basic skeleton of script running tasks II}
4536
4569
\begin{bashcode}
4537
-
# ...begins on previous slide
4538
-
cp -a "$DATADIR"/"$WORKDIR"/* "$SCRATCHDIR"/ || exit 1 # If it fails, exit
4570
+
# ...begins on previous slide; copy data - if it fails, exit
4571
+
cp -a "${DATADIR}"/"${WORKDIR}"/* "${SCRATCHDIR}"/ || exit 1
0 commit comments