Data driven volunteer cloud
Java Shell HTML JavaScript Perl PLSQL Other
Switch branches/tags
Nothing to show
Clone or download
lodygens Merge pull request #21 from lodygens/13.0.0-billing
This version introduces "envelopes" and a new status "FAILED"

-1- Envelopes defines limits a computation must be confined to:

maxWallClockTime: time limit a computation is confined to; in seconds
maxCpuSpeed: CPU usage a computation is confined to; in percentage (https://docs.docker.com/engine/reference/run/#cpu-period-constraint)
maxFreeMassStorage: disk usage a computation is confined to; in bytes
maxFileSize: file length is confined to; in bytes
maxMemory: RAM usage a computation is confined to; in bytes (https://docs.docker.com/engine/reference/run/#user-memory-constraints)

-2- new status "FAILED"
This new status denotes a job that tried to overpass its envelope limitations
Latest commit 9428e48 Apr 5, 2018
Permalink
Failed to load latest commit information.
gradle/wrapper Update gradle wrapper version Feb 1, 2018
libXtremWeb web3j dependencies Feb 7, 2018
src envelopes don't apply to applications Apr 4, 2018
.classpath eclipse classpath Jan 15, 2018
.gitignore Added cacerts Jan 16, 2018
.gitmodules Added web3j worker submodule Mar 13, 2018
.project This version introduces data driven scheuling Jan 27, 2015
.travis.yml travis ci Jan 9, 2018
AUTHORS This version introduces data driven scheuling Jan 27, 2015
COPYING This version introduces data driven scheuling Jan 27, 2015
ChangeLog We use github instead of trac May 13, 2016
Copyrights.txt This version introduces data driven scheuling Jan 27, 2015
INSTALL java 1.7 Jul 8, 2016
LICENSE license Mar 14, 2018
License.bouncycastle This version introduces data driven scheuling Jan 27, 2015
License.jopenid This version introduces data driven scheuling Jan 27, 2015
License.jose4j https://bitbucket.org/b_c/jose4j May 4, 2017
License.scribejava scribejava Dec 8, 2016
License.smartsockets-1.4 This version introduces data driven scheuling Jan 27, 2015
License.tanukisoftware license Dec 5, 2017
README.md Update README.md Mar 8, 2018
Todo.txt We use github instead of trac May 13, 2016
build.gradle Linux and Mac OS X hardware reports are now coherent; Win32 not tested Mar 22, 2018
common.gradle a default env is created as startup Mar 22, 2018
gradle.properties 13.0.0 Mar 27, 2018
gradlew oui Dec 21, 2017
gradlew.bat oui Dec 21, 2017
install.xml oui Dec 21, 2017
jni.xml oui Dec 21, 2017
linuxDPKG.gradle Add jar dependencies for DPKG client Feb 15, 2018
mac.gradle Split gradle file into several Jan 4, 2018
settings.gradle oui Dec 21, 2017
sonar-project.properties This version introduces data driven scheuling Jan 27, 2015
windows.gradle Split gradle file into several Jan 4, 2018

README.md

xtremweb-hep

Data driven volunteer cloud

Status

Build Status

Quick start

The easiest way is by using Docker. Please see Docker deployment.

Manual Build

Pre-requisites

The following should be already installed on the machine:

  1. make
  2. ant
  3. Java JDK (The variable JAVA_HOME should also be set.)

Build

Gradle is used to build the project. You can use either the native gradle command if gradle is available on your system:

gradle buildAll

or if gradle is not installed, you can use it's wrapped version, simply type:

./gradlew buildAll

To build Docker images locally

gradle buildAll buildImages -Penvironment=docker

Run

After the build, in the folder build/dist/xtremweb-X.Y.Y-SNAPSHOT/bin, you can call the server, worker:

For the server:

./xtremweb.server console

For the worker:

./xtremweb.worker console

The client's commands can be called natively in the /bin folder:

  1. xwapps
  2. xwusers
  3. xwworkers
  4. ...

Run in docker

It is also possible to run the scheduler and one worker using docker out of the box. For that, you simply need to call the script

docker-compose-firstinstall.sh

in xtremweb-hep/build/dist/xtremweb-X.Y.Z/docker/docker-compose-firstinstall.sh, the first time. After that, if you want to restart the docker containers, you can call the script:

docker-compose-simple-run.sh

Some variables will be set by default but they can be modified in the file .env next to the docker-compose file.