I would like to compile a basic OpenMPI program from the site https://www.boost.org/doc/libs/1_64_0/doc/html/mpi/getting_started.html#mpi.mpi_impl, so that I can then use Boost.MPI to serialize .cpp code. My xcode version is 9.4.1, although I do not know that this matters because I work in the command line.
Terminal:
cd path/to/mpi/file.cpp
mpiCC -o mpi-test mpi-test.cpp
Many lines of things
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is a problem on Darwin I have failed to overcome.
OpenMPI is easliy used on Linux, however my school does not have certificates for the wifi coded in so I would always have to hardwire. I have now returned to Mac OS High Sierra where once again Open MPI does not compile.