Commit Graph

574 Commits

Author SHA1 Message Date
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
gombasg 08234559f8 Use "-pthread" instead of "-lpthread" (makes it easier to link the client libs statically)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2218 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg 7ff51a42f6 New Debian version
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2215 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg 37725837a5 Rename the documentation section to dc-api
Update the copyright message


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2214 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg 916696bedb Use dh to simplify debian/rules
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2213 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg 00d5c4129b Update Standards-Version, fix some dependency problems found by lintian
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2212 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:56 +01:00
gombasg c140d9f547 Refresh gtk-doc.make from gtk-doc-tools 1.11
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2211 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg e59812b800 Fix building with recent Condor.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2206 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg 706536a506 Add back libcondorapi-dev to Build-Depends
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2205 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg ff5b53abd7 New Debian package
Re-enable the Condor backend


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2204 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +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 3cd58d5541 Disable the Condor backend for now.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2200 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg 01504084a8 Add locking around the server-side logging code to make it usable from
multi-threaded applications. The rest of the DC-API (and the underlying
grid code) is still not thread-safe though.


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2176 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
kornaf 356ce8fe3f Updated Visual Studio project files
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2120 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg 4545bd58aa g_string_append_vprintf() does not exist in the glib in etch
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2110 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg dd7b340df4 Avoid template file profileration by using the content's SHA1 hash
as the file name


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2109 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg cd58025ba1 Update PDF generation to use dblatex
Add support for generating ODF documentation


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@2062 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg 543fc55e60 _DC_copyFile() no longer preserves errno, adjust all callers
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1941 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:55 +01:00
gombasg 7072a982f5 Move the error logging to _DC_copyFile()
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1939 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:54 +01:00