- 博客(30)
- 收藏
- 关注
原创 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
769
原创 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
650
原创 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
678
原创 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
443
原创 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
610
原创 ubuntu11.10下安装使用tinyos-2.1.2
首先把之前的11.04升级到11.10下载tinyos-2.1.2sudo gedit /etc/apt/sources.list将以下两行添加到文件中(注意:11.10版本代码是oneric,而stanford没有对应的源下载,故要改成natty版本)#tinyOS#deb http://tinyos.stanford.edu/tinyos/dists/ubuntu natt
2012-11-14 06:12:45
1421
原创 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
6225
原创 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
原创 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
2475
原创 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
1280
原创 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
1514
原创 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
3499
转载 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
581
转载 一个精明主妇写的省钱过日子的好贴
1.家里常备一瓶医用75度酒精(大药店买大瓶酒精比在超市药店便宜2倍),装在空的喷瓶里。电脑键盘、屏幕脏了,喷一下,轻轻一擦,又干净又能消毒。家里门把手、垃圾桶、切菜板、电灯开关、手机,隐性眼镜盒,也经常喷一下,这几个地方看不见的细菌很多。鞋子内部经常喷一下,杀菌,酒精挥发很快,不用担心潮湿,但是别喷外面的漆皮哦。2.有洁癖的人觉得蹲式马桶卫生,但是蹲式马桶容易导致脱肛、痔疮,老年人还容易滑到
2012-09-26 01:02:33
7301
原创 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
498
原创 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
1026
原创 MVAPICH2使用小记
mvapich2-1.9a 安装使用小结ssh 登录ri cse 节点rpm -qa | grep mvapich2wget http://mvapich.cse.ohio-state.edu/download/mvapich2/mvapich2-1.9a.tgztar -xzf mvapich2-1.9a.tgz./configure 无参数,之后make ins
2012-09-12 12:13:00
4609
原创 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
原创 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
414
原创 Win7使用所遇问题小结(不断更新中)
I:用U盘做了个WinPE启动盘后,遗留下一个CD-DriveA:用UltraISO,选项 --> 配置 --> 虚拟光驱 --> 设备数量 --------------------------------------- VS 2010 ---------------------------------------I:VS2010卸载(无法完全)重装 不能创建数据库项目 或
2011-07-14 12:08:29
1548
原创 VMware Player使用杂记
Win7安装VMware PlayerVMware Player中安装Ubuntu11.041. Install From页中,若选择“I will install the operating system later”,则可能无法安装,因为后续启动虚拟机,无法创建用户。2. 创
2011-07-13 23:22:08
753
原创 3种const指针的区别
<br />const char **p1,只有const常量才能赋值给p1, 可以改变指针的值和指针指向单元的值<br />char *const *p2,普通变量可以赋值给p2,可以改变指针的值<br />char **const p3,普通变量可以赋值给p3,可以改变指针指向单元的值<br /> <br />后面是一个关于使用数组指针获取元素的范例<br /> <br />int _tmain(int argc, _TCHAR* argv[]){ const char *str = "abc
2010-07-01 16:10:00
529
原创 LinuxC一站式编程.循环队列无锁实现
本程序使用循环队列初步实现广度遍历,还需要优化,比如改进针对'*'输出的判断语句。代码如下:#include "stdafx.h"#include #define MAX_ROW 5#define MAX_COL 5#define QUEUE_SIZE 20#define HIGH_INDEX (QUEUE_SIZE-1)struct point { int row, col, predecessor; } queue[QUEUE_SIZE];int head = 0, tail
2010-06-29 20:46:00
1748
原创 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
510
原创 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
1536
原创 vs2005中去除Enable3dControls警告
用vs2005打开vc6下实现的项目(深入浅出MFC随书光盘的文件),打开编译后会出现以下warming:CWinApp::Enable3dControls was declared deprecated 结合网上资料,以Text(chapter 13)项目为例:/*#ifdef _AFXDLL Enable3dControls();
2010-05-21 14:55:00
1238
原创 [转贴]]谈谈我对攻读计算机研究生的看法
就我自己的理解,谈谈我对读研和软件学院的看法,不妥之处一笑了之即可。 如果你有实际开发工作经验,感觉自己的水平和实力进入了一个高原期,迫切需要从理论上提高,那么计算机学院是唯一选择。因为计算机学院才能让你在理论上更上一层楼。软件学院从教学计划上就没有把你往这方面带。当然能不能更上一层楼最终还是完全取决于你自己。需要特别说明的是,工作经验并不一定等于开发经验,我见过很多工作
2010-04-06 17:58:00
385
原创 Linux源码阅读
本学期boss讲授Linux内核,准备跟着进度入门一下。首先说下参考书。主要参考书:Linux内核设计与实现 Robert Love深入理解Linux内核个人觉得还可以结合看下Professional Linux Kernel Architecture(by Wolfgang Mauerer)深入那本是针对2.6.11版本源码,后一本是针
2010-03-27 15:59:00
665
原创 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
2548
原创 Visual.Studio.Tips.阅读笔记
前2天大致看了下MS的Visual.Studio.Tips,抄写了几个常用的快捷键,以便提高编程效率。 行操作:插入空行:ctrl+enter前插一行,ctrl+shift+enter后插一行剪切/删除:ctrl+L剪切当前行;ctrl+shift+L删除当前行 word操作: ctrl+w选定当前word,ctrl+del删除下个word,ctrl
2010-03-27 08:36:00
347
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人