Parent Directory
|
Revision Log
Sticky Revision: |
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)
+ Discussion with Lutz Gross showed the tests to be dependent on the sort order, not escript itself. As a result I've backed out the addition of qsortG. Win32 will fail file comparison tests in run_generators.py (unless it uses its own generated versions). It will also fail ...onContactZero/One (8 of them) tests in run_utilOnFinley.py since the sort order change causes some of the normals to be defined the opposite way around to the reference test orientation since they are defined on the opposite face.
+ Made qsortG usage conditional on USE_QSORTG being defined Note both altix and win32 fail the test_normal_onFunctionContactOne/Zero tests when using QSORTG. Perhaps QSORTG isn't stable or altix isn't or I've introduced some other bug...I'll try altix without qsortG and see what happens. This is becoming painful.
+ Added a qsort.c file which contains a drop in replacement for qsort (call it as qsortG). This one appears to be a stable implementation and the test .msh files on windows have been set up to be the same as unix again except for the exponent digits (3 instead of 2). With ALL the qsorts replaced with qsortG only two tests fail now on win32: test_normal_onFunctionOnContactOne test_normal_onFunctionOnContactZero Both give wrong result errors. I will check this same code on the altix (including the use of qsortG and see if Altix has the same problem.
+ run_generators.py now has a commented section that you can uncomment to have it dump out the reference files + Win32 output files differ not only in the exponent (e+000 instead of e+00) format but also in order for part of the file. The same code has been compiled on altix and it passes the tests with the original files. I've no idea why the win32 version produces a different order. THIS REQUIRES FURTHER INVESTIGATION Does the output file require the lines to be in a specific order (it doesn't appear to effect anything else)?
+ re-enabled all the tests in run_generators.py + Fixed up some extra #includes left over from initial port + nelix_kb_options.py now has some additional optimisation flags for my notebooks pentium M processor
+ Some additional files for the win32 port + The additional test meshes are because windows produces floating point numbers like this 12e+001 where are unix is 12e+01 + nelix_kb_options.py is my notebooks config file. I've included it as an example of win32 compilation options + system_dep.h is there for win32 shared library function export/import macros and also to use the intel mathimf.h library since the standard MS VC++ math.h doesn't have all the necessary functions. NOTE this file must be included before all other headers to prevent inclusion of math.h
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.26 |