write PCU_Protect() process stack to trace<Rank>.txt