2012年12月13日 星期四

cluster compiler 注意事項


gcc -O3 -lm -o 3d_ladder randistrs.c mtwist.c 3d_ladder.c

--
all:
        gcc -lm -O3 -o sse_unconvention mtwist.c randistrs.c sse_unconvention.c
run:
        ./sse_unconvention 20.0 1.0 10 10 1 10000 200000 50 A B C D E F
---

!NOTE
若make 出現 error 直接使用上述指令

make
make: Warning: File `Makefile' has modification time 1.1e+03 s in the future
gcc -lm -O3 -o 3d_ladder mtwist.c randistrs.c 3d_ladder.c
make: warning:  Clock skew detected.  Your build may be incomplete.

2012年12月10日 星期一

透過 putty 使用 X11 轉遠端畫面到本機顯示



Xming

步驟 :
安裝 Xming
執行 XLaunch
下一步到底
右下角會出現黑色X
執行 putty
Connection → SSH → Enable X11 forwarding 打勾 → 底下輸入 localhost:0
正常連入 SSH
輸入指令 ex.firefox
搞定


ref 
http://jakson.idv.tw/joomla/index.php?option=com_content&view=article&id=183:-putty-x11-&catid=63:linux-program&Itemid=121