平衡点


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_
|==============================================================

連絡先など
最近の日記
一覧
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 ▲