- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have been trying to configure (and compile) the PETSc library with impi 5.0.1 (and ifort Version 15.0.0.090 Build 20140723) using mpiicc script for C compilation. However, the configure process fails with the error "...compiler mpiicc is broken! It is returning a zero error when the linking failed..."
I think that there might be an issue with the following code snippet located at the end of the mpiicc script:
if [ "$linking" = yes ] ; then $Show $CC $CFLAGS "${allargs[@]}" -I$includedir -L${libdir}${MPILIBDIR} -L$libdir $rpath_opt $mpilibs $I_MPI_OTHERLIBS $LDFLAGS $MPI_OTHERLIBS if [ "x$strip_debug_info" = "xyes" ] ; then $Show objcopy --only-keep-debug ${executable} ${executable}.dbg $Show objcopy --strip-debug ${executable} $Show objcopy --add-gnu-debuglink=${executable}.dbg ${executable} fi rc=$? else $Show $CC $CFLAGS "${allargs[@]}" -I$includedir rc=$? fi exit $rc
There, the return code in the "linking regime" (first branch) seems to be always zero even if the linking fails, e.g., because of a missing library.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This has been corrected in Version 5.0 Update 2.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page