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
vida
977ca12654
Fix some in result.c and adding it to Makefile
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@532 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani
6a0ef91948
resolv mixed namings master-client,server-slave to master-slave (phase1: files renamed)
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@531 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani
e6e87a314f
try to compile test app
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@530 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
gombasg
2f6a8a96d6
Implement DC_sendWUMessage() and DC_cancelWU()
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@527 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani
b5e630a2fc
intro of implementation of condor submit file generation
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@520 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani
5096f77106
renaming "private wu methods" to wu_XXX
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@519 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani
a4c1c46fe5
clean up working directory when destroying wu
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@518 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani
0d16da23a3
compile condor/dcapi files
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@517 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:25 +01:00
drdani
6ce4254b41
initial checkin
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@516 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
e57e1a12ea
</workunit> was missing
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@504 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
1b92d7e515
GErrors should be initialized to NULL
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@500 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
61788fe106
Fix function names and prototypes
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@498 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
3d3bdba736
Add 'const' to some function parameters
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@497 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
e16656dd00
Add all missing functions
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@496 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
bcb3aff2bb
Use the constants from the BOINC API headers
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@495 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
a24feb3cd6
Fix gcc warning
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@494 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
32280f169f
Add 'const' where it is appropriate
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@493 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
gombasg
ed99553500
libdcapi-dev should depend on libglib2.0-dev
...
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@492 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00
vida
ff35787944
DC_getResultExit implemented.
...
DC_getResultOutput can now give back stdout and stderr files.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@491 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:24 +01:00