Isolate global params and read from argv for num_proc and num_snap