Commit Graph

218 Commits

Author SHA1 Message Date
drdani 575e21172e conf and input file of test app
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@603 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
gombasg 1bfc6f8234 Make stand-alone mode work
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@601 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
drdani cf0391f687 use correct client name of this test app
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@600 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
drdani eb0799c718 reindent in linux style
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@599 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
drdani 2b2518c51d copy client's executable into working dir
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@598 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
drdani 6f778890dc copy client's executable into working dir
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@597 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
drdani bff1ee8bb4 implement resolveFilename and finish
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@596 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
drdani 6cc65293c2 implement addOutput, fix addInput and wu creation
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@595 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
drdani b28f9e077c remove defs which appeared in common
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@594 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
drdani eaeb57a7ae move file structure handling into separate source
move condor specific functions into separate source

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@592 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:29 +01:00
vida e8a7404f72 Change DC_DestroyMasterEvent to DC_destroyMasterEvent
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@591 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
drdani 74f36c323c copy permissions of the source file too
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@589 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 72c085d77b Add the location of the header files to the pkg-config files
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@586 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 45c31ab5c6 Use gtkdocize again
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@585 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 4bdf79e8e4 New Debian version
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@581 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 9da39018a3 Final touches on the doc reorganization
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@577 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 550f3f4eb9 Unify the documentation
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@576 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 04bab74d60 Removed testcase, it is available as apps/uppercase-demo now
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@575 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg ab2761ab91 Rename symbols so there are no conflicts between the client and the master
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@574 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 2cee04639d Remove the ClusterGRID backend, it is not maintained for a long time now
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@573 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 7994616813 Generate & send a default config file to the client as an input file
Add handling for stdout, stderr and client-side DC-API logfile
Make sure all output files exist to please the core client


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@572 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 12dab7f542 Separate log initialization on the client and master side:
- On the master, make sure the log file is an absolute path and prepend
  the working directory if it is not
- On the client side, resolve the log file name as a logical name


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@571 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:28 +01:00
gombasg 21a94ef352 Move the definitions of common configuration keys to dc_internal.h
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@570 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg de652249dc Move the definiton of logical names for stdout/stderr/client log to dc_common.h
and rename them to DC_LABEL_*


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@569 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg 86cd636aa0 -lsched should not be used on the client side
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@562 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg b5253aa824 Fix bugzilla bug #784
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@561 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg 6cf1a252c1 Fix bug #783
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@560 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg 726b613270 Add missing newline
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@559 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
drdani 21ddc0fbc9 use linux indentation style in these files only
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@558 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg 860728c9a3 Add a C wrapper for dir_hier_path() and consolidate current users
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@557 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg d15f74ba20 Enforce that the working directory is an absolute path
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@556 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg 8c9ecc48a1 Always return absolute path names for output files
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@555 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
gombasg 7a76985f29 attr_names may be non-NULL even when there are no attributes
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@554 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
vida 5faea1e62c Use DC_getClientCfgStr to get client informations
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@552 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:27 +01:00
vida e330ac5e6e Create WU workdir with mkdir instead of g_mkdir_with_parents.
The get_workdir is the same as in the BOINC DC-API. Maybe we can put it in common.

And the client exec name and path is given in the config file in form:
client-<logical name>-linux = <physical name>



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@550 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
vida 7d98958ea7 Local DC-API Requires uuid as BOINC DC-API.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@549 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg b1a884c51d Fix nightly build breakage
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@546 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
drdani 06e83d9d71 white space noise: indent lines in linux style
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@545 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
drdani 31328bce6e fix of test app compilation because some part of the condor_master lib is c++
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@544 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
drdani cb7ad0de00 c++ code will be used later on, so compile it with c++
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@543 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg b5c5ff98e2 There is no C++ code in condor_master, so do not build it with a C++ compiler
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@542 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg 2b336a0aa9 Make max/estimated fpops configurable
Deduce the WU state from the database
Fix the calculation of running WUs
Add support for counting aborted WUs


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@541 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg cc1a3692a4 Enable condor builds by default
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@540 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg a3e599332e Add DC_getClientCfgDouble() because BOINC sometimes requires configuration
values that do not fit in an 'int'


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@539 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg ebde576b43 Add doc-base support for libdcapi-doc
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@538 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:26 +01:00
gombasg ff34a5c12b Fix bug #773 (hopefully)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@537 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani 81e51ba564 try to fix test app compilation problem (no success)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@536 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani 6ca39e38c3 resolving mixed namings master-client, sever-slave to master-slave (2nd phase: correct make and source files)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@535 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
vida bd0fb78179 Gondolom csak eliras
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@534 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani f60952e2ea test application master an slave
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@533 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00