平衡点


2009/10/01

_ 第 27 回関西Debian勉強会

2009/09/27 に京都リサーチパークで第 27 回関西 Debian 勉強会がありました. 今回は(も?)話す側. 話した内容は「パッケージを作成したその後で」ということでmentors.debian.netについて, 使う側の視点から話ました.残念ながら常連 DD の木下さん, 大浦さんがいらっしゃらなかったので, スポンサー/メンター側のお話は伺えなかったわけですが.

のがたさんの reportbug についての話は, 本人も言ってましたが直前に bug があってきちんと bug report が送れず(´・ω・`) ってなってました. 残念.

私の話は, まあ lightning-talk 風に...

:left

エソカイはモツ鍋でした. (゜д゜)ウマー


2009/10/09

_ grub-pc で 「vga=...」が obsolete って言われる件

...いや, 動くんですけどね. 偶に起動すると「obsolete だから gfxpayload 使え」って言われる.

とりあえず /etc/grub.d/00header に gfxpayload=keep を追加した

...
if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
  set gfxmode=${GRUB_GFXMODE}
  set gfxpayload=keep       # add (2009/10/09)
  insmod gfxterm
  insmod ${GRUB_VIDEO_BACKEND}
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
...

そして /etc/default/grub で

...
GRUB_GFXMODE=1024x768x32
...

として update-grub2

ちゃんと 1024x768 で表示されて, とりあえず怒られない. ふむ.

_ fontconfig での似非 Bold 表示を止める

以前も設定した筈なんだけれど...気がついたら設定ファイルが無くなっていた.firefox で見辛くてしょうがないので再度設定.以前は bold 表示にモトヤシーダを使用していたのだけれど...なんで止めたんだっけな.

とりあえず貼っておく.

  • bitmap 表示を off
  • 似非 Bold 表示を off
  • serif, sans-serif は StarOffice 付属の HG-PMinchoL-Sun, HG-PGothicB-Sun
    • IPA明朝/ゴシックの設定が残っているのは御愛嬌(上記フォントが無い環境用).
  • Ryumin, GothicBBB も同上
  • monospace は VL Gothic
  • Helvetica の表示に Arial 使用

の設定. これを ~/.fonts.conf として保存.

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- section:disable bitmap:start -->
<match target="font">
  <edit mode="assign" name="embeddedbitmap">
    <bool>false</bool>
  </edit>
</match>
<!-- section:disable bitmap:end -->
<!-- section default:serif, sans-serif, monospace:start -->
<alias>
  <family>serif</family>
  <prefer>
    <family>HG-PMinchoL-Sun</family>
    <!-- <family>IPAPMincho</family> -->
  </prefer>
</alias>
<alias>
  <family>sans-serif</family>
  <prefer>
    <family>HG-PGothicB-Sun</family>
    <!--    <family>IPAPGothic</family>  -->
  </prefer>
</alias>
<alias>
  <family>monospace</family>
  <prefer>
    <family>VL Gothic</family>
  </prefer>
</alias>
<!-- disable embolden -->
<match target="font">
  <test name="weight" compare="less_eq">
    <const>medium</const>
  </test>
  <test target="pattern" name="weight" compare="more">
    <const>medium</const>
  </test>
  <edit name="embolden" mode="assign">
    <bool>false</bool>
  </edit>
    <edit name="weight" mode="assign">
      <const>bold</const>
    </edit>
</match>
<!-- section default:serif, sans-serif, monospace:end -->
<!-- section:Ryumin:start -->
<match target="pattern">
  <test qual="any" name="family">
    <string>Ryumin</string>
  </test>
  <edit name="family" mode="prepend" binding="strong">
    <string>HG-MinchoL-Sun</string>
<!--   <string>IPAMincho</string>  -->
  </edit>
</match>
<!-- section:Ryumin end -->
<!-- section:GothicBBB :start -->
<match target="pattern">
  <test qual="any" name="family">
    <string>GothicBBB</string>
  </test>
  <edit name="family" mode="prepend" binding="strong">
    <string>HG-GothicB-Sun</string>
<!--    <string>IPAGothic</string>  -->
  </edit>
</match>
<!-- section:GothicBBB:end -->
<!-- section:Helvetica to Arial:start -->
<alias binding="same">
  <family>Arial</family>
  <default><family>Helvetica</family></default>
</alias>
<alias binding="same">
  <family>Helvetica</family>
  <accept><family>Arial</family></accept>
</alias>
<!-- section:Helvetica to Arial:end -->
</fontconfig>

書いても書いても忘れる鳥頭.この日記だけで fontconfig 関係は 4 エントリもあるのか(笑)


2009/10/17

_ 科研費新規募集課題公募停止のおしらせ

この手の事はあんまり書きたくない/書いてもしょうがないのだけれど.

なんということでしょう.

抜粋.

1.平成22年度新規募集課題の公募を停止する研究種目
 (1)  「新学術領域研究 (研究課題提案型) 」 (文部科学省より公募)
 (2)  「若手研究 (S) 」 (日本学術振興会より公募)

「若手」と「新学術領域」

...

「若手」と「新学術領域」

...

夢もチボーも無い.


2009/10/21

_ zsh のプロンプトに git の branch 名を表示させていると...

zsh の RPROMPT を以下の様に設定している.

# get the name of the branch we are on
git_prompt_info() {
 ( [ -d .git ] && ref=$(git-symbolic-ref HEAD 2> /dev/null)) || return
 echo "git:${ref#refs/heads/}|"
}
...
RPROMPT=$'%{$fg_bold[red]%}$(git_prompt_info)%{$fg_bold[white]%}%B%(5~,%-2~/.../%1~,%~)%b'

この設定のまま研究室のサーバの NFS マウントしている領域にいくと, syslog に

...
Oct 21 06:55:42 automount[6980]: failed to mount /misc/.git
Oct 21 06:55:42 automount[6981]: failed to mount /misc/.git
Oct 21 06:55:42 automount[6982]: failed to mount /misc/objects
Oct 21 06:55:42 automount[6988]: failed to mount /misc/.git
Oct 21 06:55:42 automount[6989]: failed to mount /misc/.git
Oct 21 06:55:42 automount[6990]: failed to mount /misc/objects
Oct 21 06:55:44 automount[6995]: failed to mount /misc/.git
Oct 21 06:55:44 automount[6996]: failed to mount /misc/.git
Oct 21 06:55:44 automount[6997]: failed to mount /misc/objects
Oct 21 06:55:44 automount[7003]: failed to mount /misc/.git
Oct 21 06:55:44 automount[7004]: failed to mount /misc/.git
Oct 21 06:55:44 automount[7005]: failed to mount /misc/objects
Oct 21 06:55:46 automount[7010]: failed to mount /misc/.git
Oct 21 06:55:46 automount[7011]: failed to mount /misc/.git
Oct 21 06:55:46 automount[7012]: failed to mount /misc/objects
Oct 21 06:55:46 automount[7018]: failed to mount /misc/.git
Oct 21 06:55:46 automount[7019]: failed to mount /misc/.git
Oct 21 06:55:46 automount[7020]: failed to mount /misc/objects
Oct 21 06:55:47 automount[7025]: failed to mount /misc/.git
Oct 21 06:55:47 automount[7026]: failed to mount /misc/.git
Oct 21 06:55:47 automount[7027]: failed to mount /misc/objects
Oct 21 06:55:48 automount[7041]: failed to mount /misc/.git
...

と出ます. あぁぁ, ゴメンナサイすいません.

Host名で変えておくかな. というか, 他の場所でもこのエラー出しまくっているんだろうな, とか.

どうしたモンかな…

_ 某所 XT4 での CrayPat 出力結果

  • 球殻モデル
    • 球面調和関数展開 + チェビシェフ多項式
    • OpenMP 4 x MPI 32 並列.
    • MPI は緯度円並列.
    • All to All でスペクトルデータを sync する, いわゆる「安直 MPI 並列」
  • 解像度 T84L48

コンパイラオプションは

-fastsse -O4 -Minline -Mvect=noassoc -Mlre=noassoc -mp=nonuma \
 -Bstatic
結果:
  • 思った以上に MPI 関係のコストがかからない.
  • lumatrix_f77.f が鬼門. というかコストかかりすぎている気がする. こんなモンかなぁ…

手があき次第最優先で.

---------------------------------------------------------------
 96.1% | 536.638646 |       -- |     -- | 451717.0 |USER
|--------------------------------------------------------------
|  29.4% | 164.159681 | 3.642548 |   2.3% |      1.0 |main
|  15.3% |  85.239062 | 0.078474 |   0.1% |   4102.0 |lusolv_
|   9.1% |  50.551754 | 2.168129 |   4.4% |  19039.0 |snls2g_
|   5.7% |  31.887453 | 0.051958 |   0.2% |  59118.0 |fttctf_
|   5.1% |  28.221466 | 0.053867 |   0.2% |   6012.0 |wa_base_module_xya_wa_
|   5.0% |  27.751203 | 0.412491 |   1.6% | 173362.0 |fttzl4_
|   3.8% |  21.487004 | 0.039820 |   0.2% |   3006.0 |wt_module_xyz_kgrad_wt_
|   3.3% |  18.411535 | 0.118059 |   0.7% |   6012.0 |snpsog_
|   3.1% |  17.488779 | 0.275271 |   1.7% |   8524.0 |snlg2s_
|   3.1% |  17.471511 | 0.514526 |   3.1% |  55126.0 |fttzl2_
|   2.6% |  14.458635 | 0.007494 |   0.1% |  59118.0 |fttruf_
|   2.3% |  12.972823 | 0.106637 |   0.9% |   6012.0 |sngsog_
|   1.9% |  10.804498 | 0.028414 |   0.3% |  13027.0 |sncs2g_
|   1.9% |  10.519774 | 0.019756 |   0.2% |   1068.0 |lusol2_
|   1.7% |   9.506332 | 0.025235 |   0.3% |   3006.0 |wt_module_xyz_gradlat_wt_
|   1.5% |   8.220879 | 0.107584 |   1.4% |  19039.0 |snfs2g_
|   1.3% |   7.486052 | 0.019462 |   0.3% |  16144.0 |at_module_at_dx_at_
|==============================================================

2009/10/25

_ ps2pdfwr でのフォントの埋め込み

また変わった. 今度は Sazanami-{Mincho|Gothic}-Regularが埋め込まれたPDF が生成されるようになった. replacecjkfonts を使えば除去できるわけだけど, 困ったな.

ちょっと調べ始めるかなぁ. 根が深そうなんだけど…


連絡先など
最近の日記
一覧
2006|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|02|03|04|08|09|10|11|12|
2013|01|02|03|04|05|06|08|09|10|11|12|
2014|01|02|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|09|10|
2016|02|03|
2017|01|02|03|05|06|07|09|11|12|
2018|03|06|07|10|11|12|
2019|01|02|03|04|05|07|10|12|
2020|01|02|03|04|05|08|09|10|11|12|
2021|01|02|03|05|06|07|08|09|11|12|
2022|01|02|03|04|05|06|08|10|11|12|
2023|02|03|04|06|08|09|11|12|
2024|01|02|03|
Back to Top ▲