Perhaps I don't understand, but mpirun has no problem being executed using the "at" command. Perhaps the problem is that you don't have permission for "at"? Per the man page:
The superuser may use these commands in any case. For other users, permission to use at is determined by the files /etc/at.allow and /etc/at.deny. If the file /etc/at.allow exists, only usernames mentioned in it are allowed to use at. If /etc/at.allow does not exist, /etc/at.deny is checked, every username not mentioned in it is then allowed to use at. If neither exists, only the superuser is allowed use of at. An empty /etc/at.deny means that every user is allowed use these commands, this is the default configuration. You also might check to see what directory mpirun is executed from when "at" actually runs, and that the path to both mpirun and your executable are correct for that location. On Aug 26, 2013, at 6:45 PM, Ng Shi Wei <nsw_1...@hotmail.com> wrote: > Hi all, > > Due to the time constraints, I would like to run the mpi program by > scheduling the program to run on desired time using the "at" command. > However, it seems that the mpirun doesn't execute the mpi program at the > desired time using the "at" command. > > I would like to ask is there any other method to schedule a program to run ? > For best, it can straight away starts the second mpi program once the > previous program is finished. > > Hope to get some reply from you all. > > Thanks in advance. > > Best Regards, > Shi Wei > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users