1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Mac OSでJulia 1.4以降でMPI.jl導入でエラーが出る時

Posted at

Julia 1.3では問題なくMPI.jlが入れられたとしてもJulia 1.4がだめなときは

export JULIA_MPI_PATH=/usr/local/Cellar/open-mpi/4.0.3

で解決するかもしれません・
パスに入っているのは、自分で入れたopen-mpiのパスです。パスは

/usr/local/Cellar/open-mpi/

と入れた後にtabキーを何回か押すと出てくると思います。
エラーが出ている場合には、rm MPIをした後にadd MPIで入れ直してみてください。

In English
If you get the following error:

┌ Error: Error building `MPI`: 
│ [ Info: using system MPI
│ ERROR: LoadError: libmpi could not be found
│ Stacktrace:

when installing MPI.jl in Julia 1.4 or later,
adding

export JULIA_MPI_PATH=/usr/local/Cellar/open-mpi/4.0.3

might resolve the error.

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?