Fix Typecasting issues
use slurm_atoul instead of atoi