noInit Trace summary:

Step 1: State 0 -- noInit.c line 6 proc 0 [main@0->main@1] "MPI_Comm_rank(MPI_COMM_WORLD, &myrank);" -> State 1
Step 2: State 1 -- libmpi.c line 114 proc 0 [MPI_Comm_rank@0->MPI_Comm_rank@1] "assert MPIX_State == MPIX_INITIALIZED, "Attempt to call MPI_Comm_rank when MPI is not initialized";"

noInit Trace details:

begin state 0
  save = true
  onStack = true;
  seen = true;
  pathCondition : true
  begin model state
    begin shared variables
    end shared variables;
    begin process 0
      begin global variables
        MPI_REQUEST_NULL = (Ref[Record[MPIX_Comm_Record; id:int]])NULL (Ref[Record[MPIX_Comm_Record; id:int]]);
        MPI_STATUS_IGNORE = (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]])NULL (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]]);
        MPIX_State = 0 (int);
        myrank = undefined (int);
      end global variables;
      begin stack frame 0
        function : main;
        location : 0;
      end stack frame 0;
    end process 0;
    begin process 1
      begin global variables
        MPI_REQUEST_NULL = (Ref[Record[MPIX_Comm_Record; id:int]])NULL (Ref[Record[MPIX_Comm_Record; id:int]]);
        MPI_STATUS_IGNORE = (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]])NULL (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]]);
        MPIX_State = 0 (int);
        myrank = undefined (int);
      end global variables;
      begin stack frame 0
        function : main;
        location : 0;
      end stack frame 0;
    end process 1;
    begin process 2
      begin global variables
        MPI_REQUEST_NULL = (Ref[Record[MPIX_Comm_Record; id:int]])NULL (Ref[Record[MPIX_Comm_Record; id:int]]);
        MPI_STATUS_IGNORE = (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]])NULL (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]]);
        MPIX_State = 0 (int);
        myrank = undefined (int);
      end global variables;
      begin stack frame 0
        function : main;
        location : 0;
      end stack frame 0;
    end process 2;
  end model state
end state 0.

Step 1: State 0 -- noInit.c line 6 proc 0 [main@0->main@1] "MPI_Comm_rank(MPI_COMM_WORLD, &myrank);" -> State 1

begin state 1
  save = false
  onStack = true;
  seen = true;
  pathCondition : true
  begin model state
    begin shared variables
    end shared variables;
    begin process 0
      begin global variables
        MPI_REQUEST_NULL = (Ref[Record[MPIX_Comm_Record; id:int]])NULL (Ref[Record[MPIX_Comm_Record; id:int]]);
        MPI_STATUS_IGNORE = (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]])NULL (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]]);
        MPIX_State = 0 (int);
        myrank = undefined (int);
      end global variables;
      begin stack frame 1
        function : MPI_Comm_rank;
        location : 0;
        _comm = 1;
        _rank = &myrank;
      end stack frame 1;
      begin stack frame 0
        function : main;
        location : 0;
      end stack frame 0;
    end process 0;
    begin process 1
      begin global variables
        MPI_REQUEST_NULL = (Ref[Record[MPIX_Comm_Record; id:int]])NULL (Ref[Record[MPIX_Comm_Record; id:int]]);
        MPI_STATUS_IGNORE = (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]])NULL (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]]);
        MPIX_State = 0 (int);
        myrank = undefined (int);
      end global variables;
      begin stack frame 0
        function : main;
        location : 0;
      end stack frame 0;
    end process 1;
    begin process 2
      begin global variables
        MPI_REQUEST_NULL = (Ref[Record[MPIX_Comm_Record; id:int]])NULL (Ref[Record[MPIX_Comm_Record; id:int]]);
        MPI_STATUS_IGNORE = (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]])NULL (Ref[Record[MPI_Status; MPI_SOURCE:int, MPI_TAG:int, SIZE:int]]);
        MPIX_State = 0 (int);
        myrank = undefined (int);
      end global variables;
      begin stack frame 0
        function : main;
        location : 0;
      end stack frame 0;
    end process 2;
  end model state
end state 1.

Step 2: State 1 -- libmpi.c line 114 proc 0 [MPI_Comm_rank@0->MPI_Comm_rank@1] "assert MPIX_State == MPIX_INITIALIZED, "Attempt to call MPI_Comm_rank when MPI is not initialized";"
