There are many dump files generated at each timestep. However, I would like to modify the in file so that only one dump file comes out. How do I fix it?
dump 1 all cfg 10000 dump.al_sig5_310_*.cfg mass type xs ys zs c_csym c_eng fx fy fz
dump_modify 1 element Al Al
You have to use a different dump style where you are not forced to use a filename containing a ‘*’ character, which prompts LAMMPS to replace it with the timestep number and write out one dump file per output step.
The .cfg files are meant to be read with the AtomEye program which requires this format. Of course, if you absolutely want to keep this format, you can always concatenate the individual files after the fact. But LAMMPS will not let you do that directly from the dump command itself.