OS

High performance machine

Each new day is a blank page in the diary of your life This is my first time using high performance machine. Although the machine is only for student, and of course, it is not good as those pro machines, it is still a good experience for me.

ssh remote machin, returns:

Last login: Wed Feb 17 15:02:15 2010 from nl103-144-35.student.uu.se
———————————————————————–

__  __          ___
/\ \/\ \        /\_ \
\ \ \ \ \     __\//\ \      ___     ___     ___ ___       __
\ \ \ \ \  /’__`\\ \ \    /’___\  / __`\ /’ __` __`\   /’__`\
\ \ \_/ \/\  __/ \_\ \_ /\ \__/ /\ \L\ \/\ \/\ \/\ \ /\  __/
\ `\___/\ \____\/\____\\ \____\\ \____/\ \_\ \_\ \_\\ \____\
`\/__/  \/____/\/____/ \/____/ \/___/  \/_/\/_/\/_/ \/____/

__                _____    ____
/\ \__            /\  __`\ /\  _`\
\ \ ,_\    ___    \ \ \/\ \\ \,\L\_\
\ \ \/   / __`\   \ \ \ \ \\/_\__ \
\ \ \_ /\ \L\ \   \ \ \_\ \ /\ \L\ \
\ \__\\ \____/    \ \_____\\ `\____\
\/__/ \/___/      \/_____/ \/_____/

Interactive cluster at Uppmax, Uppsala Universitet
Access node; os1

———————————————————————–

Hardware:
IBM X3455 dual Opteron 2220SE, 2.8GHz nodes. 4*10=40 cores
8GB RAM, Infiniband and Gigabit interconnect

Infiniband is not available for MPI programming due to system problems

Software:
Scientific Linux SL release 5.2, kernel 2.6.18-92.1.18.el5
SGE version 6.2, Grid Engine queue system
“man sge_intro” for an overview.
GCC version 4.3 c,c++,fortran and java
module load gcc
PGI version 7.2 & 8.0, 64 bit compilers (C,C++,F77,F95,HPF)
module load pgi
Intel version 10.1 & 11.1, 64 bit compilers (C,C++,Fortran)
module load intel
MPI, OpenMPI libraries, default 1.2.9, 1.3 available
module load pgi openmpi
module load gcc openmpi
mpicc or mpif90 to compile
mpirun to execute.
qsub -pe dmp8 16, to submit a 16 slot mpi job
openMP is available in pgi, intel and gcc

QUEUES and PEs:
os: 160 slots main queue (overbooked)
-pe dmp NN, distributed on nodes, 16 slots per node (4 cores)
-pe smp NN, shared memory, 1 single node for up to 16 threads (4 cores)

User Limits:
The login nodes are intended for short test runs only, max cputime is 30min

INTERACTIVE:
Use qsh to request a interactive job and recive a xterm.
e.g. qsh -l h_rt=01:00:20

**NB qlogin dont work at the moment use qsh**
(Use qlogin to execute an interactive session without starting a xterm. )

NB X-forwarding is working!
(If you have logged in with “ssh -X os.uppmax.uu.se” !!!)

Dont forget to request h_rt

————————————————————————–

News:
2009-11-20   os6 restarted due to system problems

2009-10-7/8  Service stop
New file server “bubo” introduced for all uppmax storage.
Your home directory is now in /bubo/home/h?/user.
Refer to this using “$HOME” in your programs.
To ease the transition we have defined symbolic links so that the old
directory names are usable for a short time.

2009-07-07   Compilers: PGI is updated to 9.0, default is kept as 8.0
If you want the latest version use “module load pgi/9.0″
Intel is updated to 11.1 (build 038), 11.0 (build 084) is kept as default
If you want the latest version use “module load intel/11.1″

2009-03-17      Infiniband removed from openmpi due to stability problems

2008-11-28      OS-kluster is reinstalled with SL 5.2
R is now a module to run R please load the module first
“module load R”
Sun Grid Engine updated to 6.2

I use bold font to indicate hardware.

BTW, my knowledge of Vim helps me a lot. I like Vim :)

Display Gnu Grub screen after my upgrading my Ubuntu

GRUB_screenshot Wubi is a great tool which can help you install Ubuntu in Windows without changing partition. I installed Ubuntu by using Wubi. Really easy!

But, after I upgraded Ubuntu and rebooted, there was no Ubuntu login windows. What I saw is a black screen. It said GNU Grub, Minimal Bash-like shell blabla. I have to say I don’t like it, and you won’t, either.

Luckily, it is easy to find a solution. I searched ‘wubi ubuntu gnu grub’ in Google. The author of Wubi showed his solution here :

For a patch/workaround:

A) get the wubildr in https://bugs.edge.launchpad.net/ubuntu/+source/grub2/+bug/477104/comments/90 and copy it over C:\wubildr
B) ensure that when you boot there is no command “insmod ntfs”. Press “e” at the grub boot menu to edit the relevant entry and remove “insmod ntfs” before proceeding

New ubuntu/wubi installations do not contain the patch yet. The patch will only be applied once there is a clear confirmation (from you) that it actually solves the problem. Hence your feedback is appreciated.

Right, that’s it, download that file and copy it over. There are also some other solutions in which you need to type lots of commands in command line. I think, the solution of his, the author of Wubi, is better :)

ailurus, wonderful tool for linux beginner

ailuruslogo If you are a beginner of Linux, especially, Ubuntu, this software is what you need. Ailurus is a great tool which can help you “Install software”, “Configure Linux” and “Study Linux skills”.

Ailurus is an open source software, located in Google Code, here is the link. You can find download address from right side of ailurus homepage. Let’s see what ailurus looks like.
Read More »

zz让 Karmic 启动再快 5 秒

真的很管用,几乎瞬间就看到了桌面,太棒了。 — Kyle Wu

是真的! Karmic 开机已经很快了,可是还可以再快 5 秒! 5 秒当然只是大约大部分人得到的结果~ 可能已经习惯了 Karmic 启动的快速吧~ 我自己就感觉不太明显~ 我升级前也忘记了先把启动时间记下~ 不过既然原文的评论这么多人都得到了 5 秒的结果,也不会假吧~

好吧~ 方法就是加入一个 ppa 源,然后更换内核~

请注意哦~ 我不保证这一内核能在你的电脑上稳定使用哦~ 系统挂掉了可不要找我算账哦~ 我是一个负责人的人

这毕竟有风险哦~ 如果你是很新手或不想折腾的话~ 还是劝告你不要尝试了~ 因为就提升那一点启动速度,对你实际使用没有太明显,毕竟 5 秒,喝口水,白日梦还没法完就过去了~ 况且,用电脑也不是整天重启的啊~

Step1:

sudo add-apt-repository ppa:ubuntu-boot/ppa

或者

ppa:ubuntu-boot/ppa

Step2:

sudo apt-get update && sudo apt-get dist-upgrade

完成后重启,据说第一次启动是感觉不出的~ 可能是因为要 readahead 需要 profile 一下吧~ 不过,如果真是 profile 的话,貌似时间和以前 9.04 相比,耗时也太短了~ 了解真相的朋友请相告知哦~

Hope you guys enjoy it!!

源在这里

成功Ubuntu下安装TP-Link TL-WN821N无线网卡的驱动

我的笔记本没有无线网卡,出国前特意买了一个无线网卡,以备不时之需。我买的无线网卡是TP-Link TL-WN821N,只有Windows的驱动,不支持Linux。今天搜索了一下,找到了解决方案。

其实方法十分简单:
1.安装ndiswrapper,尝试apt-cache search搜索一下,我9.04Ubuntu可以找到,Sweden的源。
接下来就可以找到System -> Administration -> Windows Wireless Drivers。
2.这时候需要无线网卡的驱动,从这里下载。
然后Install这个驱动。
3.安装wicd,我可以从源中直接安装,找不到的同学自己搜索一下官网吧。
安装以后重启一下,就可以发现wicd network manager已经代替了原来的Network Manager。

还是很简单的,这个方法我只测试了我自己的TP-Link TL-WN821N无线网卡,不知道其他TP-Link的可不可行。
最后提供两个网址,我也是从这里找到解决办法的,Link1Link2

将Ubuntu美化为Mac

Screenshot-awn_elements.png很早以前就听说过Mac4Lin这个美化包,今天尝试了一下,效果很不错,先上张图同学们看看效果。
Mac4Lin Screenshot

Mac4Win

ok,感觉还是不错的吧,下面介绍一下如何安装。 Read More »

如何在Windows下添加瑞典语输入法

thumbnail_sweden_input 即将迈向瑞典国土的我,对瑞典语也产生了兴趣。虽然用英语也可以应付大多数场合,但是会瑞典语还是有不少好处的。今天在UU群里又一次有人提出如何在计算机里输入瑞典语,这里要讲一下,瑞典语和英语有很大的相似度,但是多了几个字母:öÖ,äÄ,åÅ。看到了么,这几个字母在英文输入法下可是不能够打出来的。

安装瑞典语的输入法也很简单的,只需如下几步:

打开“控制面板”,找到“区域和语言选项”,选择“语言”标签,点击“详细信息”,弹出如下窗口。

sweden_lang_input

我已经添加了瑞典语,没有的同学不用着急,点击右方的添加按钮,选择“瑞典语”即可。

add_sweden_input

一般我们熟悉的切换输入法的快捷键可以修改一下,使之支持跨语种的切换。点击“键设置”按钮,找到“在不同的输入语言切换”,修改一下快捷键,我选择的是左边的Alt+Shift,当然自己习惯就好。

这样就可以输入瑞典语了。Hej då!

几个特殊字母的键位:

; -> ö
‘ -> ä
[ -> å

修复Ubuntu Jaunty中的Ctrl+Alt+Backspace

很多同学应该已经习惯了Ctrl+Alt+Backspace来重启X桌面。但是在Ubuntu Jaunty中,这个快捷键不起作用了。Ubuntu此举是为了避免用户误操作。从我个人来讲,没有了Ctrl+Alt+Backspace十分不方便。

恢复快捷键很方便:

安装dontzap

sudo apt-get install dontzap

Disable dontzap
sudo dontzap --disable
重启电脑。

好了,你可以使用Ctrl+Alt+Backspace了。

通过U盘安装Gentoo

刚刚将毕业答辩的ppt完成初稿,突然想试一下通过U盘安装Gentoo,所以尝试了一下,

  1. 在Gentoo的官网上下载minimal的iso文件。
  2. 下载UltraISO。我使用的是9.1.2版本,链接就不写了,同学们自己搜一下。
  3. 将U盘插入
  4. 启动UltraISO,菜单选择“启动光盘” –> “写入硬盘映像”。 Read More »

Windows 7 RC 尝鲜

Windows 7 已经出了几个版本了,这次带来的可是RC哦。
这个是下载地址
http://www.microsoft.com/windows/windows-7/download.aspx
点进去后,在页面的下方找到Download 32-bit version,选择English,然后点GO按钮
可能需要Live ID登陆,我用的是MSN账号,然后填写一张表格就好了,接下来会看到如下图的页面

记住这个Product key,安装时要用到的(这个Key可以用到7月份)
点击Download Now,就会开始下载了,安装文件为2.36G,需要一段时间下载。
经过漫长的等待,终于把iso下下来了。
我使用虚拟机进行安装,配置就不多讲了。 Read More »