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 Allow usage of regular expressions and globing patterns
3921
-
\item Word splitting is prevented --- \texttt{\$STRINGVAR} can contain spaces
3921
+
\item Word splitting is prevented --- \texttt{\textbraceleft\$STRINGVAR} can contain spaces
3922
3922
\item Expanding file names --- \texttt{if [[ -a *.sh ]]} (variant with only one bracket doesn't work when there are multiple sh files)
3923
3923
\item More detailed test, e.g. \texttt{if [[ \$num -eq 3 \&\&"\$\textbraceleft STRINGVAR\textbraceright " == XXX ]]\ldots}
3924
3924
\end{itemize}
@@ -4170,7 +4170,7 @@ \subsection{Packages}
4170
4170
\item And many more\ldots
4171
4171
\item All do same task --- as soon as user master one, others are equally simple
4172
4172
\end{itemize}
4173
-
\item Distributions use to provide convenient simple update applet notifying about awaiting updates
4173
+
\item Distributions use to provide convenient update applet notifying about awaiting updates
4174
4174
\item There use to be web services to look for packages, also from other sources --- \href{https://software.opensuse.org/explore}{openSUSE}, \href{https://www.debian.org/distrib/packages\#search_packages}{Debian}, \href{https://packages.ubuntu.com/}{Ubuntu} (+ \href{https://launchpad.net/ubuntu/+search}{Launchpad} and \href{https://launchpad.net/ubuntu/+ppas}{PPAs}), \href{https://packages.fedoraproject.org/}{Fedora},~\ldots
4175
4175
\item The task is always same, the exact work-flow and commands more or less differ among distributions\ldots
4176
4176
\item Tools like Android Google Play, Apple Store or Windows Store are inspired from Linux (but terribly simplified)\ldots
@@ -4183,7 +4183,7 @@ \subsection{Packages}
4183
4183
4184
4184
\begin{frame}[allowframebreaks]{Package management in command line in openSUSE and SLE (basic commands)}
4185
4185
\begin{itemize}
4186
-
\item Root password is required: use \texttt{sudo\ldots} or \texttt{su~-}
4186
+
\item Root password is required: use \texttt{sudo\ldots} or \texttt{su~-}
4187
4187
\item Package name \texttt{*.rpm}
4188
4188
\item\texttt{zypper in \textit{package}} --- install \textit{package}
\item\texttt{dpkg-*}, \texttt{apt-*} commands for other tasks
4224
-
\item\texttt{aptitude} is used in similar way as \texttt{apt} (e.g. \texttt{aptitude install \textit{package}},~\ldots)
4224
+
\item\texttt{aptitude} is used in similar way as \texttt{apt} (e.g. \texttt{aptitude install \textit{package}},~\ldots) or as interactive tool (just run \texttt{aptitude})
4225
4225
\item Similar tasks can be done with \texttt{apt}, \texttt{apt-get}, or \texttt{aptitude}
\item Some software is distributed only as source code (e.g. downloaded from GitHub) written in languages like C or C++ --- user has to compile it to get binary executable
4280
+
\item Some software is distributed only as source code (e.g. downloaded from GitHub) written in languages like C or C++ --- user has to \textit{compile} it to get working binary executable
4281
4281
\item Compilation creates binary specific for particular operating system and hardware platform --- can be tuned for optimal performance
4282
4282
\item Interpreted languages like Bash, Perl, Python or Java don't have to be compiled (but it is possible) --- they need their interpreter to run, relative easily portable among hardware platforms and OS
4283
4283
\item Applications requiring compilation usually have good instructions
@@ -4490,7 +4490,7 @@ \subsection{Information}
4490
4490
\item To use MetaCentrum fill registration form \url{https://metavo.metacentrum.cz/en/application/form} (\href{https://metavo.metacentrum.cz/cs/application/}{česky})
4491
4491
\item To use data storage fill registration form \url{https://einfra.cesnet.cz/perun-registrar-fed/?vo=storage}
4492
4492
\item After registration for MetaCentrum, user can join MetaCloud via \url{https://perun.metacentrum.cz/fed/registrar/?vo=meta&group=metacloud}
4493
-
\itemUsers not having access to \href{https://www.eduid.cz/en/index}{EduID} (\href{https://www.eduid.cz/cs/index}{česky}) have to register first at \href{https://www.eduid.cz/cs/hostel}{HostelID} (only in Czech)
4493
+
\itemLogin is using \href{https://www.eduid.cz/en/index}{EduID} (\href{https://www.eduid.cz/cs/index}{česky})
4494
4494
\end{itemize}
4495
4495
\item Information about data storage \url{https://du.cesnet.cz/en/start} (\href{https://du.cesnet.cz/cs/start}{česky}) contains detailed usage instructions
4496
4496
\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)
\item Node (computing server) --- single computer, worker finally doing your computational job
4516
4516
\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})
4517
4517
\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})
4518
4518
\item Supercomputer --- extra powerful computer, nowadays mostly special cluster, e.g. \href{https://www.it4i.cz/}{IT4Innovations} in Ostrava
@@ -4539,6 +4539,9 @@ \subsection{Information}
4539
4539
\item Some special services (like \href{https://wiki.metacentrum.cz/wiki/OnDemand}{OnDemand}) start on particular storage (here \texttt{brno3})
4540
4540
\item Generally, computing task loads data from selected storage and can start on any cluster
4541
4541
\item Orientation is plenty of storages might be sometimes tricky --- ensure where you are and where your data are supposed to be
4542
+
\begin{itemize}
4543
+
\item Preferably use single frontend and storage to avoid confusions and issues with paths
4544
+
\end{itemize}
4542
4545
\end{itemize}
4543
4546
\end{frame}
4544
4547
@@ -4556,7 +4559,7 @@ \subsection{Usage}
4556
4559
\begin{frame}[fragile]{MetaCentrum usage}
4557
4560
\begin{enumerate}
4558
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
4559
-
\item Connect via SSH to select\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
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
4560
4563
\item In home directory on the storage (accessed via frontend) prepare all needed data and non-interactive script to do the calculations
4561
4564
\item Submit job using \texttt{qsub}. Tasks are not launched immediately, but submitted into queue and system decides when it will be launched
DATADIR="/storage/XXX/home/$LOGNAME" # Or other storage
4597
+
DATADIR="/storage/XXX/home/${LOGNAME}" # Or other storage
4595
4598
# There is e.g. directory /storage/praha1/home/gunnera/my_data_dir
4596
4599
# containing all the data needed for calculations
4597
4600
# Clean-up of SCRATCH (it is temporal directory created by server) - the
@@ -4872,8 +4875,8 @@ \subsection{Archive data storage}
4872
4875
chgrp -R XXX /tape_tape/VO_XXX 2>/dev/null
4873
4876
# ("-R" to modify also subdirectories; "2>/dev/null" to discard errors)
4874
4877
# Set correct permissions to directories and files
4875
-
find /tape_tape/VO_XXX -type d -exec chmod 770 {}\; 2>/dev/null
4876
-
find /tape_tape/VO_XXX -type f -exec chmod 660 {}\; 2>/dev/null
4878
+
find /tape_tape/VO_XXX -type d -exec chmod 770 '{}'\; 2>/dev/null
4879
+
find /tape_tape/VO_XXX -type f -exec chmod 660 '{}'\; 2>/dev/null
4877
4880
\end{bashcode}
4878
4881
\end{frame}
4879
4882
@@ -4939,7 +4942,7 @@ \subsection{Git principle}
4939
4942
\begin{frame}[allowframebreaks]{Git and version control}
4940
4943
\begin{itemize}
4941
4944
\item\href{https://git-scm.com/}{Git} is \href{https://en.wikipedia.org/wiki/Version_control}{version controlling} (\href{https://cs.wikipedia.org/wiki/Verzov\%C3\%A1n\%C3\%AD}{česky}) system (nowadays the most common) --- it traces changes among all versions --- absolutely crucial for any software development
4942
-
\item Older (nowadays not so common) version controlling systems is Subversion (SVN), there are many more (Bazaar, Mercurial,~\ldots)
4945
+
\item Older (nowadays not so common) version controlling systems is Subversion (SVN); there are many more (Bazaar, Mercurial,~\ldots)
4943
4946
\item Probably the best textbook for Git is \href{https://git-scm.com/book/en/v2}{Chacon's Pro Git}
4944
4947
\begin{itemize}
4945
4948
\item Dostupná i~\href{https://git-scm.com/book/cs/v2}{česky} (včetně \href{https://knihy.nic.cz/\#ProGit}{prvního vydání})
@@ -4995,7 +4998,7 @@ \subsection{Git principle}
4995
4998
\item Staging (changes awaiting to be pushed to the repository)
4996
4999
\item Git repository (remote/local)
4997
5000
\end{enumerate}
4998
-
\item Everyone has whole repository and history --- very robust
5001
+
\item Everyone has whole repository and history (it's \enquote{distributed}) --- very robust
4999
5002
\item Flexible branches
5000
5003
\begin{itemize}
5001
5004
\item Very convenient
@@ -5106,7 +5109,7 @@ \subsection{}
5106
5109
5107
5110
\begin{frame}{Git tasks}
5108
5111
\begin{enumerate}
5109
-
\item Clone over SSH repository \texttt{[email protected]:/home/dadaism} (use your credentials on the testing server) and go to \texttt{dadaism} directory.
5112
+
\item Clone over SSH repository \texttt{[email protected]:/srv/dadaism} (use your credentials on the testing server) and go to \texttt{dadaism} directory.
5110
5113
\item Add some text files, edit existing text files. Do not add images or another non-text files, do not add large files.
5111
5114
\item Push your changes back to the repository.
5112
5115
\item Fetch changes done by others.
@@ -5217,7 +5220,7 @@ \subsection{Resources}
5217
5220
\begin{itemize}
5218
5221
\item As soon as you don't pay for support, you can't blame anyone for lack of responses
5219
5222
\item Most of software we use to process our data is provided under \enquote{best effort}, without warranty\ldots
5220
-
\item Plenty of scientific software is not written by professional programmers, authors often do not foresee everything what could happen and they could have troubles wehn fixing reported issues\ldots
5223
+
\item Plenty of scientific software is not written by professional programmers, authors often do not foresee everything what could happen and they could have troubles when fixing reported issues\ldots
5221
5224
\item There are plenty of reasons some software doesn't work --- usage/data author didn't expect, unsupported version of operating system, author's mistake, user's mistake, unexpected interaction with another software,~\ldots
5222
5225
\item Authors wish their software to be useful --- constructive feedback, reporting bugs and wishes is welcomed, but it must be provided in the way useful for the developer
0 commit comments