Commit Graph

23037 Commits

Author SHA1 Message Date
zfarkas 8306bdd4af Fix DC-API build.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2465 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
zfarkas d6c45c9496 Get rid of some warnings, update the docs (now complete).
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2463 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
zfarkas 6a953dfaec Remove not existing function.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2462 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
smith 4da13c9b5d Incrementing version from 1.0.0 to 1.0.1. One extra function called DC_setWUBatch has been
added, therefore "This release has a new, but backwards incompatible interface" . See 
http://sourceware.org/autobook/autobook/autobook_91.html for reasons of version change.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2460 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
smith 3c1832c9f9 Fix typo and add the function to the header.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2457 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
smith 558d300726 Adding DC_setWUBatch function.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2456 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
smith 1a5650397a Adjusting attic file handling.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2447 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
zfarkas b3ddc658b9 Do not report local files as unsupported.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2428 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
zfarkas 848d37f6c6 strncmp returns match as 0.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2427 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
zfarkas 49d8a70931 A little update on ADICS.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2426 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:10:00 +01:00
zfarkas ff5a29e03b Remove printf, fix illegal instruction, and one printf warning.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2423 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
zfarkas e7b1c31166 Fuuuu selective copy-paste :)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2408 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
zfarkas 44e9fbf44c Use size_t instead of int for remote file size.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2407 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
zfarkas 2cb497ec58 Remove DC_addWURemoteInput and DC_addWUInputAdvanced, merge into va_arg'ized
DC_addWUInput.


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2406 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
zfarkas 1397ae1a2b Added support for "remote" files at least in BOINC.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2385 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
atisu d47ae1c89e - make the number of Condor submit retries and the sleep interval configurable
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2353 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
atisu 62acb628bf _proper_ fix (r2350, r2351)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2352 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
atisu 5ede5178a5 Try with increasing sleep time
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2351 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
atisu 38d7fffeca Fix: If too many jobs are submitted to Condor at once, it will start refusing jobs, wait and retry.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2350 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
atisu e45d5f41ba fix typo in documentation
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2345 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
atisu d284b92e1f - Fix typo: DC_LogicalFile does not exist.
- Condor backend: add support for comma separated list of 
   input (%I) and output (%O) files in submit template.
   When there is no shared filesystem among the cluster nodes,
   Condor needs a list of files ('transfer_input_files' parameter)
   to copy them to the nodes.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2344 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
smith 6c12f48dd4 DC_getWUId is modified to return the boinc database id of the wu.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2323 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:59 +01:00
smith 39e5415019 Adding new public function DC_addWUInputAdvanced to support the definition of physical file name and its hash.
Implemented only for boinc. Other backends drop error.



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2321 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
smith bc1fff6de5 Commented text has been removed.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2317 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
smith 0d143bf7c7 Modifying md5 has file creation for DC_addWUInput():
Hash file is created directly in the boinc download directory instead of the DC-API workunit working directory.


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2316 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
smith 0d28e98f9f DC_addWUInput function is modified to receive externally generated hash for the input file. This hash is received and stored under boinc in a file with the same name and extension ".md5".
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2315 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg 725f19acbc Build fix with gcc-4.4
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2307 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg 2213eb6f87 Handle optimization failures gracefully
DC_FILE_PERSISTENT and DC_FILE_VOLATILE are just optimizations so if
the implied operation fails, just fall back to regular copying instead
of aborting the WU submission.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2305 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg 61c1eab9b3 Add support for native BOINC client applications
If the client configuration in dc-api.conf has "NativeClient = yes", do
not add DC-API specific input and output files.
Also change the default of EnableSuspend to false.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2295 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg 6feecbc9d8 Get rid of an unused definition
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2294 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg d65b45c063 Fix the location of the Python modules
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2292 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg 78ece805ee Use m4_ifval() instead of m4_ifblank()
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2285 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:58 +01:00
gombasg e1b78db1ae Fix typos
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2284 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg addc0662b4 Added the dcapi-deploy script
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2279 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +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 8bf1e61da7 Remove references to Condor from the local backend
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2277 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg 5a06bfd36e New Debian package
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2253 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg ad13a8423a Remove left over extra free() call
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2252 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg 89e2644dfe Add the missing API functions to the local backend
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2246 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg a3fbc457fc New Debian version
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2245 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg 4e5907b927 Add symbols files for the shared library packages
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2244 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg f2830d1ba3 Make internal symbols hidden
We now have to start to care about ABI compatibility now that shared
libraries are being used. So ensure that internal symbols are not
visible outside of the library.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2243 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg 413d4b1c5b New Debian version
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2242 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg 85e1529d55 Rename libraries from libdc-* to libdcapi-*
Lintian complained about the shared library packages having a different
name than the enclosed libraries. Since nobody has been using the shared
libraries yet, and all software depending on DC-API should get the name
of the libraries from pkg-config, this change is the less distruptive.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2241 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:57 +01:00
gombasg e65c2844cd Make the -dev packages depend on the resp. shared library
Otherwise installing just the -dev package will cause build failures
because of the *.so symlink pointing to a non-existant location.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2240 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg ef794d7ede Fix the debug package
It should be Arch: any, not Arch: all.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2237 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg de84a39d4a Enable shared libraries for BOINC and local master
Condor does not have a shared library, and shared libraries on the
client side would be problematic ATM. Also add a debug package.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2236 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg 8e0c75ade0 Wrong include directory in _autosetup
There is no need to specify the include directory at all, autoreconf can
figure it out from configure.ac.

git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2230 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg bba4e934ed New Debian version
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2220 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg 84a138301e Always link the DC-API client libraries statically
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2219 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00