Changes between Version 2 and Version 3 of jazz/10-01-18


Ignore:
Timestamp:
Jan 18, 2010, 10:07:06 AM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/10-01-18

    v2 v3  
    2727$ sudo R --no-save < rJava.R
    2828}}}
     29 * [陽明] Parallel::MPI::Simple 安裝
     30   * 錯誤訊息:找不到 mpi.h 當然也無法正常用 -lmpi 的方式鏈結函式庫
     31{{{
     32Note (probably harmless): No library found for -lmpi
     33
     34Simple.xs:8:18: error: mpi.h: No such file or directory
     35}}}
     36   * 官方解法:
     37{{{
     38If you find you cannot build this module, or that the tests fail, you
     39may be on an odd system where you need to do more than pass -lmpi to
     40your C compiler to build MPI applications.  If this is the case, rerun
     41perl Makefile.PL with appropriate LDFLAGS= and CCFLAGS= arguments.
     42}}}
     43   * 癟腳解法:
     44     * 進 .cpan/build/Parallel-MPI-Simple-0.03-*/ 編輯 Makefile
     45     * 修改 LDFLAGS 加入 -L/opt/mpich2/lib
     46     * 修改 CCFLAGS 加入 -I/opt/mpich2/include
     47     * 執行 sudo make 編譯
     48     * 執行 sudo make install 安裝