Description Usage Arguments Details
This function is a simple wrapper around the system() command. As such, data is not shared between the calling R process and the batch processes which execute the 'body' source.
1 2 |
body |
character; the pbdR script to be evaluated. |
mpicmd |
The command to launch mpi as a string (e.g., "mpirun", "mpiexec", "aprun", ...). |
nranks |
The number of MPI ranks to launch. |
auto |
logical; determines if the script should automatically load the pbdMPI package, and call init() (at the beginning) and finalize() (at the end). |
auto.dmat |
logical; determines if the script should automatically load
the pbdDMAT package and call init.grid(). Automatically sets |
pid |
Logical; determines if the process id (pid) should be printed to the terminal or not. This is useful if you need to kill a hung job. |
wait |
Logical values passed to R's |
temp |
A temporary file path that is accessible to all nodes, including the client. See details for a full explanation. |
Simple tool for executing pbdR batch jobs from inside R.
This is a simple wrapper around a system call to mpirun on the input script.
Temp needs to be a file that the client and all servers can read from.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.