Commit Graph

22478 Commits

Author SHA1 Message Date
gombasg 8dc139c62f New Debian release
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@297 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:14 +01:00
gombasg cdd6325b72 Fix syntax errors
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@296 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 63117c64c2 Fix typo
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@295 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 46f7caf453 Link the client lib with the BOINC libs
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@294 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 26418861b9 Now we need the client side of BOINC too
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@293 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 48bcf8c830 Updated from the numsys_search version
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@292 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 835d0080ce Build a client library for BOINC
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@291 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida 3929f47649 A DC_CreateWU visszateresi erteke int volt DC_Workunit tipus helyett! Javitva.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@290 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida e5b86bd8c2 Az elso verzioja a BOINC-os dc_client.c-nek, valamint egy apro javitas a ClusterGrid-es versioban.
(a DC_Finish fuggveny parametere az egyikben int a masikban void volt)



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@284 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida bbd3c605d6 Javitasok:
egy hianyzo include
 a DC_Finish parametere void helyett (int exitcode)
 a DC_OK es DC_ERROR pedig definialva van mar a dc.h-ban es arra tobben is visszamutatnak, igy itt nem szukseges!



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@283 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida 8a633edfd9 Egy gepelesi hiba lett csak javitva!
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@282 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida 5e7b95d61e Konstansoknak DC_ elotag javitasa!
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@281 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
vida 60b3e6ef92 A teljes DC client api definialva!
Meg esetleges valtoztatasok lehetnek, de jo kiindulasi alap.

Mar csak a dc_client.c-t kell implementalni hozza eloszor BOINC-ra!



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@280 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 1ad378ec42 Update the config.{guess,sub} scripts at the right location
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@179 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg b4a707b903 Boinc flavor: set the current directory to the working directory specified in
the config file. This is needed when the master is started from config.xml


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@178 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
atisu 2c4f40fac8 boinc_db.h was not found when using compiled boinc5 ( --with-boinc)
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@176 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
atisu 020c957d55 kis fejlesztobaratsag noveles
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@175 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg d1ee94a9cf We need to Build-Depend on debhelper
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@170 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 3330bda3b4 Use the variables set by the new Boinc autoconf macros
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@169 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 1d9bc7dc9e Use the right #include styles
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@168 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg d27c1aa1a0 The project name is not used anywhere. Make the code match this fact.
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@167 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:13 +01:00
gombasg 68d0316abd <error_numbers.h> is not part of the public Boinc API, and we do not need it,
so do not use it


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@166 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 0e3d78d0e4 Let 'autoreconf' find the Boinc detection macros
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@165 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 12b620ba42 Make unexported functions static
Fix various compiler warnings


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@164 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 5e624897c7 Change the version to match configure.ac
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@163 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 5e1b94f00d Move Boinc detection to a separate .m4 file so it can be reused
Update the package version to match the comments in the header files


git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@162 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 46c59fa5eb The Boinc flavor needs uuid-dev
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@161 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 2e2d76eb8a Initial debian packaging
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@148 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 04c0ca3f4d Boinc 4.x compatibility fixes
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@147 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 00f8d22a05 Autotooled dcapi with 4.x/5.x Boinc compatibility and clgr support included
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@145 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
atisu d3e8698e8a corrected some errors: wrong parameters for dir_hier_path ( char* <-> bool),
wrong member for SCHED_MSG_LOG ( CRITICAL -> MSG_CRITICAL) ( boinc5)
RSAEuro removed, using -lcrypt instead if needed. 
fixed some path-s in the Makefile, etc



git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@90 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
kadam 3ff999d6f7 imported from cvs
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@75 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
gombasg 042f0482fb Create repository layout
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@1 a7169a2c-3604-0410-bc95-c702d8d87f7a
2013-12-02 11:09:12 +01:00
David Anderson 7b9990085d locale: Update compiled localization files 2013-12-02 00:15:48 -08:00
David Anderson 287f4ec9b0 Merge branch 'master' of boinc.berkeley.edu:boinc-v2 2013-12-02 08:00:24 +00:00
admin 672cffea05 Commit from Pootle Demo by user admin.: 2711 of 2798 strings translated (7 fuzzy). 2013-12-02 08:00:05 +00:00
Charlie Fenton ccb339841d client: Convert Mac and Haiku CPU features strings to match that returned by Linux 2013-12-01 23:44:21 -08:00
David Anderson 5fd7ed0e0c locale: Update compiled localization files 2013-12-01 12:17:09 -08:00
Rom Walton 7a4d5fafee MGR: Store the ISO language ID for future use.
Usage: wxString strLang = wxGetApp().GetISOLanguageID();
2013-12-01 15:15:43 -05:00
admin 6ceb36b07a Commit from Pootle Demo by user admin.: 3013 of 3013 strings translated (0 fuzzy). 2013-12-01 20:00:19 +00:00
admin e486b872d8 Commit from Pootle Demo by user admin.: 2711 of 2798 strings translated (7 fuzzy). 2013-12-01 20:00:13 +00:00
admin 65e473ebf4 Commit from Pootle Demo by user admin.: 2735 of 2798 strings translated (10 fuzzy). 2013-12-01 20:00:03 +00:00
David Anderson ec765c4ddf locale: Update compiled localization files 2013-12-01 00:17:01 -08:00
David Anderson 8c93a064f1 Merge branch 'master' of boinc.berkeley.edu:boinc-v2 2013-12-01 08:00:29 +00:00
admin f561336034 Commit from Pootle Demo by user admin.: 2735 of 2798 strings translated (10 fuzzy). 2013-12-01 08:00:06 +00:00
Charlie Fenton 9bb4fc618f Mac: Fix build script to use openssl-1.0.1e not 1.0.1c 2013-11-30 15:01:55 -08:00
David Anderson f5fce23633 locale: Update compiled localization files 2013-11-30 12:16:38 -08:00
admin 3b02e38a6b Commit from Pootle Demo by user admin.: 2735 of 2798 strings translated (10 fuzzy). 2013-11-30 20:00:10 +00:00
David Anderson dfa9bc2a3c Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2013-11-29 13:44:33 -08:00
David Anderson d6da81b862 client: fix bugs with CPU throttling and GPU apps
Various bad things could happen when CPU throttling was used together w/ GPU apps.
Examples:
- on a multi-GPU system, several GPU tasks are assigned to the same GPU
- a suspended GPU task remains in memory (tying up its GPU resources)
while other tasks try to use the GPU.

The problem was that parts of the code assumed that suspended
GPU processes don't exist - i.e. that when a GPU task is suspended
it's always removed from memory.
This isn't true in the presence of CPU throttling.

So I made the following changes:
- When assigning GPUs to tasks, treat suspended tasks like running tasks
  (i.e. reserve their GPUs)
- At the end of the CPU-scheduling logic, if there are any GPU tasks
  that are suspended and not scheduled, remove them from memory,
  and trigger a reschedule so we can reallocate their GPUs.

Also, a cosmetic change: in the resource usage string shown in the GUI,
include "(device X)" even if the task is suspended (i.e. because of throttling).

Also: zero out COPROC::opencl_device_indexes[] so we don't write
a garbage number to init_data.xml for non-OpenCL jobs
2013-11-29 11:44:09 -08:00