[petsc-dev] Multiple MPICH/fblaslapack Installs For Multiple Arches

Jed Brown jed at jedbrown.org
Sun Mar 22 16:47:28 CDT 2020


Jacob Faibussowitsch <jacob.fai at gmail.com> writes:

>> Wrt MPICH - My suggestion is to install with --download-mpich --prefix [as mentioned]. Primary reason is: we use --with-device=ch3:sock - which is good for 'oversubscribe' usage [running "mpiexec -n 8 ./exe" on a dual core box] - which is what we normally do during development. And also its valgrind clean.
>
> Prefix is where the source is downloaded to? Or where the libs/binaries are put? Ideally I would like my source to be in /my/custom/path and the resulting binaries and libraries to be in /usr/bin or /usr/local/bin where all my other downloaded packages are.

Then modify the brew formula to build with ch3:sock.

https://github.com/Homebrew/homebrew-core/blob/master/Formula/mpich.rb

You very much don't want to go dumping non-packaged stuff into system directories.


More information about the petsc-dev mailing list