LoopTools2.6 for mac

マックにループツールズを入れた。以前から古いバージョンの
マスマティカでうまくゆくのにMathematica6以降ではMathLink
がうまくいかないという問題が有ったと記憶している。

今回もLoopTools.tgzを落としてきてmakeするが、できた
LoopToolsの実行ファイルをInstall[ ]出来ないという問題が発生。
Mathematica5でInstall[ ] するとインストール出来るのにMathematica7
ではエラーが出る。

仕方がないのでMathematica7のInstall[ ] のヘルプを見て
AddTwoの例題を試すが、Install[ ]出来ない。
問題はAddTwoの実行ファイが

/Applications/Mathematica.app/SystemFiles/Links/MathLink/DeveloperKit/MathLinkExamples

に存在しないことであった。

A)--------------------------------------------------
そもそも実行ファイルがないのでmccを使って実行ファイル生成する
(Todd Gayley@Wolfram Researchの"A MathLink Tutorial"を参照)。

i) CompilerAdditions からMathLinkExamples にmccと必要な
 ライブラリーなどをごっそりコピー

2) ./mcc addtwo.tm addtwo.c -o addtwo でInstallableな
実行ファイルをつくる。

3) Install["addtwo"]でインストール出来る。

つまりversion7でもMathLinkはうまく動いているようだ。
(以前Mathematica6以降ではMathLinkが動かないと
勘違いしており、数人にはそういった事を喋ったが、
間違いだと判明。MathLinkは問題なし!

B)---------------------------------------------------
それで、気がついたのだがMathematica Version5と
Version6ではCompilerAdditionsのディレクトリーにある
ファイルが異なっている。それで、なんとなくLoopTools
でも同じ問題であるのかなと思い、LoopToolsのディレクトリー
(version 2.6) の src/tools/ 以下にmathlink.h libMLi3.aと
mcc,mprepをMathematica7のCompilerAdditionsのディレク
トリーからコピーした。

後はLoopToolsの指示に従い./configure , make, make install
make cleanでLooptToolsの実行ファイルが
出来ている事を確認。この実行ファイルはMathematica7
にinstallableでした。

MadGraph install

Download the file: MadGraph_v4.tar.gz, then make.
In my case, there appeared error message concerning to g77.

                                                                                                      • -

A1) g77 does not exists, thus replace g77 by gfortran:
# cd usr/bin
# ln -s gfortran g77
A2) still erorr occured saying something with "-i4" option for g77 in
the MadGraphII directory. Thus
# cd MG_ME_V4.4.27/MadGraphII
# less makefile
find the secodn line: "FFLAGS= -O -i4 -ffixed-line-length-132"
I deleted -i4 option, and it worked somehow.

                                                                                                        • -

B1)To see the plots, install MadAnalysis under the MG_ME_V4.4.27.
Then I went to the wiki-page and downloaded compiled version of td,
and placed it as follows; MG_ME/V4.4.26/td/td (this is must to makefile work). Remember to add executable by chmod +x td.
B2) Then make again with makefile under MG_ME_V4.4.27

cernlib

cernlibをインストールしたつもりなんですが,うまくいきません。あまりにも時間を食ってしまうのでとりあえず必要なライブラリーだけ入れました。
fedora11に32bit用を入れたいのですが、どれを入れたら良いか分からず試行錯誤の後

http://cernlib.web.cern.ch/cernlib/download/2006_slc4_ia32_gcc4/lib/

だと動く事が判明.その他でも動くやつはあるかもしれないが動くので良とする。