Running programs on Heracles
Heracles Cluster Machine has 16 nodes (node 2 to node 17) plus one
master node (node 1) plus one GPU node (Node18 has four GPUs). User
MUST NOT be run on master node but on compute nodes instead.
Before you run your programs, please be sure to check the cluster
select a non-busy compute node. Running
programs on busy compute nodes may result in incorrect performance benchmark.
- To run programs on compute nodes and node18, use the ssh command.
- You can run C, C++, openMP, cuda and Fortran programs on Heracles through ssh command.
- ssh will explicitly
define on which node the program will run.
ssh node<n> <path> myProgram arg1 arg2
n is the node number (n = 2, 3 … 18)
arg1, arg2, arg3…: program
ssh node5 /home/john/csc5551/cge 8 1
This command executes the cge program on node 5, where arg1 is 8 and
arg2 is 1.
Running C/C++/openMP and Fortran programs on Heracles
Running Cuda programs on Heracles
You can run C/C++/openMP and Fortran programs only on nodes 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 and 16.
Cuda programs can only be executed on node 18, because it is connected with four GPUs.
You can configure your program to run in any available GPU on node18.
Cuda programs need GPU in order to execute.