Fix to find MPI symbols from undefined symbols (#293)
* Fix to find MPI symbols from undefined symbols
* Moved condition checks before
* Fixing format
---------
Co-authored-by: Anuj Shukla <anujshuk@amd.com>
[ROCm/rocprofiler-systems commit: 67ec52b523]
This commit is contained in:
+8
@@ -1721,6 +1721,14 @@ main(int argc, char** argv)
|
||||
use_mpi = true;
|
||||
break;
|
||||
}
|
||||
else if(find_undefined_function_symbol(app_image, itr) != nullptr)
|
||||
{
|
||||
verbprintf(0,
|
||||
"Found undefined symbol '%s' in '%s'. Enabling MPI support...\n",
|
||||
itr, _cmdv[0]);
|
||||
use_mpi = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user