Commit summary from repository starlink
------------------------------------
(Tim Jenness) smurf: Multi-thread WVM calculation
96.0% applications/smurf/libsmf/
3.9% applications/smurf/libsmurf/
(Tim Jenness) smurf: Want a re-entrant WVM solver
100.0% applications/smurf/wvm/
(David Berry) ast: A bit more portability in the simtest dev tool
100.0% libraries/ast/devtools/
(David Berry) ast: Add personal development/debuuging tools for safety and easy access
100.0% libraries/ast/devtools/
(David Berry) kappa: Fix wcsslide bug that caused RA>12h to offset in the wrong direction
100.0% applications/kappa/libkappa/
(Tim Jenness) smurf: Remove smf_insert_tslice
100.0% applications/smurf/libsmf/
(Tim Jenness) smurf: Use strlcpy instead of strcpy
48.9% applications/smurf/libsmf/
51.0% applications/smurf/libsmurf/
(Tim Jenness) smurf: Fix some minor compiler warnings
100.0% applications/smurf/libsmf/
(David Berry) smurf: ZERO_MASK and ZERO_CIRLE are undef not bad, when not set
100.0% applications/smurf/libsmf/
Commits from repository starlink
-----------------------------
commit a60e016969e55e98ad43e2620b982e7b7c8dd5de
Author: Tim Jenness <[log in to unmask]>
Date: Wed Jan 18 16:14:23 2012 -1000
smurf: Multi-thread WVM calculation
The new WVM code can take quite a bit longer than the old code
so now we multi-thread the core WVM calculation. On my 4 core
machine for a test data set the run time went from 8.5 to 3.0
seconds.
API change to smf_correct_extinction to allow the worker thread
struct to be passed in. Side effect of this is that the EXTINCTION
task is now also multi-threaded.
This patch does not thread the WVM smoothing and nor does it thread
the extinction calculation itself. For my test data set the non-WVM
calculations took less than a second so threading won't save
much time.
applications/smurf/libsmf/smf.h.source | 6 +-
applications/smurf/libsmf/smf_calc_smoothedwvm.c | 432 ++++++++++++------
applications/smurf/libsmf/smf_correct_extinction.c | 10 +-
applications/smurf/libsmf/smf_model_create.c | 2 +-
applications/smurf/libsmurf/smurf_extinction.c | 9 +-
applications/smurf/libsmurf/smurf_qlmakemap.c | 2 +-
6 files changed, 322 insertions(+), 139 deletions(-)
commit 4ef1b67a5ef2b5ed813e43a602ed87a66eaad610
Author: Tim Jenness <[log in to unmask]>
Date: Wed Jan 18 15:40:21 2012 -1000
smurf: Want a re-entrant WVM solver
Have to disable memory reuse in levmar so that we can
multi-thread the WVM code. It will probably be best to make
this change in the JAC WVM code so that we do not lose the
modification by mistake on a future merge.
applications/smurf/wvm/levmar.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 4a920e5a6db140309a6ddce5b93be354ac427ee1
Author: David Berry <[log in to unmask]>
Date: Wed Jan 18 13:14:18 2012 -1000
ast: A bit more portability in the simtest dev tool
Use my standard environment variables rathe rthan hard-wired values
libraries/ast/devtools/make_simtest | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 0ee98ff454acc713fc128a7121206d5e80ddb013
Author: David Berry <[log in to unmask]>
Date: Wed Jan 18 13:09:34 2012 -1000
ast: Add personal development/debuuging tools for safety and easy access
Only "simtest" so far - it allows a compound Mapping to be explored and manipulated in various ways
libraries/ast/devtools/make_simtest | 3 +
libraries/ast/devtools/simtest.c | 864 +++++++++++++++++++++++++++++++++
2 files changed, 867 insertions(+), 0 deletions(-)
commit 650b628fc0f051511001f99ef0e1b41d6fef38ed
Author: David Berry <[log in to unmask]>
Date: Wed Jan 18 13:06:05 2012 -1000
kappa: Fix wcsslide bug that caused RA>12h to offset in the wrong direction
applications/kappa/libkappa/wcsslide.f | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
commit 01a69d3243e604bc6fbaaa8891e75b05be64b9b4
Author: Tim Jenness <[log in to unmask]>
Date: Wed Jan 18 11:34:42 2012 -1000
smurf: Remove smf_insert_tslice
It was not being used and it looks to be broken. Especially the
free behaviour of the input smfData.
applications/smurf/libsmf/Makefile.am | 1 -
applications/smurf/libsmf/smf.h.source | 3 -
applications/smurf/libsmf/smf_insert_tslice.c | 129 -----------------------
3 files changed, 0 insertions(+), 133 deletions(-)
commit f8db512675c608cdcd79ea21603e747f8791e8b7
Author: Tim Jenness <[log in to unmask]>
Date: Wed Jan 18 11:31:39 2012 -1000
smurf: Use strlcpy instead of strcpy
applications/smurf/libsmf/smf_clean_smfArray.c | 3 ++-
applications/smurf/libsmurf/smurf_dsutils.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
commit b81a9009888299530c2a7e0257161c77aedf9acf
Author: Tim Jenness <[log in to unmask]>
Date: Wed Jan 18 11:29:43 2012 -1000
smurf: Fix some minor compiler warnings
Mainly removing the default clause from the switch statements
for the _str routines. Also removing some unused variables and
using the correct type for an enum.
applications/smurf/libsmf/smf.h.source | 2 +-
applications/smurf/libsmf/smf_apply_mask.c | 4 ++--
applications/smurf/libsmf/smf_clean_pca.c | 2 --
applications/smurf/libsmf/smf_dtype_str.c | 2 --
applications/smurf/libsmf/smf_flat_methstring.c | 2 --
applications/smurf/libsmf/smf_insert_tslice.c | 2 ++
applications/smurf/libsmf/smf_meanshift.c | 1 -
applications/smurf/libsmf/smf_obsmode_str.c | 2 --
applications/smurf/libsmf/smf_pcorr.c | 3 ---
applications/smurf/libsmf/smf_qfamily_str.c | 2 --
applications/smurf/libsmf/smf_swmode_str.c | 2 --
11 files changed, 5 insertions(+), 19 deletions(-)
commit e3f85233dcf5d65ce25e0bffed619815ae827bb8
Author: David Berry <[log in to unmask]>
Date: Wed Jan 18 10:59:55 2012 -1000
smurf: ZERO_MASK and ZERO_CIRLE are undef not bad, when not set
AST__UNDEFTYPE and AST__BADTYPE are not the same.
applications/smurf/libsmf/smf_calcmodel_ast.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
|