
Linux
文章平均质量分 64
vanderong
从零开始
展开
-
Linux源码阅读
本学期boss讲授Linux内核,准备跟着进度入门一下。首先说下参考书。主要参考书:Linux内核设计与实现 Robert Love深入理解Linux内核个人觉得还可以结合看下Professional Linux Kernel Architecture(by Wolfgang Mauerer)深入那本是针对2.6.11版本源码,后一本是针原创 2010-03-27 15:59:00 · 667 阅读 · 0 评论 -
Freq.Mem.Network Check
A. 3 Scripts as followsa. check frequency & memory: sanity.shfor i in `cat hosts_uniq`do echo $i ssh $i cat /proc/cpuinfo | grep "cpu MHz" | grep -v "2533" | grep -v "2534" ssh $i原创 2012-11-26 10:31:45 · 445 阅读 · 0 评论 -
fedora && ubuntu 使用小记
Fedora去除sudoer限制change 'sudoers file'$su -$visudoa-->append new line:在root ALL=(ALL) ALL下一行添加:'your_user_name' ALL=(ALL) ALL:wq!Install QQ for Linux1. Download the corresp原创 2012-02-09 11:59:43 · 415 阅读 · 0 评论 -
mva2 tests && mpiP
Steps1. create sanity checks folder2. download test version -e_x_p-5./maint/updateflies3. ./configure./configure --enable-cuda --with-cuda-include=/opt/cuda/5.0/include --with-cuda-libpath原创 2012-11-11 13:14:00 · 6227 阅读 · 0 评论 -
pgi usage
1. log in GPU node (key point)ssh gpu012. load modules & check envmodule load cuda/5.0module load pgiecho $LD_LIBRARY_PATHpgaccelinfo -vOpenmp vs. OpenACCgood reference http://www.原创 2012-11-19 05:02:24 · 611 阅读 · 0 评论 -
hyd.modify
1. vi src/cuda/Makefileenable verbose print38 DEFINES += -DVERBOSE_PRINT添加printf打印MPI_Send/MPI_Recv模式Idea: 在每个MPI_Send / MPI_Recv之前,打印sender/receiver的MPI rank./src/pgesv/HPL_spreadN.c原创 2012-11-27 13:16:46 · 679 阅读 · 0 评论 -
Latex & Lyx 学习
学习资料http://www.math.zju.edu.cn/ligangliu/latexforum/tex_doc.htmhttp://josephpan.net/blog/?p=178http://josephpan.net/blog/?tag=latexhttp://blog.youxu.info/tag/latex/Lyx资料To be con原创 2012-12-08 12:52:21 · 652 阅读 · 0 评论 -
Linux grader Tips (continued) && CSE Account
1. Grading Lab assignmentsCheck the modification Time of files (useful for check whether students submitted their homework before the deadline)ls -ltr2. forward cse.edu emailUnder home dir原创 2012-05-26 01:37:15 · 480 阅读 · 0 评论 -
draft_starPU
Configure SummaryCPUs enabled: yesCUDA enabled: yesOpenCL enabled: yesCell enabled: noCompile-time limits(change these with --enable-maxcpus, --enable-maxcudadev,--enable-maxopen原创 2013-01-08 11:47:45 · 773 阅读 · 1 评论 -
HPL test Compiling History
Some problem ran into during compiling and tests.1. Actual Performance, Theoretical Peak PerformanceFormula: Peak.perf = (#float.point.unit) * (#core) * Freqhttp://www.cnblogs.com/kerrycode/arc原创 2012-11-10 02:21:04 · 867 阅读 · 0 评论 -
HPL-AMD Configuration
1. Basicwget http://code.compeng.uni-frankfurt.de/attachments/download/55/hpl-gpu-1.1.0.tar.bz2//HPLwget http://code.compeng.uni-frankfurt.de/attachments/download/54/caldgemm-1.1.0.tar.bz2 //CAL原创 2012-10-01 23:07:31 · 1281 阅读 · 0 评论 -
HPL on Intel MPI+MKL
Disable CUDA1. Compiling Make.CUDA: delete-DCUDA2. SetCUDA_DGEMM_SPLIT, CUDA_DTRSM_SPLIT to 0.00 (run_linpack script)Modify code so that the codes could run directly on CPU nodes/src/cu原创 2012-10-12 09:23:23 · 2480 阅读 · 0 评论 -
Ubuntu下汇编小记
汇编工具安装binutils1. sudo -sH 切换root2. apt-get install binutils-doc (dpkg -l | grep binutil(Debian类型查询))3. Kdbg在ubuntu软件中心安装man手册页更新:sudo apt-get install manpages-dev原创 2010-03-27 11:43:00 · 2552 阅读 · 2 评论 -
Bochs安装
1.预备安装sudo apt-get install bulid-essentialsudo apt-get install xorg-devsudo apt-get install bison2.安装bochs官方网站下载源码包bochs-2.4.2.tar.gz解压此文件:tar vxzf bochs-2.4.2.tar.gzcd bochs-2.4.2./configure --enable-debugger --enable-disasmmakesudo ma原创 2010-06-11 19:30:00 · 1538 阅读 · 0 评论 -
Linux环境应用杂记...不断更新
<br />SCIM输入法<br />sudo apt-get remove scim<br />sudo apt-get install scim<br />sudo apt-get install scim-chinese<br />sudo gedit /etc/X11/Xsession.d /95xinput<br />/usr/bin/scim -d<br />XMODIFIERS="@im=SCIM"<br />export XMODIFIERS<br />exp原创 2010-06-11 19:35:00 · 513 阅读 · 0 评论 -
VMware Player使用杂记
Win7安装VMware PlayerVMware Player中安装Ubuntu11.041. Install From页中,若选择“I will install the operating system later”,则可能无法安装,因为后续启动虚拟机,无法创建用户。2. 创原创 2011-07-13 23:22:08 · 757 阅读 · 0 评论 -
linux查看硬件和系统信息的相关命令简介
uname -a # 查看内核/操作系统/CPU信息的linux系统信息命令head -n 1 /etc/issue # 查看操作系统版本,是数字1不是字母Lcat /proc/cpuinfo # 查看CPU信息的linux系统信息命令hostname # 查看计算机名的linux系统信息命令lspci -tv转载 2012-09-26 02:08:28 · 582 阅读 · 0 评论 -
Linux test command Use
查看cpu使用率 top --> '1' 查看已安装模块module availmodule load ****screen 远程执行任务screen #create a new screen sessionOR screen -S session_namectrl+A, then d, #save and exit session if原创 2012-09-25 07:30:03 · 499 阅读 · 0 评论 -
CBLAS/GotoBLAS2/MKL/CUDA HPL Configuration
1. CBLAS* Need BLAS LibTOPdir = /home/shir/mv/hplINCdir = $(TOPdir)/includeBINdir = $(TOPdir)/binLIBdir = $(TOPdir)/libHPLlib = $(LIBdir)/libhpl.aMPdir原创 2012-10-01 11:29:46 · 1515 阅读 · 0 评论 -
DFS+MPI Configuration on Virtual Machine
Here is some summary on DFS+MPI on VM configuration.check system informationcat /proc/cpuinfo/sbin/lspcirpm -qa | grep nfs, having some nfs"tupac is just hosting the VM's, nfshead is going原创 2012-09-20 12:00:36 · 1029 阅读 · 0 评论 -
HPL TEST Q&A
Background1. mvapich2-1.9arpm -qa | grep mvapich2wget http://mvapich.cse.ohio-state.edu/download/mvapich2/mvapich2-1.9a.tgztar -xzf mvapich2-1.9a.tgz./configure 无参数,之后make install出错./confi原创 2012-10-01 10:39:50 · 3503 阅读 · 0 评论