Hi all, I am trying to using OpenMP to parallelize a loop in C++. The iterator for the loop is defined by std::list using C++ standard library containers. The following is an example: for (std::list<int>::iterator it=mylist.begin() ; it != mylist.end(); ++it) std::cout << ' ' << *it; However, I found I can not use OpenMP command to do the parallelzation (#pragma). The simulation runs very slowly. For OpenMP, the first index in the for loop must be a integer for parallelzation. Does anyone encounter the same problem and have any idea how to solve it? Thank you very much!