摘要: 来自邮件列表的一封呼吁贴,为迅速抓住主题,翻译如下:亲爱滴同学们: 还记得自己刚刚使用Madagascar时纠结痛苦无助的惨痛经历乎? 你可以参与编辑文档,来帮助如当年的自己一样弱小的新Madaer,特别特别需要的是,请帮助偶们编辑SCons文档页: http://www.ahay.org/wiki/SCons 您只需两步走: 1.点击页面右上角的"login/create account"链接 2.遵循mediawiki语句(http://meta.wikimedia.org/wiki/Help:Editing)编辑页面 如果文档中还有什么漏洞,请帮助指明并补充,与其闲的 阅读全文
posted @ 2011-04-01 22:10 big cat 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 写完一堆Flow,在命令行scons,结果程序根本没有执行 赶快为你的输出文件补上Result,或者在命令行输入scons xx.rsf (xx是Flow的输出文件名) 不过还有一个办法,文件头改成 from rsf.proj import Flow 阅读全文
posted @ 2011-04-01 23:08 big cat 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Program('AFDM.x',['AFDM.c','fdutil.c','omputil.c'])Flow(['da','wa'],['wava','vp','ro','ss','rr','AFDM.x'], ''' ./AFDM.x ompchunk=%(ompchunk)d ompnth=%(ompnth)d ve... 阅读全文
posted @ 2011-04-01 10:49 big cat 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 当中间文件很多的时候,应该怎么输入呢? 仿照这段代码,就可以轻松搞定啦~ 1 tdata = []2 for i in range(1,4):3 tdata.append('tdata%d' % i)4 5 Result('triangle',tdata,6 '''cat axis=2 ${SOURCES[1:%d]} 7 ''' % len(tdata)... 阅读全文
posted @ 2011-03-30 16:51 big cat 阅读(146) 评论(0) 推荐(0) 编辑
摘要: ##源程序Wcor.c #! /bin/bashgcc -o Wcor.o -c -g -std=gnu99 -Wall -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fopenmp -I/home/wikier/rsf/include Wcor.cgcc -o ./mycor -pthread Wcor.o -Lbuild/li... 阅读全文
posted @ 2011-03-29 18:39 big cat 阅读(890) 评论(0) 推荐(0) 编辑
摘要: 1 set autoindent 2 set smartindent 3 set nocompatible 4 set nu 5 filetype on 6 set history=1000 7 set background=dark 8 syntax on 9 set ts=510 set shiftwidth=511 set showmatch 12 set ruler13 set nohls14 set incsearch15 colorscheme torte 阅读全文
posted @ 2011-03-28 14:30 big cat 阅读(143) 评论(0) 推荐(0) 编辑
摘要: "以python模式打开文件# vim ft=python # "在文件中设置文件打开类型命令:set ft=python 阅读全文
posted @ 2011-03-21 10:45 big cat 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #查看可用节点mpdtrace #备忘 blade0713-0915(串行) 不允许在master节点和slave上发串行作业 阅读全文
posted @ 2011-03-21 10:39 big cat 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #数据import osos.environ['DATAPATH'] = 'path_to_my_private_data' from rsf.proj import *#图import osos.environ['RSFFIGS'] = 'path_to_my_private_figures' from rsf.proj import * 阅读全文
posted @ 2011-03-18 16:55 big cat 阅读(115) 评论(0) 推荐(0) 编辑
摘要: chmod u+x 文件名 #增加文件写权限 chmod u-x 文件名 #撤销文件写权限 阅读全文
posted @ 2011-03-18 11:09 big cat 阅读(159) 评论(0) 推荐(0) 编辑