Utils in HepLib
There are several useful utils installed to the directory <INSTALL PATH>/bin
.
heplib++ - HepLib g++
The basic uage:
The content in this script
heplib-config - parameters
Genernal information of heplib-config
from heplib-config --help
heplib-config --prefix
to get the<INSTALL PATH>
heplib-config --cflags
to get the-I’<INSTALL PATH>/include’
heplib-config --ldflags
to get the-Wl,-rpath,. -Wl,-rpath,’<INSTALL PATH>/lib’ -L’<INSTALL PATH>/lib’
sc - Server / Clients
Genernal information of sc
from sc --help
One can run the following command on the master node
One will get the message as follows:
The server is ready to dispatch item (from 0
to 99
) to the connected slave node.
Now one can run the following command on each slave node
one will see the slave node will repleatly get the item from the server, and exceute the command echo [i]
, note that [i]
will replaced by the actual index (form 0
to 99
).
Note that to prevent the command to run multiple times on the same [i]
, one can generate a [i].log
from the command, e.g.,
sc will skip the item [i]
when there is a file named [i].log
.
Last updated