0
终于搞清楚了如何安装所有需要的包Haskell的-MPI后,我跑:编译哈斯克尔-MPI
sudo cabal install --global haskell-mpi
和,给人一种头错误:
Resolving dependencies...
Configuring haskell-mpi-1.2.1...
Preprocessing library haskell-mpi-1.2.1...
dist/build/Control/Parallel/MPI/Internal.chs.h:1:17: error: mpi.h: No such file or directory
c2hs: Error during preprocessing custom header file
cabal: Error: some packages failed to install:
haskell-mpi-1.2.1 failed during the building phase. The exception was:
ExitFailure 1
怎么办我链接标题?
我已经安装了libopenmpi-dev,并且我还尝试设置包含路径,如下所述:http://stackoverflow.com/questions/5759838/cannot-get-cabal-to-find-the-mpi-library - 用于-哈斯克尔-MPI-的窗口 – NoBugs 2012-02-21 19:25:51