Iran is the second largest oil producer in OPEC .