Mac system Madagascar install OpenMP feature (resolved)

Source: Internet
Author: User
Tags wrapper

Since an update after the OpenMP can not be used, until recently in the discussion group to help high-skilled to solve, broke the finger probably two years, it is the severity of my terrible procrastination can be seen in the show, nonsense not to say, offer a three-step approach to cattle people.

A

$./configure--PREFIX=~/RSF Api=c++,fortran,python cpppath=/usr/local/include libpath=/usr/local/lib CC=gcc-4.9 PPMPATH=/USR/LOCAL/INCLUDE/NETPBM cflags= "-o2-flax-vector-conversions '-d__has_extension (x) =0 '-D__VFORCE_H ' CXX= ' g++-4.9 ' cxxflags= '-o2-flax-vector-conversions '-d__has_extension (x) =0 '-d__vforce_h '

(ii) $ sudo vim/applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks/macosx10.10.sdk /usr/include/dispatch/object.hcommented out this line:/*typedef void (^dispatch_block_t) (void); */And then I added this b Elow it:typedef void* dispatch_block_t; (c) Modified the following files in/usr/local/cellar/open-mpi/1.8.4/share/ Openmpi:mpic++-wrapper-data.txtmpicc-wrapper-data.txtmpicxx-wrapper-data.txtmake sure that compiler= points Directly to gcc-5/g++-5, not just gcc. Well done! Thank Daniel Vladimir bashkardin!

Mac system Madagascar install OpenMP feature (resolved)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.