Commit graph

205 commits

Author SHA1 Message Date
cimatosa
d7f4163956 minor 2015-03-27 11:17:54 +01:00
cimatosa
6534b71f3d merge master into cima_workung 2015-03-27 10:56:46 +01:00
cimatosa
13b8c83995 changed some error/status prints 2015-03-27 10:36:55 +01:00
cimatosa
c68fed4c83 first try to test reconnect (v2) 2015-03-27 10:19:11 +01:00
cimatosa
dd23f07894 first try to test reconnect 2015-03-27 10:16:36 +01:00
cimatosa
91a9b90377 new stuff to handle 'connection closed by peer' Error 2015-03-27 09:48:15 +01:00
cimatosa
1eef7e9bc9 catch permission error when trying to change niceness, give user info, run without changing niceness 2015-03-25 14:56:02 +01:00
cimatosa
4fd2f4a4b3 minor changes in jobmanager client concerning debug/info messages 2015-03-25 14:22:21 +01:00
cimatosa
87c2a16652 added exception and traceback print in case ay unexpected error occurres when the client gets/pushes data from/to the queue 2015-03-23 16:44:50 +01:00
Paul Müller
b3f06bf3fb minor bugfix - decoration a few objects did not work. 2015-03-05 13:51:24 +01:00
cimatosa
392e92da3d removed KEY NOT FOUND print before raising an exception 2015-02-24 17:46:16 +01:00
Paul Müller
718ffe3c8a module decorator now takes decorator class as argument 2015-02-23 16:22:09 +01:00
cimatosa
c3ff79d9b5 fixed tiny count error 2015-02-18 15:51:34 +01:00
cimatosa
66b0ed4ede print key error info when key not found in persistent DB 2015-02-18 15:41:06 +01:00
cimatosa
c579a8660d changed order in Server.__exit__, process data first, close syncmanager later because there are still some not understood issues 2015-02-18 15:40:36 +01:00
Paul Müller
23c19b42da Merge pull request #17 from cimatosa/client_maxnumjobs
Tell client to run maximal number of jobs per cpu.
2015-02-17 19:32:29 +01:00
Paul Müller
8aa90b559b ready to merge 2015-02-17 19:32:13 +01:00
Paul Müller
f10ad7b477 irgendwas 2015-02-17 19:21:31 +01:00
Paul Müller
eea0e79474 move id out of try statement 2015-02-17 13:13:46 +01:00
Paul Müller
c7e8451b4d repaired/improved progress.get_terminal_size, closes #3 2015-02-17 13:10:40 +01:00
Richard Hartmann
3dd4499e9c minor bugfixes which occured whe using non tty as stdout 2015-02-17 00:40:21 +01:00
Paul Müller
249e41673f minor change 2015-02-16 15:42:34 +01:00
Paul Müller
9c950aaac3 removed ipython 2015-02-16 15:29:47 +01:00
Paul Müller
5e43dc4847 repaired test_clients.py 2015-02-16 15:28:42 +01:00
Paul Müller
852021d4fd repaired test_progress.test_why_with_statement 2015-02-16 14:57:04 +01:00
Paul Müller
5b28a5f091 sqlitedict version 1.2.0 available online; closes #8 2015-02-16 14:36:56 +01:00
Paul Müller
935e893ea1 doc 2015-02-13 10:21:38 +01:00
Paul Müller
76a3619923 client with maximum number of jobs 2015-02-13 10:04:40 +01:00
Paul Müller
bacb0cf0ff minor change 2015-02-13 09:13:27 +01:00
Paul Müller
a2e5718040 tests speedup 2015-02-13 09:12:56 +01:00
Paul Müller
2356a6a05e code cleanup 2015-02-13 09:10:22 +01:00
Paul Müller
9bac31e692 code cleanup 2015-02-12 17:10:37 +01:00
Paul Müller
f531d6a4a4 Update setup.py 2015-02-12 16:58:43 +01:00
Paul Müller
8283a9ade0 Merge pull request #15 from cimatosa/reserve-tty
Reserve tty
2015-02-12 16:56:14 +01:00
Paul Müller
8ce8dc28f6 code cleanup 2015-02-12 16:55:20 +01:00
Paul Müller
f99bfee36c yat 2015-02-12 12:11:09 +01:00
Paul Müller
cd9409b6f1 typo 2015-02-12 12:09:13 +01:00
Paul Müller
6f95a13eef moved scipy warning directly to ode_warpper 2015-02-12 12:08:04 +01:00
Paul Müller
7ed6aa509c typo 2015-02-12 11:21:17 +01:00
Paul Müller
0cc24c7287 working implementation of decorated function calling decorated function while only displaying the progress bar of the first function. 2015-02-12 10:22:44 +01:00
Paul Müller
fb6a4c9172 proof of concept for reserving terminals 2015-02-12 09:53:16 +01:00
Paul Müller
c4f781e938 trying to implement tty reservations 2015-02-12 09:21:58 +01:00
Richard Hartmann
c24a9dd2dc bugfix in progressbar check_process_termination -> avoid infinite loop when sigkill does not stop the process 2015-02-04 14:53:05 +01:00
Richard Hartmann
d561ce6af0 small fix in progressBar -> reset character args for EACH line 2015-02-04 14:01:36 +01:00
Richard Hartmann
3c652e304b pop kwargs that are None from the kwargs dict, before passing is to set_integrator 2015-02-04 14:00:28 +01:00
Richard Hartmann
59693bad8b Merge branch 'cima_working' (still an intermediate step, but some new features needed to be transferred to master)
main new features:
  - a new decorator ProgressBarExtended class (see ec23d5d)
  - intermediate stopping of the progressBar loop, may make_sure_its_down, which will ensure
    that the loop has stopped -> this allows for clean printing inbetween
  - extended PersistentDataStructure (clear, show_stat, ... are the main things)
  - PersistentDataServer now expects that each arg (which must be named tuple now) has a member id
    which is used a key for the sql db -> faster look up that using big binay chunks

some bugs remove

some steps toward python2.7 compatibility
2015-01-29 20:59:24 +01:00
Richard Hartmann
ec23d5d168 new progress decorator, 1) (de)activate with kwargs in function call 2) gives access to the progressBar instance -> allows for stop to do clean printing -- and tests for that 2015-01-29 20:58:36 +01:00
Richard Hartmann
3179cc27ec test 'not in' for persistentDataStruture 2015-01-29 14:12:03 +01:00
Richard Hartmann
a81f15deb3 use special id flag store data via persistentData_Server, made merge_arg_and_const_arg work with new 'id' used by PersistentData_Server 2015-01-29 14:11:22 +01:00
Paul Müller
3a5432e4a5 Update setup.py 2015-01-29 10:19:02 +01:00