President urges intellectuals to play role in countering terrorism