Install MPI on your MAC, where GCC is already installed.
install the following blog instructions to install MPI.
https://blog.csdn.net/yaochuyi/article/details/86939352
S1 double-click the downloaded file openmpi-4.0.0.tar.gz
S2 open CMD, CD to the unzipped folder.
S3 type CD/Users/ycy/Desktop/openmpi – 4.0.0
S4 installed under/usr/local, execute./configure.
S5 enter./configure –prefix=/usr/local
But it turns out that something went wrong, and it went as follows:
*** Startup tests
checking build system type... x86_64-apple-darwin18.5.0
checking host system type... x86_64-apple-darwin18.5.0
checking target system type... x86_64-apple-darwin18.5.0
checking for gcc... x86_64-apple-darwin13.4.0-clang
checking whether the C compiler works... no
configure: error: in `/Users/xxx/openmpi-4.0.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
What’s wrong with the C compiler?But my GCC is clearly installed correctly.
check, may be a permission problem. Then change the S5 command to
sudo./configure –prefix=/usr/local
. Installation successful.
Read More:
- configure: error: C compiler cannot create executables
- Compilation failed see the compiler error output for details
- An error occurred while creating the AVD. See idea.log for details & Troubleshoot
- configure: error: no acceptable C compiler found in $PATH
- Error during artifact deployment. See server log for details
- Question: connecting git team provider failed. See log for details
- Error during artifact deployment. See server log for details.
- Android studio error compilation failed see the compiler error output for details.
- Artifact xxx:war exploded: Error during artifact deployment. See server log for details.
- Eclipse:An error has occurred. See error log for more details. java.lang.NullPointerException
- Schema validation error in conig/config.xml. See the log for detais, Schema validation can be……
- Consult IDE log for more details (Help | Show Log),read failed, socket might closed or timeout,
- Some file crashing failed, see logs for details
- Configuration: error: no acceptable C compiler found in $path
- Android Studio Error:Some file crunching failed, see logs for details
- Android Studio Error: Some file crunching failed, see logs for details
- Eclipse startup error: an error has occurred.See the log file E:\workspace\.metadata\.log.
- Validation failed for one or more entities. See ‘EntityValidationErrors’ property for more details
- 【EF】An error occurred while updating the entries. See the inner exception for details.
- configure: error: C++ preprocessor “/lib/cpp” fails sanity check