Training for petroleum engineering