Trump cautions Iran on compliance