8
0
Fork
You've already forked stopos
0
Create and manage computing tasks
  • C++ 86.4%
  • Roff 4.3%
  • Shell 3.8%
  • Makefile 3%
  • C 1.1%
  • Other 1.4%
Find a file
Bas van der Vlies 2b99e0a474 Merge branch 'readme-update' into 'master'
Updated README to include dependicies
See merge request surfsara/stopos!2 
2022年08月30日 10:40:34 +00:00
doc Initial commit 2019年01月02日 09:07:01 +01:00
aantekeningen.txt Initial commit 2019年01月02日 09:07:01 +01:00
cleanit Initial commit 2019年01月02日 09:07:01 +01:00
clocks.cpp Initial commit 2019年01月02日 09:07:01 +01:00
clocks.h Initial commit 2019年01月02日 09:07:01 +01:00
credits Initial commit 2019年01月02日 09:07:01 +01:00
files_pool.cpp Initial commit 2019年01月02日 09:07:01 +01:00
files_pool.h Initial commit 2019年01月02日 09:07:01 +01:00
flatfile_pool.cpp Initial commit 2019年01月02日 09:07:01 +01:00
flatfile_pool.h Initial commit 2019年01月02日 09:07:01 +01:00
gdbm_pool.cpp gdbm locking interfere with our locking so disable it 2022年08月24日 14:09:22 +02:00
gdbm_pool.h Initial commit 2019年01月02日 09:07:01 +01:00
index.html Initial commit 2019年01月02日 09:07:01 +01:00
LICENSE Initial commit 2019年01月02日 09:07:01 +01:00
Make.inc Initial commit 2019年01月02日 09:07:01 +01:00
Makefile Initial commit 2019年01月02日 09:07:01 +01:00
makefunction Initial commit 2019年01月02日 09:07:01 +01:00
makegdbmh Initial commit 2019年01月02日 09:07:01 +01:00
makeit Initial commit 2019年01月02日 09:07:01 +01:00
modulefile Initial commit 2019年01月02日 09:07:01 +01:00
mysql_pool.cpp Initial commit 2019年01月02日 09:07:01 +01:00
mysql_pool.h Initial commit 2019年01月02日 09:07:01 +01:00
prenv.cpp Initial commit 2019年01月02日 09:07:01 +01:00
protocol Initial commit 2019年01月02日 09:07:01 +01:00
README.md Updated README to include dependicies 2022年08月30日 12:35:46 +02:00
runtiming Initial commit 2019年01月02日 09:07:01 +01:00
sara-get-mem-size Initial commit 2019年01月02日 09:07:01 +01:00
sara-get-mem-size.1 Initial commit 2019年01月02日 09:07:01 +01:00
sara-get-num-cores Initial commit 2019年01月02日 09:07:01 +01:00
sara-get-num-cores.1 Initial commit 2019年01月02日 09:07:01 +01:00
shellenv.cpp Initial commit 2019年01月02日 09:07:01 +01:00
shellenv.h Initial commit 2019年01月02日 09:07:01 +01:00
showflatfiledb.c Initial commit 2019年01月02日 09:07:01 +01:00
split.cpp Initial commit 2019年01月02日 09:07:01 +01:00
startthttpd Initial commit 2019年01月02日 09:07:01 +01:00
stopos.h Initial commit 2019年01月02日 09:07:01 +01:00
stopos.man Initial commit 2019年01月02日 09:07:01 +01:00
stopos_key.cpp Initial commit 2019年01月02日 09:07:01 +01:00
stopos_key.h Initial commit 2019年01月02日 09:07:01 +01:00
stopos_pool.cpp Initial commit 2019年01月02日 09:07:01 +01:00
stopos_pool.h Initial commit 2019年01月02日 09:07:01 +01:00
stoposclient.cpp Initial commit 2019年01月02日 09:07:01 +01:00
stoposdump Initial commit 2019年01月02日 09:07:01 +01:00
stopospools Initial commit 2019年01月02日 09:07:01 +01:00
stoposserver.cpp Initial commit 2019年01月02日 09:07:01 +01:00
stoposzztostr.cpp Initial commit 2019年01月02日 09:07:01 +01:00
test1 Initial commit 2019年01月02日 09:07:01 +01:00
test2 Initial commit 2019年01月02日 09:07:01 +01:00
test_pool.cpp Initial commit 2019年01月02日 09:07:01 +01:00
todo Initial commit 2019年01月02日 09:07:01 +01:00
watchit Initial commit 2019年01月02日 09:07:01 +01:00
wrequest.cpp Initial commit 2019年01月02日 09:07:01 +01:00
wrequest.h Initial commit 2019年01月02日 09:07:01 +01:00
wtd.h Initial commit 2019年01月02日 09:07:01 +01:00
wutils.cpp Initial commit 2019年01月02日 09:07:01 +01:00
wutils.h Initial commit 2019年01月02日 09:07:01 +01:00
zzdo Initial commit 2019年01月02日 09:07:01 +01:00

Welcome to stopos

What is stopos

Stopos is a tool to manage large number of tasks, mostly started in jobs.

First, you define a 'pool' and fill it with lines (command lines, parameters, ...). Then, tasks (usually in jobs) ask stopos for a line. Stopos takes care that lines that are committed, will not be committed again, unless the user specifically requires to re-commit lines.

Typical usage

  • The user fills a pool with lines, consisting of parameters that are to be used by a program.
  • In a job: as many tasks as there are cores are started in parallel.
  • Each task asks stopos a line: stopos will give each task another line.
  • The task executes the required command using the line as parameter.
  • The task tells stopos that this line is now invalidated, it must not be committed ever again.

Stopos is server-based

Stopos is based on a client-server model. The clients runs on the compute cluster, the server runs on a server node.

Licence

Apache 2.0 2004

Download and install

Requirements

Debian:

  • zlib1g-dev
  • libcurl4-openssl-dev
  • g++
  • make
  • git
  • libgdbm-dev

SLES/RHEL:

  • zlib-devel
  • libcurl-devel
  • git-core
  • gcc-c++
  • make
  • gdbm-devel

Download

git clone https://gitlab.com/surfsara/stopos.git
cd stopos

Compile

# edit the make-script Make.inc to your taste
./makeit

After succesfull compilation, there are:

  • stoposclient, the client program
  • stoposserver, the server program
  • stoposzztostr, a program that takes on stdin a hex-encoded string (with pre-and postfix) and outputs the decoded string. This program can be useful when looking at the files on the server side.
  • stoposdump, a script that demonstrates the use of 'stopos dump'.
  • a script makefunction that creates a shell function called stopos. This shell function is normally used when invoking the program. It takes care of setting environment variables.
  • a man page: stopos.1 which describes the usage, also containing an example.
  • modulefile: an example of a modulefile to activate the stopos command. (Only useful if you use modules, but otherwise, it illustrates how to create a suitable alias (called stopos)) for the C-shell
  • a comprehensive description of the program in doc/description.pdf

More documentation

We have more user documentation on SURF's website.