changes for parsing gromacs input file for memory and cpus