2024-10-29 21:58:16 +08:00
|
|
|
|
\documentclass[a4paper,12pt]{report}
|
|
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
|
\usepackage[UTF8]{ctex}
|
|
|
|
|
\usepackage{xcolor}
|
|
|
|
|
%\setmainfont{Noto Serif CJK SC}
|
|
|
|
|
%\setmainfont{FangSong}
|
|
|
|
|
\setmainfont{SimSun}
|
|
|
|
|
%\fontsize{16pt}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
% Title Page
|
|
|
|
|
\title{需要解决的问题}
|
|
|
|
|
\author{行走的芦苇}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
\maketitle
|
|
|
|
|
|
|
|
|
|
\begin{abstract}
|
2024-11-03 19:22:51 +08:00
|
|
|
|
我打算通过这本文档记录通过问题驱动的方式学习的历程。
|
2024-10-29 21:58:16 +08:00
|
|
|
|
\end{abstract}
|
|
|
|
|
|
|
|
|
|
\section{技术}
|
2024-12-13 16:56:13 +08:00
|
|
|
|
\subsection{如何下载cuda 12.4}
|
|
|
|
|
https://developer.nvidia.com/cuda-toolkit-archive 该网址是所有官方下载网址的入口
|
|
|
|
|
\subsection{qt5.15.14在linux环境编译}
|
|
|
|
|
问题的出处在于编译后SimpleView测试代码无法运行,显示缺少xcb插件。
|
2025-01-08 16:58:15 +08:00
|
|
|
|
|
|
|
|
|
\subsection{slurm使用}
|
|
|
|
|
\begin{itemize}
|
|
|
|
|
\item sacct:显示激活的或已完成的作业或作业步的记账
|
|
|
|
|
\item salloc:为需实时处理的作业分配资源
|
|
|
|
|
\item sattach:吸附到运行中的作业步的标准输入、输出或出错,通过吸附,使得有能力监控运行中的作业步的IO等。
|
|
|
|
|
\item sbatch:提交作业脚本使其运行
|
|
|
|
|
\item scancel:取消排除或运行中作业或作业步,还可用于发送任意信号到运行中的作业或作业步中的所有进程
|
|
|
|
|
\item scontrol:显示或设定slurm作业、队列、节点等状态
|
|
|
|
|
\item sinfo:显示队列或节点状态,具有非常多过滤、排序和格式化等选项
|
|
|
|
|
\item squeue:显示队列中的作业及作业步状态
|
|
|
|
|
\item srun:实时交互运行并行作业
|
|
|
|
|
\end{itemize}
|
|
|
|
|
节点操作:
|
|
|
|
|
\begin{verbatim}
|
|
|
|
|
scontrol update nodename=c0 state=drain reason=""
|
|
|
|
|
scontrol update nodename=c0 state=idle
|
|
|
|
|
scontrol update nodename=c0 state=down reason=""
|
|
|
|
|
scontrol update nodename=c0 state=resume
|
|
|
|
|
scontrol show partition
|
|
|
|
|
scontrol show job
|
|
|
|
|
scontrol show node
|
|
|
|
|
scontrol show config
|
|
|
|
|
scontrol reconfig
|
|
|
|
|
\end{verbatim}
|
|
|
|
|
用户操作:
|
|
|
|
|
\begin{verbatim}
|
|
|
|
|
sacctmgr show user
|
|
|
|
|
sacctmgr add user username DefaultAccount=accountname Qos=qosname
|
|
|
|
|
sacctmgr modify user username set Qos=qosname
|
|
|
|
|
sacctmgr delete user username
|
|
|
|
|
\end{verbatim}
|
|
|
|
|
多多软件站:www.ddooo.com\\
|
|
|
|
|
|
2024-12-13 16:56:13 +08:00
|
|
|
|
\section{}
|
2024-10-29 21:58:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\end{document}
|