All you have to do is read the documentation - a simple "man at" would give you a detailed explanation of the at command:
NAME at, batch, atq, atrm - queue, examine or delete jobs for later execution SYNOPSIS at [-V] [-q queue] [-f file] [-mldbv] TIME at [-V] [-q queue] [-f file] [-mldbv] -t time_arg at -c job [job...] atq [-V] [-q queue] atrm [-V] job [job...] batch DESCRIPTION at and batch read commands from standard input or a specified file which are to be executed at a later time. at executes commands at a specified time. atq lists the user’s pending jobs, unless the user is the superuser; in that case, everybody’s jobs are listed. The format of the output lines (one for each job) is: Job number, date, hour, queue, and username. atrm deletes jobs, identified by their job number. batch executes commands when system load levels permit; in other words, when the load average drops below 0.8, or the value speci- fied in the invocation of atd. ... Then write a simple script: #!/bin/sh mpiexec <first job> mpiexec <second job> ... and run it using one of the at-like commands. On Jan 3, 2014, at 11:37 PM, Ng Shi Wei <nsw_1...@hotmail.com> wrote: > Any examples ? I am not familiar with task scheduling. > > Your Help will be appreciated. > > Thanks in advance. > > Best Regards, > Shi Wei. > > From: r...@open-mpi.org > Date: Fri, 3 Jan 2014 19:00:06 -0800 > To: us...@open-mpi.org > Subject: Re: [OMPI users] Unable to schedule an MPI tasks > > Why don't you just have one script that executes all the jobs sequentially, > and then use the "at" command to start it? > > > On Jan 3, 2014, at 8:36 AM, Ng Shi Wei <nsw_1...@hotmail.com> wrote: > > Hi Reuti, > > May I know how to starts the second mpi program once the previous program is > finished? I am using Fedora Cluster. > > Hope you can provide me some guide on this. > > Thank you. > > Best Regards, > Shi Wei. > > > From: re...@staff.uni-marburg.de > > Date: Tue, 27 Aug 2013 08:56:26 +0200 > > To: us...@open-mpi.org > > Subject: Re: [OMPI users] Unable to schedule an MPI tasks > > > > Hi, > > > > Am 27.08.2013 um 03:45 schrieb Ng Shi Wei: > > > > > 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. > > > > Is this a local machine just for you, a cluster for you or one shared by > > several users? > > > > You could also think of implementing a full blown queuingsystem like SoGE > > https://arc.liv.ac.uk/trac/SGE or > > Torquehttp://www.adaptivecomputing.com/products/open-source/torque/ > > > > You don't have to think about a time when the job should start then (even > > though this is possible with the -a option), but requesting the intended > > number of cores will allow a job to run as soon as these resources are > > available. I.e. you can submit several jobs at once but they will be > > executed one after the other without oversubscribing the available > > resources. > > > > -- Reuti > > > > NB: There is also the command `batch` in the at-suite to start the next job > > when the load drops under a certain value. > > > > > > > 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 > > > > _______________________________________________ > > users mailing list > > us...@open-mpi.org > > http://www.open-mpi.org/mailman/listinfo.cgi/users > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > > > _______________________________________________ users mailing list > us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users > _______________________________________________ > users mailing list > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users