<div dir="ltr">Hi, <div> I am on OS Mavericks and using the gcc in Xcode 5.02. I configured petsc using the following options and installed petsc successfully. Petsc also downloaded and installed openmpi successfully. </div>
<div><br></div><div>However, when I go to the $PETSC_DIR/$PETSC_ARCH/externalpackages/openmpi-1.6.4 and and run configure with the same options(found in openmpi-1.6.4/config.log), the configuration of openmpi failed due to the test for c compiler failed: </div>
<div>
<p class="">checking for gcc... gcc</p>
<p class="">checking whether the C compiler works... no</p>
<p class="">configure: error: in `/Users/shiyuangu/softwares/openmpi/1.6.4':</p>
<p class="">configure: error: C compiler cannot create executables</p><p class="">When petsc configure openmpi, does petsc use clang too? If so, how does petsc build openmpi using clang? configure.log is attached. </p><p class="">
Thanks. </p><p class="">Shiyuan </p></div></div>