How to use the source_newgen.f read the phase_space file?

Dear David,
Thank you for your reply, I have solved the above problem. What should I do if I want to activate source_newgen.f to read the phase space file? It doesn’t read the file when I use the card of SOURCE and the card of BEAM, or I use the card of SOURCE? Is there any tutorial?
Best wishes,
An