Abstract: An information processing apparatus includes a thread scheduler that allocates a process to multiple process execution hardware that process a program having a graph structure. The information processing apparatus includes: a code reader that reads a diagnostic code stored in advance; and an allocator that causes the multiple process execution hardware to execute the diagnostic code so as to complete diagnosis within a mean time to failure.