ifstream myfile (f, ios::in); /* Opens the matrix file, pointed to by f */ cout << "Process " << rank << " file opened." << endl; if (myfile.is_open()){if(rank != 0) printf("rowCount = %d\n", rowCount);