Skip to content

Commit b05cab5

Browse files
committed
Removed unneeded TeX packages. Updated URLs.
1 parent 6cb92f0 commit b05cab5

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

presentation/linux_bash_metacentrum_course.tex

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
\documentclass[compress, ucs, xelatex, 11pt, xcolor=svgnames, aspectratio=169,
1+
\documentclass[compress, xelatex, 11pt, xcolor=svgnames, aspectratio=169,
22
hyperref={
33
bookmarks=true,
44
unicode=true,
@@ -15,7 +15,7 @@
1515
filecolor=NavyBlue, % Not in use?
1616
menucolor=DarkMagenta, % Not in use?
1717
urlcolor=DarkBlue, % Links with \href and \url
18-
pdftex},
18+
},
1919
url={hyphens, lowtilde} % Allow line breaks within URLs
2020
]{beamer}
2121

@@ -153,7 +153,7 @@ \subsection{Learning machine}
153153
\item If you do not have Linux installed, download and install VirtualBox from \url{https://www.virtualbox.org/}
154154
\item Download openSUSE Leap 15.3 Linux distribution for this course from \url{https://botany.natur.cuni.cz/zeisek/openSUSE_Leap_courses.ova} ($\sim$4.6~GB)
155155
\item Launch VirtualBox and go to menu \textbf{File | Import appliance\ldots} to import it. When done, launch it (\textbf{Start})
156-
\item See also \url{https://trapa.cz/en/node/128}
156+
\item See also \url{https://trapa.cz/en/vm-for-courses}
157157
\end{itemize}
158158
\includegraphics[height=6.5cm]{virtualbox.png}
159159
\end{multicols}
@@ -247,7 +247,7 @@ \subsection{What it is a~\enquote{UNIX}}
247247
\item Installation and management is for beginners usually harder than Linux, everything must be done manually, not so common as Linux anymore
248248
\item E.g. \href{https://www.freebsd.org/}{FreeBSD}, \href{https://www.dragonflybsd.org/}{DragonFly BSD}, \href{https://www.openbsd.org/}{OpenBSD}, \href{https://www.truenas.com/}{TrueNAS} (for storage servers),~\ldots
249249
\end{itemize}
250-
\item \href{https://en.wikipedia.org/wiki/Solaris_(operating_system)}{Solaris} --- commercial, not very common
250+
\item \href{https://en.wikipedia.org/wiki/Oracle_Solaris}{Solaris} --- commercial, not very common
251251
\begin{itemize}
252252
\item Mainly special servers, paid
253253
\item \href{https://distrowatch.com/search.php?ostype=Solaris}{Several community-based variants} freely available
@@ -391,7 +391,7 @@ \subsection{Choose one}
391391
\item \href{https://distrowatch.com/search.php?package=RPM}{Red Hat (RPM) based}
392392
\begin{itemize}
393393
\item \href{https://www.redhat.com/}{Red Hat} --- probably the most common commercial
394-
\item \href{https://getfedora.org/}{Fedora} --- \enquote{playground} for Red Hat --- very experimental
394+
\item \href{https://fedoraproject.org/}{Fedora} --- \enquote{playground} for Red Hat --- very experimental
395395
\item \href{https://www.centos.org/}{Centos} --- Clone of Red Hat
396396
\item \href{https://www.opensuse.org/}{openSUSE} --- SUSE is second largest Linux company, openSUSE is community distribution (free) companion of SUSE Linux Enterprise
397397
\item \href{https://www.mageia.org/}{Mageia}, \href{https://www.pclinuxos.com/}{PCLinuxOS},~\ldots
@@ -2634,7 +2634,7 @@ \section{Text}
26342634
\item \href{https://www.gnu.org/software/emacs/}{GNU Emacs}
26352635
\item \href{https://www.geany.org/}{Geany}
26362636
\item \href{https://bluefish.openoffice.nl/}{Bluefish}
2637-
\item \href{https://wiki.gnome.org/Apps/Gedit}{Gedit}
2637+
\item \href{https://gedit-technology.github.io/apps/gedit/}{Gedit}
26382638
\item \href{https://notepad-plus-plus.org/}{Notepad++}
26392639
\item \href{https://www.sublimetext.com/}{Sublime}
26402640
\item \href{https://code.visualstudio.com/}{VS Code}
@@ -3195,7 +3195,7 @@ \subsection{Editors}
31953195
\end{itemize}
31963196
\item \textbf{Emacs} use huge number of commands with \texttt{Ctrl} key (basics on next slide)
31973197
\begin{itemize}
3198-
\item See \url{https://www.gnu.org/software/emacs/tour/}, \url{https://tuhdo.github.io/emacs-tutor.html} and \url{http://www.jesshamrick.com/2012/09/10/absolute-beginners-guide-to-emacs/}
3198+
\item See \url{https://www.gnu.org/software/emacs/tour/}, \url{https://tuhdo.github.io/emacs-tutor.html} and \url{https://systemcrafters.net/emacs-essentials/absolute-beginners-guide-to-emacs/}
31993199
\end{itemize}
32003200
\item The most common (but very complex and specific) is \textbf{Vim}
32013201
\begin{itemize}
@@ -3953,7 +3953,7 @@ \subsection{Branching the code}
39533953
39543954
\begin{frame}[fragile]{Selecting version of RAxML according the CPU type I} %FIXME Fix wrong syntax highlight
39553955
\begin{itemize}
3956-
\item \href{https://github.com/stamatak/standard-RAxML}{RAxML} can take advantage of modern CPUs to highly speed up calculations, with or without parallelization --- every version has separated binary, user must select, see \href{https://github.com/stamatak/standard-RAxML/blob/master/README}{README}
3956+
\item \href{https://github.com/stamatak/standard-RAxML}{RAxML} can take advantage of modern CPUs to highly speed up calculations, with or without parallelization --- every version has separated binary, user must select, see \href{https://github.com/stamatak/standard-RAxML/blob/master/README.md}{README}
39573957
\item After compilation, the script can select e.g. on remote server appropriate version
39583958
\item RAxML binaries must be in \texttt{\$PATH}
39593959
\item See \texttt{raxml\_if.sh} for whole script
@@ -4316,7 +4316,7 @@ \subsection{Compilation}
43164316
\begin{frame}[fragile]{Compilation of RAxML}
43174317
\begin{itemize}
43184318
\item Available from \url{https://github.com/stamatak/standard-RAxML}
4319-
\item Before compilation check \href{https://github.com/stamatak/standard-RAxML/blob/master/README}{README}
4319+
\item Before compilation check \href{https://github.com/stamatak/standard-RAxML/blob/master/README.md}{README}
43204320
\item This example does not require to run \texttt{make install}, it does not have extra dependencies for compilation, it requires specifying of particular source file by \texttt{make~-f} (there are multiple \texttt{GCC} files, no one main)
43214321
\end{itemize}
43224322
\begin{bashcode}
@@ -4438,7 +4438,7 @@ \subsection{Scientific applications}
44384438
\end{itemize}
44394439
\item There are projects creating repositories with custom management system providing (among others) plenty of scientific applications
44404440
\begin{itemize}
4441-
\item Probably most known is \href{https://conda.io/}{Conda}
4441+
\item Probably most known is \href{https://docs.conda.io/}{Conda}
44424442
\item \href{https://docs.brew.sh/Homebrew-on-Linux}{Homebrew on Linux} is derived from macOS Homebrew, works also on WSL
44434443
\end{itemize}
44444444
\item Authors sometimes provide on homepages RPM/DEB/precompiled Java binaries/\ldots{ }--- check them first
@@ -4494,13 +4494,16 @@ \subsection{Information}
44944494
\end{itemize}
44954495
\item Information about data storage \url{https://du.cesnet.cz/en/start} (\href{https://du.cesnet.cz/cs/start}{česky}) contains detailed usage instructions
44964496
\item Information about MetaCentrum \url{https://www.metacentrum.cz/en/} (\href{https://www.metacentrum.cz/cs/}{česky}) and wiki \url{https://wiki.metacentrum.cz/wiki/Main_Page} (\href{https://wiki.metacentrum.cz/wiki/Hlavn\%C3\%AD_strana}{česky}) (main information for users containing all needed documentation)
4497+
\begin{itemize}
4498+
\item The documentation is being moved into \url{https://docs.metacentrum.cz/}
4499+
\end{itemize}
44974500
\item Information about MetaCloud \url{https://wiki.metacentrum.cz/wiki/Kategorie:Clouds}
4498-
\item Also available is Galaxy \url{https://galaxy.metacentrum.cz/galaxy/} (same login as to MetaCentrum) --- web based bioinformatics framework (more information at \href{https://wiki.metacentrum.cz/wiki/Galaxy}{wiki})
4501+
\item Also available is Galaxy \url{https://usegalaxy.cz/} (same login as to MetaCentrum) --- web based bioinformatics framework (more information at \href{https://docs.metacentrum.cz/related/galaxy/}{documentation})
44994502
\item Current state and usage of resources is available at \url{https://metavo.metacentrum.cz/en/} (\href{https://metavo.metacentrum.cz/cs/}{česky})
45004503
\item Manage your user account at \url{http://metavo.metacentrum.cz/en/myaccount/} (\href{https://metavo.metacentrum.cz/cs/myaccount/}{česky})
45014504
\item Personal view on actual resources and running tasks is at \url{https://metavo.metacentrum.cz/pbsmon2/person}
4502-
\item List of available applications \url{https://wiki.metacentrum.cz/wiki/Kategorie:Applications}
4503-
\item MetaCentrum has 11~\href{https://wiki.metacentrum.cz/wiki/Frontend}{frontends} where users log and thousands of computers doing the calculations --- they are not accessed directly to run task
4505+
\item List of available applications \url{https://docs.metacentrum.cz/software/}
4506+
\item MetaCentrum has 11~\href{https://docs.metacentrum.cz/computing/frontends/}{frontends} where users log and thousands of computers doing the calculations --- they are not accessed directly to run task
45044507
\item Most of computers are running \href{https://www.debian.org/}{Debian GNU/Linux}
45054508
\begin{itemize}
45064509
\item Basic usage as with any other Linux server --- SSH \& command line\ldots
@@ -4534,9 +4537,9 @@ \subsection{Information}
45344537
\end{center}
45354538
\begin{itemize}
45364539
\item Users have different quota on different arrays (depending on home organization etc.)
4537-
\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)
4540+
\item There are 11 \href{https://docs.metacentrum.cz/computing/frontends/}{frontends} where user logs via SSH and prepare computing task for submission etc. (see further)
45384541
\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
4539-
\item Some special services (like \href{https://wiki.metacentrum.cz/wiki/OnDemand}{OnDemand}) start on particular storage (here \texttt{brno3})
4542+
\item Some special services (like \href{https://docs.metacentrum.cz/software/ondemand/}{OnDemand}) start on particular storage (here \texttt{brno3})
45404543
\item Generally, computing task loads data from selected storage and can start on any cluster
45414544
\item Orientation is plenty of storages might be sometimes tricky --- ensure where you are and where your data are supposed to be
45424545
\begin{itemize}
@@ -4552,14 +4555,14 @@ \subsection{Usage}
45524555
\includegraphics[height=5.5cm]{grid_graphics.jpg}
45534556
\end{center}
45544557
\begin{flushright}
4555-
From \href{https://wiki.metacentrum.cz/wiki/Beginners_guide}{Beginners guide} (\href{https://wiki.metacentrum.cz/wiki/Pruvodce_pro_zacatecniky}{česky})
4558+
From \href{https://docs.metacentrum.cz/tutorials/}{Beginners guide}
45564559
\end{flushright}
45574560
\end{frame}
45584561
45594562
\begin{frame}[fragile]{MetaCentrum usage}
45604563
\begin{enumerate}
4561-
\item Transfer data into one of \href{https://wiki.metacentrum.cz/wiki/Working_with_data}{storages} (\href{https://wiki.metacentrum.cz/wiki/Prace_s_daty}{česky}) by e.g. \texttt{scp} from command line, \href{https://winscp.net/}{WinSCP} from Windows or \href{https://filezilla-project.org/}{FileZilla} from any OS
4562-
\item Connect via SSH to selected \href{https://wiki.metacentrum.cz/wiki/Frontend}{frontend} (\href{https://wiki.metacentrum.cz/wiki/Celni_uzel}{česky}). Same credentials are used for all frontends, for SSH login as well as file transmissions
4564+
\item Transfer data into one of \href{https://docs.metacentrum.cz/data/}{storages} by e.g. \texttt{scp} from command line, \href{https://winscp.net/}{WinSCP} from Windows or \href{https://filezilla-project.org/}{FileZilla} from any OS
4565+
\item Connect via SSH to selected \href{https://docs.metacentrum.cz/computing/frontends/}{frontend}. Same credentials are used for all frontends, for SSH login as well as file transmissions
45634566
\item In home directory on the storage (accessed via frontend) prepare all needed data and non-interactive script to do the calculations
45644567
\item Submit job using \texttt{qsub}. Tasks are not launched immediately, but submitted into queue and system decides when it will be launched
45654568
\item Monitor job progress. Check results. Etc\ldots
@@ -4576,7 +4579,7 @@ \subsection{Usage}
45764579
\begin{multicols}{2}
45774580
\begin{itemize}
45784581
\item Graphical applications: e.g. \href{https://filezilla-project.org/}{FileZilla} or most of Linux file managers
4579-
\item Protocol is SSH/SSH2/SFTP/SCP, port 22, server is selected \href{https://wiki.metacentrum.cz/wiki/NFS4_Servery}{storage} address --- if possible, select any and keep using it
4582+
\item Protocol is SSH/SSH2/SFTP/SCP, port 22, server is selected \href{https://docs.metacentrum.cz/snippets/storages-direct-ssh-table/}{storage} address --- if possible, select any and keep using it
45804583
\item All servers (storages, frontends, computing nodes) are accessible under domain \texttt{*.metacentrum.cz} --- e.g. \texttt{tarkil.grid.cesnet.cz} is same as \texttt{tarkil.metacentrum.cz}
45814584
\item See slide \ref{transfers} and following to command-line transfers of files
45824585
\end{itemize}
@@ -4615,7 +4618,7 @@ \subsection{Tasks}
46154618
# ...begins on previous slide; copy data - if it fails, exit
46164619
cp -a "${DATADIR}"/"${WORKDIR}"/* "${SCRATCHDIR}"/ || exit 1
46174620
# Prepare calculations - load required application modules
4618-
# See https://wiki.metacentrum.cz/wiki/Kategorie:Applications
4621+
# See https://docs.metacentrum.cz/software/
46194622
# Every application module is loaded by "module add XXX"
46204623
module add parallel # In this (example) case GNU Parallel and MrBayes
46214624
module add mrbayes-3.2.6
@@ -4636,7 +4639,7 @@ \subsection{Tasks}
46364639
46374640
\begin{frame}[fragile]{Launching of tasks}
46384641
\begin{itemize}
4639-
\item See \href{https://wiki.metacentrum.cz/wiki/Beginners_guide}{beginners guide} (\href{https://wiki.metacentrum.cz/wiki/Pruvodce_pro_zacatecniky}{česky}) and \href{https://wiki.metacentrum.cz/wiki/Categorized_list_of_topics}{list of topics} (\href{https://wiki.metacentrum.cz/wiki/Rozcestnik}{česky})
4642+
\item See \url{https://docs.metacentrum.cz/}
46404643
\item Personal view \url{https://metavo.metacentrum.cz/pbsmon2/person} has nice overview of available resources and tasks and allows comfortable construction of submission command
46414644
\end{itemize}
46424645
\vfill
@@ -4658,7 +4661,7 @@ \subsection{Tasks}
46584661
\begin{frame}[fragile]{Key MetaCentrum commands}
46594662
\begin{itemize}
46604663
\item MetaCentrum is \enquote{just} normal Linux server --- work there as on any other Linux system
4661-
\item Command \texttt{module} loads/unloads selected \href{https://wiki.metacentrum.cz/wiki/Kategorie:Applications}{application}
4664+
\item Command \texttt{module} loads/unloads selected \href{https://docs.metacentrum.cz/software/}{application}
46624665
\item Tasks (BASH scripts) are submitted for computing by \texttt{qsub} --- the script must copy the data into \texttt{\$SCRATCHDIR} and do all calculations there
46634666
\begin{itemize}
46644667
\item It has plenty of options how to specify requirements (see next slide and \href{https://wiki.metacentrum.cz/wiki/About_scheduling_system}{help})
@@ -4697,7 +4700,7 @@ \subsection{Tasks}
46974700
\item If using more physical machines, ensure correct settings of e.g. MPI (see documentation for respective software you are using)
46984701
\end{itemize}
46994702
\item If requesting e-mails (e.g. \texttt{-m abe} to get mail about abort, beginning and exit of the task) and submitting plenty of tasks by some script, it can result in plenty of mails\ldots
4700-
\item Every user has certain \href{https://metavo.metacentrum.cz/pbsmon2/users/}{priority} increased by \href{https://wiki.metacentrum.cz/wiki/Usage_rules/Acknowledgement}{acknowledgments} (\textbf{it's mandatory to acknowledge MetaCentrum when using it}) in publications to MetaCentrum, and lowered by intensive usage of the service (the usage is calculated from past month)
4703+
\item Every user has certain \href{https://metavo.metacentrum.cz/pbsmon2/users/}{priority} increased by \href{https://docs.metacentrum.cz/access/terms/\#acknowledgements-and-publications}{acknowledgments} (\textbf{it's mandatory to acknowledge MetaCentrum when using it}) in publications to MetaCentrum, and lowered by intensive usage of the service (the usage is calculated from past month)
47014704
\item After submission of the task, check in \href{https://metavo.metacentrum.cz/pbsmon2/queues/jobsQueued}{the queue} in which state it is --- sometimes it can't start because of impossible combination of requested resources or so
47024705
\item User can \href{https://metavo.metacentrum.cz/pbsmon2/nodes/physical}{check load of machines}
47034706
\item For more options read \url{https://wiki.metacentrum.cz/wiki/About_scheduling_system}
@@ -4718,7 +4721,7 @@ \subsection{Tasks}
47184721
\end{itemize}
47194722
\item Not all required applications are correctly loaded
47204723
\begin{itemize}
4721-
\item Check \href{https://wiki.metacentrum.cz/wiki/Kategorie:Applications}{wiki} and load all needed applications
4724+
\item Check \href{https://docs.metacentrum.cz/software/}{wiki} and load all needed applications
47224725
\item Names of binaries are sometimes little bit different --- contain names of versions, etc.
47234726
\end{itemize}
47244727
\item Estimation of time needed to run the task
@@ -4812,7 +4815,7 @@ \subsection{Graphical connection}
48124815
48134816
\begin{frame}[fragile]{Graphical interactive task}
48144817
\begin{itemize}
4815-
\item See \url{https://wiki.metacentrum.cz/wiki/Remote_desktop}
4818+
\item See \url{https://docs.metacentrum.cz/software/graphical-access/}
48164819
\end{itemize}
48174820
\begin{bashcode}
48184821
screen # Secure we can log off in the meantime
@@ -4885,7 +4888,7 @@ \subsection{More services}
48854888
\begin{frame}{OnDemand}{Applications in web browser}
48864889
\begin{itemize}
48874890
\item It allows to run selected interactive applications in web browser
4888-
\item See \url{https://wiki.metacentrum.cz/wiki/OnDemand} and \url{https://ondemand.cerit-sc.cz/}
4891+
\item See \url{https://docs.metacentrum.cz/software/ondemand/} and \url{https://ondemand.cerit-sc.cz/}
48894892
\item Applications start in \texttt{/storage/brno3-cerit/home/\$USER/} --- ensure to have everything needed there
48904893
\end{itemize}
48914894
\begin{center}
@@ -4902,7 +4905,7 @@ \subsection{More services}
49024905
\begin{itemize}
49034906
\item Data are in \texttt{/storage/brno2/home/USER/}
49044907
\end{itemize}
4905-
\item \href{https://wiki.metacentrum.cz/wiki/Jupyter_notebook}{Available} also as part of OnDemand (previous slide), or bit experimental \href{https://hub.cerit-sc.cz/}{CERIT hub}, which allows to select custom storage and also custom docker image (see \href{https://docs.cerit.io/docs/jupyterhub.html}{documentation})
4908+
\item \href{https://docs.metacentrum.cz/related/jupyter/}{Available} also as part of OnDemand (previous slide), or bit experimental \href{https://hub.cerit-sc.cz/}{CERIT hub}, which allows to select custom storage and also custom docker image (see \href{https://docs.cerit.io/docs/jupyterhub.html}{documentation})
49064909
\end{itemize}
49074910
\begin{center}
49084911
\includegraphics[height=6.5cm]{jupyter.png}
@@ -5295,10 +5298,10 @@ \subsection{Resources}
52955298
52965299
\begin{frame}{Fedora}
52975300
\begin{itemize}
5298-
\item Homepage \url{https://getfedora.org/}
5301+
\item Homepage \url{https://fedoraproject.org/}
52995302
\item Communication and help overview \url{https://fedoraproject.org/wiki/Communicating_and_getting_help}
53005303
\item Wiki \url{https://fedoraproject.org/wiki/Fedora_Project_Wiki}
5301-
\item Official forum \url{https://ask.fedoraproject.org/}
5304+
\item Official forum \url{https://discussion.fedoraproject.org/}
53025305
\item Documentation \url{https://docs.fedoraproject.org/}
53035306
\item Community forum \url{https://fedoraforum.org/}
53045307
\end{itemize}
@@ -5313,10 +5316,10 @@ \subsection{Resources}
53135316
\end{itemize}
53145317
\item KDE \url{https://kde.org/}
53155318
\begin{itemize}
5316-
\item Forum \url{https://forum.kde.org/}
5319+
\item Forum \url{https://discuss.kde.org/}
53175320
\item UserBase wiki \url{https://userbase.kde.org/}
53185321
\item Application store \url{https://store.kde.org/}
5319-
\item KDE for education \url{https://edu.kde.org/}
5322+
\item KDE for education \url{https://apps.kde.org/categories/education/}
53205323
\item Blogs \url{https://planet.kde.org/}
53215324
\end{itemize}
53225325
\item XFCE \url{https://xfce.org/}

0 commit comments

Comments
 (0)