Venezuela 's president has called on the international community to do everything possible to avoid a military conflict with Iran because of its nuclear program .