Commit Graph

32 Commits

Author SHA1 Message Date
atisu 3bda0723fc Win32 and Linux compilation fixes (Jozsef Kovacs)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2593 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:02 +01:00
gombasg 04d29d0b89 Modernize the DC-API autoconf macros
Fix static linking for the client side
Allow the caller to specify the actions when the client/master is found
or not found

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2278 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg 5bc0dba9a7 Updates to build with lenny & the new BOINC package
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2201 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg fb679d3d07 Fix memory leak
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1359 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:53 +01:00
gombasg bac5b6fc6c Install/distribute dc-api.conf and input.txt
Fix 'make distcheck'


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@969 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:47 +01:00
gombasg f0f85276d1 Improved DC-API detection and error reporting
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@967 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:47 +01:00
gombasg 2469b10e30 Use sample_trivial_validator that comes with BOINC
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@966 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:47 +01:00
gombasg fb03f6a8d5 Remove unused parts from the XML description
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@811 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:40 +01:00
gombasg 8b4eb3ff86 Add a header for definitions common to the master and the client
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@810 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:40 +01:00
gombasg afcc32fe1a Remove unused parts from the XML description
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@808 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:40 +01:00
gombasg a2e5ff7913 Add common.h
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@807 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:40 +01:00
gombasg d7f3b4e309 Add a header for definitions common to the master and client
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@806 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:40 +01:00
gombasg 83f4bb6297 Remove checkpoint support - it is not the goal of this example
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@805 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:39 +01:00
gombasg 9948e538b5 Ignore generated files
Remove the checkpoint from the client - it is not the goal of this example
Fix the XML descriptions
Add a header for definitions common to the client and the master
Make the master periodically send messages until the result is received


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@804 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:39 +01:00
gombasg f329e5f45b Update to match the application
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@773 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:39 +01:00
gombasg bc62062299 The config file is mandatory
Avoid warnings on 64bit
Remove newlines from log messages


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@772 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:39 +01:00
vida fe7fc62025 Example application, for testing serialize and deserialize functions
Created because of: Bug 895



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@768 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:39 +01:00
vida a7f92712c1 An example application especially for G. Gabor,
helping him to fix the last bug in the Bugzilla (bug 795).




git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@743 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:37 +01:00
gombasg 5766a16e33 src dir is gone
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@695 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg 63e8390611 Flatten directory structure (this is a DC-API example, not an autotools example)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@694 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg b92ee9ef1b Rework master:
- Reindent
- Unify function name style by converting to lower case
- Simplify WU creation by creating fixed-size WUs instead of fixed number of WUs
- Add more diagnostic messages
- Add command line argument parsing


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@693 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg fdb20e6a0b ACLOCAL_AMFLAGS is still needed
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@692 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg bc04239dc9 Build fixes
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@691 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg 5b7ce54629 The 'cf' subdir is gone
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@690 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg 19af3042d2 Rename master.conf to dc-api.conf
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@689 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg 97a1bcaf08 The example config should not contain values for a particular installation
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@688 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg d841a7bcd1 Clean up the client code:
- Reduce number of variables used
- Reduce the scope of variables
- Use proper English for comments and diagnostic messages
- Reindent
- Fix the checkpoint logic
- Improve the diagnostic messages


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@687 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg 547e3ef6eb Flatten directory structure (src remains for now)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@686 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
gombasg b08f484c17 There is no reason to put the input file in a subdirectory
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@685 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:34 +01:00
vida 3b9c5fd4ae Move master_input.txt into the workdir.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@644 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:31 +01:00
vida ed3b5a90b0 Renamed uppercase-demo to uppercase-example in everywhere,
and changed every DC-API function call to 2. generation DC-API.

added cf/dcapi.m4



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@638 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:30 +01:00
kadam 6ab19bda9e DC-API example application added
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@637 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:30 +01:00