write message in the core with rank = 0, keep replacing a line by a new message
write message in the core with rank = 0, stop replacing a line by a new message
func write_message will also print in the log file
func write_message will not print in the log file
write message in the core with rank = 0