-
Notifications
You must be signed in to change notification settings - Fork 5
Quickstart
Philipp Gschwandtner edited this page Apr 26, 2017
·
1 revision
This is the quickstart guide for the impatient. If you run into problems or prefer more information, please check the more elaborate Install Guide
Fork or clone the SDK repo
git clone [email protected]:allscale/allscale_sdk.git name-of-your-repo
and run the setup script to create example source files
cd name-of-your-repo
scripts/setup/run project-name
Put the following pfor
-based "Hello World" code in code/app/src/project-name.cxx
#include <iostream>
#include <allscale/api/user/operator/pfor.h>
using namespace allscale::api::user;
int main() {
pfor(0, 10, [](int i) {
std::cout << "Hello World " << i << "!" << std::endl;
});
return 0;
}
Build your application
mkdir build
cd build
cmake ../code
make -j4
and run it
app/project-name
Part of the AllScale project - http://www.allscale.eu