I tried the configure line you provided, it helps a lot, the error becomes much less. Gcc-5 -I/usr/local/Cellar/open-mpi/1.8.4/include -L/usr/local/opt/libevent/lib -L/usr/local/Cellar/open-mpi/1.8.4/lib -lmpi When you run mpicc -show, something like this should pop up: Otherwise, the MPI wrapper will try to use Xcode's CLANG to compile MPI programs. You have to make sure that compiler= points directly to gcc-5/g++-5, not just gcc. ![]() I modified the following files in /usr/local/Cellar/open-mpi/1.8.4/share/openmpi : This is important if you are going to compile any MPI codes in Madagascar. I just recalled that I had to add another manual edit to the system files. You should be able to get through the compilation after that. ![]() *typedef void (^dispatch_block_t)(void) */ ![]() $ sudo vim /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/object.h The problem with dispatch_block_t was encountered before:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |