Ok, I ran the build manually and came up with the same result. I then found a post on the OpenMPI mailing list that provided the solution: http://www.open-mpi.org/community/lists/users/2014/05/24383.php
Adding the following to the eb file fixed the compilation issue. preconfigopts = 'CFLAGS="-fgnu89-inline" ' So, the question, is this an issue that's only present on CentOS 5.x and similar older distributions? If so, is there a way to configure the eb file so that it conditionally sets the CFLAGS option? $ eb OpenMPI-1.8.3-GCC-4.9.2.eb --robot == temporary log file in case of crash /tmp/easybuild-Sv4h6h/easybuild-wSIiPN.log == resolving dependencies ... == processing EasyBuild easyconfig /share/apps/tools/easybuild/eb/OpenMPI-1.8.3-GCC-4.9.2.eb == building and installing OpenMPI/1.8.3-GCC-4.9.2... == fetching files... == creating build dir, resetting environment... == unpacking... CFLAGS="-fgnu89-inline" ./configure== patching... == preparing... == configuring... == building... == testing... == installing... == taking care of extensions... == packaging... == postprocessing... == sanity checking... == cleaning up... == creating module... == COMPLETED: Installation ended successfully == Results of the build can be found in the log file /share/apps/tools/easybuild/software/OpenMPI/1.8.3-GCC-4.9.2/easybuild/easybuild-OpenMPI-1.8.3-20141217.235742.log == Build succeeded for 1 out of 1 == temporary log file /tmp/easybuild-Sv4h6h/easybuild-wSIiPN.log has been removed. == temporary directory /tmp/easybuild-Sv4h6h has been removed. ________________________________ From: Mike Hanby Sent: Wednesday, December 17, 2014 9:23 PM To: [email protected] Subject: OpenMPI 1.8.1 Howdy, I'm trying to build OpenMPI 1.8.1 via EasyBuild 1.15.2 on CentOS 5.10 64bit. The hardware is a Dell R620 with dual Xeon CPU E5-2680 (8 cores each) and QDR Infiniband The build keeps failing with "FAILED: Installation ended unsuccessfully" The build successfully compiles GCC 4.8.3, so hopefully that's a good litmus test that EasyBuild is working right. Here's the full build console output (EasyBuild log is attached): $ eb OpenMPI-1.8.1-GCC-4.8.3.eb --robot == temporary log file in case of crash /tmp/easybuild-ooUwlc/easybuild-BWRA5n.log == resolving dependencies ... == processing EasyBuild easyconfig /share/apps/tools/easybuild/software/EasyBuild/1.15.2/lib/python2.4/site-packages/easybuild_easyconfigs-1.15.2.0-py2.4.egg/easybuild/easyconfigs/o/OpenMPI/OpenMPI-1.8.1-GCC-4.8.3.eb == building and installing OpenMPI/1.8.1-GCC-4.8.3... == fetching files... == creating build dir, resetting environment... == unpacking... == patching... == preparing... == configuring... == building... == FAILED: Installation ended unsuccessfully (build directory: /home/mhanby/.local/easybuild/build/OpenMPI/1.8.1/GCC-4.8.3): build failed (first 300 chars): EasyBuild crashed with an error (at easybuild/software/EasyBuild/1.15.2/lib/python2.4/site-packages/easybuild_framework-1.15.2-py2.4.egg/easybuild/tools/build_log.py:75 in caller_info): cmd " make -j 16 " exited with exitcode 2 and output: Making all in config make[1]: Entering directory `/home/mhan == Results of the build can be found in the log file /tmp/easybuild-ooUwlc/easybuild-OpenMPI-1.8.1-20141217.205346.MELXP.log ERROR: EasyBuild crashed with an error (at easybuild/software/EasyBuild/1.15.2/lib/python2.4/site-packages/easybuild_framework-1.15.2-py2.4.egg/easybuild/tools/build_log.py:75 in caller_info): Build of /share/apps/tools/easybuild/software/EasyBuild/1.15.2/lib/python2.4/site-packages/easybuild_easyconfigs-1.15.2.0-py2.4.egg/easybuild/easyconfigs/o/OpenMPI/OpenMPI-1.8.1-GCC-4.8.3.eb failed (err: 'build failed (first 300 chars): EasyBuild crashed with an error (at easybuild/software/EasyBuild/1.15.2/lib/python2.4/site-packages/easybuild_framework-1.15.2-py2.4.egg/easybuild/tools/build_log.py:75 in caller_info): cmd " make -j 16 " exited with exitcode 2 and output:\nMaking all in config\nmake[1]: Entering directory `/home/mhan') Any thoughts or suggestions? I've tried copying the OpenMPI-1.8.1-GCC-4.8.3.eb file and updating it for OpenMPI 1.8.3 and GCC 4.9.2 (which I also installed via EasyBuild) and it still fails the same. Any help would be appreciated. Thanks, Mike

