2018 · 15 citations · 10 references
Program CheckingEngineeringCompiler TechnologyVerificationComputer ArchitectureComputer-aided VerificationSoftware AnalysisFormal VerificationHardware SecurityCompilersParallel ComputingMemory ManagementRuntime VerificationCompiler SupportComputer EngineeringComputer ScienceAcceptable RuntimeOptimizing CompilerProgram AnalysisSoftware TestingFormal MethodsParallel ProgrammingCompiler-aided Type TrackingMemory AllocationPerformance PortabilityCoral Mini ApplicationsSystem Software
MUST, a dynamic MPI correctness checker, is extended with a type and memory allocation tracking sanitizer called TypeART for C/C++ codes based on the LLVM compiler framework. The sanitizer extracts type information and inserts instrumentation to track memory allocations and deallocations relevant to MPI communication. This allows MUST to check for type compatibility between the type-less communication buffer and the declared MPI datatype at all phases of the MPI communication, namely message assembly, message transfer and message disassembly into the receiving buffer. We evaluate our approach on benchmarks taken from SPEC MPI 2007 and two CORAL mini applications. The results show that our approach typically exhibits acceptable runtime and memory overheads. In particular, the memory overhead was below 20% in all cases.
10