What is the meaning of fermi level in DMOL3 code?

Dear all,

I do not clearly  understand the Fermi value from the DMOL3 code in case with molecule calculation and periodic structure calculation? Is it consitent with the work function in case periodic calculation (with enough vacumm)?

I am looking forward to your reply!

Sincerely,

Dinh Loc Duong