Install CUDA 10.2 with foam-extend-3.1 on CentOS 7 (64bit)

cd $FOAM_INSTALL_DIR/etc cp prefs.sh-EXAMPLE prefs.sh vi prefs.sh uncomment the CUDA-related parameters and point the real fold for CUDA_DIR set CUDA_ARCH=sm_75 like # System installed CUDA export CUDA_SYSTEM=1 export CUDA_DIR=/usr/local/cuda export CUDA_BIN_DIR=$CUDA_DIR/bin export CUDA_LIB_DIR=$CUDA_DIR/lib64 export CUDA_INCLUDE_DIR=$CUDA_DIR/include export CUDA_ARCH=sm_75 update the head Continue reading Install CUDA 10.2 with foam-extend-3.1 on CentOS 7 (64bit)

屏幕截图快捷键

Linux/Gnome 1. PrtSc 截取全屏,保存到 $HOME/Pictures 2. Alt + PrtSc 截取当前窗口,保存到 $HOME/PIctures 3. Shift + PrtSc 选取某一区域进行截图,保存到 $HOME/Pictures 4. Ctrl + PrtSc 截取全屏到剪贴板 5. Ctrl + Shift + PrtSc 截取某一区域到剪贴板 Windows 10 1. Win + PrtSc 截取全屏保存到 user/pictures/screenshots 2. PrtSc 截取全屏到剪贴板 Continue reading 屏幕截图快捷键