On Mon, 6 Jan 2003, Brian Williams wrote:
> [snipped]
> Or, to schedule a series of these script runs with the numbers already
> configured and to just schedule them out on the cluster. Should I use
> PBS or mpirun or something different? The documentation is a little
> overwhelming at first, especially for PBS.
Yes, the docs for PBS are somewhat complex, but definitely worth the
effort to understand.
PBS is probably your best bet -- some creative use of pbsnodes and the
$PBS_NODEFILE environment variable may give you what you describe. For
example:
- Number of free nodes currently under PBS control (from any node):
pbsnodes -a | grep "state = free" | wc -l
- Number of nodes in a PBS job (from the within the job itself):
wc -l < $PBS_NODEFILE
Hope that helps.
--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users