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 屏幕截图快捷键

VMware Workstation Pro/Player 15.5.1 on Linux of Kernrel 5.x

安装完 VMware 主程序后,不能直接使用。会出现 vmnet vmmon 编译失败的提示。因此,需要打补丁。如下: 到这里下载: https://github.com/mkubecek/vmware-host-modules/tree/workstation-15.5.1 下载后,编译及安装 make sudo make install 然后就可以使用了。 参考: 1. http://rglinuxtech.com/?p=2669    Send article as PDF