lam-mpi + ifc on FreeBSD で libc_r の中で死ぬ件だが、調べてみると libc_r をリンクしているのは並列実行されているバイナリじゃなくて lam 自身のバイナリだったりする。
で、問題を切り分けてみると
| lam | fortran program | |
|---|---|---|
| g77 | g77 | ok |
| ifc | ifc | NG |
| g77 | ifc | NG |
| ifc | g77 | ok |
libc_r をリンクしていない Fortran program のコンパイラが成功・失敗を支配している。なんでやねん…
[referer:
The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.
]