Portugal said it would shut schools, non-essential services and a top world tech conference on Wednesday, as it braces for gale-force winds of Storm Charles.