#1308: MPI: use library list provided by mpic++ instead of guessing (wrong) ------------------------------------+--------------------------------------- Reporter: knarf | Owner: Type: defect | Status: reopened Priority: major | Milestone: ET_2013_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: ------------------------------------+--------------------------------------- Changes (by eschnett):
* status: closed => reopened * resolution: fixed =>
Comment:
I just realise that this auto-detection will be executed for all MPI implementations, not just for OpenMPI. These may not support these command line options, although an executable mpic++ will exist. Therefore, instead of checking whether mpic++ is executable, we need to check the return code of calling mpic++ with these options, and/or check whether the result is empty or an error message.