Hi, The problem is when I run the batch file, it says my home directory is 'home/lei', but if I do echo $HOME, it gives me 'home/eos/lei', I just not sure where in the batch file to specify my home directory and how that should be done. All I try is the example from http://www.zaphod.sr.unh.edu/wiki/index.php?title=Run_an_MPI_job Thanks,