Skip to content

Commit 1dc460a

Browse files
committed
Small updates of MetaCentrum chapter.
1 parent 6463b8b commit 1dc460a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

presentation/linux_bash_metacentrum_course.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4579,7 +4579,7 @@ \subsection{Usage}
45794579
\includegraphics[height=5.5cm]{grid_graphics.jpg}
45804580
\end{center}
45814581
\begin{flushright}
4582-
From \href{https://docs.metacentrum.cz/tutorials/}{Beginners guide}
4582+
From old beginners guide
45834583
\end{flushright}
45844584
\end{frame}
45854585
@@ -4644,8 +4644,8 @@ \subsection{Tasks}
46444644
# Prepare calculations - load required application modules
46454645
# See https://docs.metacentrum.cz/software/
46464646
# Every application module is loaded by "module add XXX"
4647-
module add parallel # In this (example) case GNU Parallel and MrBayes
4648-
module add mrbayes-3.2.6
4647+
module add parallel/20210922-gcc-10.2.1-iiyjqem # In this (example) case
4648+
module add mrbayes/3.2.7a # GNU Parallel and MrBayes
46494649
# Launch the analysis - calculate MrBayes for multiple files
46504650
# Note Parallel will distribute task among 8 CPU threads (-j 8), so that
46514651
# qsub must in this case contain select=1:ncpus=8 (see further)
@@ -4775,17 +4775,17 @@ \subsection{Tasks}
47754775
# From any MetaCentrum frontend login to respective node running the task
47764776
ssh exec_host # No need to specify user name; e.g. mandos9
47774777
# Go to SCRATCH directory
4778-
cd SCRATCHDIR # e.g. /scratch/USER/job_1234567.arien-pro.ics.muni.cz/
4778+
cd SCRATCHDIR # e.g. /scratch/USER/job_12345678.meta-pbs.metacentrum.cz/
47794779
# There are working data of currently running task...
47804780
# Check whatever you need...
47814781
\end{bashcode}
47824782
\end{frame}
47834783
47844784
\begin{frame}{Running R tasks on MetaCentrum}
47854785
\begin{itemize}
4786-
\item There are only some R packages, to get more create own package library and use it in scripts (see e.g. \texttt{/software/R/4.0.0/gcc/lib/R/library/})
4786+
\item There are only some R packages, to get more create own package library and use it in scripts (see e.g. \texttt{.libPaths()} within \texttt{R})
47874787
\item \alert{Be careful about paths!}
4788-
\item In the \texttt{metacentrum.sh} script load R \texttt{module add R-4.0.0-gcc} and start there R script as usually \texttt{R CMD BATCH script.r}
4788+
\item In the \texttt{metacentrum.sh} script load R, e.g. \texttt{module add r/4.1.3-gcc-10.2.1-6xt26dl} and start there R script as usually \texttt{R CMD BATCH script.r}
47894789
\end{itemize}
47904790
\begin{enumerate}
47914791
\item Login to selected front node via SSH
@@ -4840,6 +4840,7 @@ \subsection{Graphical connection}
48404840
\begin{frame}[fragile]{Graphical interactive task}
48414841
\begin{itemize}
48424842
\item See \url{https://docs.metacentrum.cz/software/graphical-access/}
4843+
\item Download and install \href{https://www.tightvnc.com/}{TightVNC} (Windows installer or Java Viewer)
48434844
\end{itemize}
48444845
\begin{bashcode}
48454846
screen # Secure we can log off in the meantime
@@ -4850,10 +4851,9 @@ \subsection{Graphical connection}
48504851
# After we get the interactive task, we are on new server
48514852
module add gui # We need to add GUI module
48524853
gui start --ssh # Start GUI (see above link for details)
4853-
gui info # Print information about running VNC sessions
4854+
gui info # Print information about running VNC sessions - use for TightVNC
48544855
\end{bashcode}
48554856
\begin{itemize}
4856-
\item Download and install \href{https://www.tightvnc.com/}{TightVNC} (Windows installer or Java Viewer)
48574857
\item Work as on normal Linux desktop (ensure to work in \texttt{\$SCRATCHDIR})\ldots
48584858
\item It provides limited amount of resources, not suitable for big tasks
48594859
\end{itemize}
@@ -4892,7 +4892,7 @@ \subsection{Archive data storage}
48924892
\item Users must carefully set permissions!
48934893
\begin{itemize}
48944894
\item Sharing is done by specific UNIX group
4895-
\item Users must set group ownership to particular group and permissions e.g. 770 for directories and 660 for files to avoid access of any other users
4895+
\item Users must set group ownership to particular group and permissions e.g. \texttt{770} for directories and \texttt{660} for files to avoid access of any other users
48964896
\item All members of the group must be able to manipulate the data
48974897
\end{itemize}
48984898
\end{itemize}

0 commit comments

Comments
 (0)