/[escript]/branches/ROBW_XPLATFORM/finley/test
ViewVC logotype

Log of /branches/ROBW_XPLATFORM/finley/test

View Directory Listing Directory Listing


Sticky Revision:

Revision 670 - Directory Listing
Modified Sat Mar 25 14:56:39 2006 UTC (14 years, 6 months ago) by robwdcock
+ Changed include paths to no longer require the cpp suffix (missed in earlier
  commit)
+ modified tests so they no longer install to #/lib


Revision 668 - Directory Listing
Modified Sat Mar 25 13:27:27 2006 UTC (14 years, 6 months ago) by robwdcock
+ finally figured out why the tests failed when the python extension libs were
  no longer sym links. The original setup for python extension modules was to
  have sym links in the esys/* directories named, for example escriptcpp.so.
  These would link to the actual libraries libescriptcpp.so. The lib*.so would
  link to each other. When you replaced the symlink with a copy of the lib*.so
  but renamed without the lib you would then get problems. In particular,
  py_tests would suddenly start failing.

  The problem appears (I've not been able to find documentary evidence to this
  case) to be that when, for example, you import bruce, brucecpp.so imports
  lib/libescriptcpp.so (which intialises escript python bits), bruce then
  imports escriptcpp.so (which also initialised escript python bits).

  Whether that is exactly correct or not is of interest but the important bit
  is you appear to get two versions. After thinking about this for a bit and
  reviewing a bunch of other examples of working python modules I noticed a
  pattern. NONE of the other examples ever included more than the python
  wrapper code in the python extension library. Instead they just link to
  the pure C++ library. This would avoid the duplicate load.

  So, I've refactored the code. If you consider escript the pattern in now:
  lib/libescript.so - which has all of escript EXCEPT the python escriptcpp.cpp
  esys/escript/escriptcpp.so - which has ONLY the escriptcpp.cpp and links to
                               lib/libescript.so
  
  Run the tests and low and behold they all pass again.

  Q: Why doesn't this problem occur with sym links?
  A: My guess is that python and the dynamic linker take a look at the actual
     absolute python of libraries to determine if its a "different" library.
     I did fine some discussions that seem to suggest this.

  Q: Why can't you just set LD_LIBRARY_PATH==PYTHONPATH and stick all the
     libs in that directory?
  A: I (in fact we, Peter Hornby was there) tried. With the renaming of the
     python module so it doesn't have a lib prefix you get problems with
     getting the shared libraries to be looked up in LD_LIBRARY_PATH. Do
     the opposite and use lib on the python modules and you have problems
     with windows which doesn't prepend the lib. Various combination
     in between were also tried but you end up in a catch 22 situation so far
     as I could tell

  Please if you know more about the ins and outs of python and shared
  libraries let me know if this isn't true. I'd really like to know if my
  guesses are correct. In any event, the fix is more consistent with the
  patterns I've seen

  Phew! this was a long log message, glad it is on a branch!




Revision 667 - Directory Listing
Modified Fri Mar 24 13:25:00 2006 UTC (14 years, 6 months ago) by robwdcock
+ OUCH ARGHH
+ Okay the wizzy linkHack doesn't work. Not sure why but py_tests fail
when the shared library is on the link line directly (without a -l)

+ Unfortunately we can't figure out how to use -l without it prepending
a lib prefix. Hence all the shareable objects in python now need to be
called libblah.so (and lib will need to be prepended on windows!!!!).
This is not the python way and its very annoying. Why do we have this
problem? Because the C++ shared libraries link with each other.



Revision 666 - Directory Listing
Modified Fri Mar 24 11:29:40 2006 UTC (14 years, 6 months ago) by robwdcock
+ Fix up python esys area:
  + libraries are named without lib prefix on posix platforms (python standard)
  + libraries are now installed into the pyinstall area (python standard)
  + symlinks removed, no longer required
  + LD_LIBRARY_PATH is now optional for PYTHON programs (still required for c++)
+ lib PREFIX removal NOTES:
  + removing the lib prefix is non-standard for the linker. As such we've created a
    custom function sharedLinkHack to specify the .so on the link command line
    (as opposed to using -l<archive> which will prepend the lib). This has a
    a small slight of hand for scons which was being to "helpful". Scons
    verifies that when creating a shared libray all objects specified are
    created shareable (e.g. ensure objects are compiler with -fPIC). Since
    we are linking a .so out of the blue we had to wrap it up in a File note
    and flag it as shared.
    Easily done, once you know how. Thankfully this is all wrapped
    up in a simple function (sharedLinkHack) that looks like ordinary scons so
    you will never know!
    



Revision 664 - Directory Listing
Modified Fri Mar 24 09:28:36 2006 UTC (14 years, 6 months ago) by robwdcock
+Remove old unit test


Revision 661 - Directory Listing
Modified Fri Mar 24 09:13:00 2006 UTC (14 years, 6 months ago) by robwdcock
+py_tests now runs. Be patient, it is all of them!!


Revision 649 - Directory Listing
Modified Fri Mar 24 06:07:07 2006 UTC (14 years, 6 months ago) by robwdcock
+Opps, helps if you include the two new files for Finley tests


Revision 648 - Directory Listing
Modified Fri Mar 24 06:04:57 2006 UTC (14 years, 6 months ago) by robwdcock
+Finely unit tests now running in build system

All C++ tests run and compile on Altix, I expect the same result for Linux so you may not see another log message for that.



Revision 647 - Directory Listing
Modified Fri Mar 24 05:23:05 2006 UTC (14 years, 6 months ago) by robwdcock
+ Prep for unit test consolidation consistent with other modules
NOTE: HBtest and MMtest appear to be stale tests and are not built using the scons system. They have been removed.


Revision 622 - Directory Listing
Modified Wed Mar 22 14:00:08 2006 UTC (14 years, 6 months ago) by robwdcock
Creating a private branch so I can test and verify cross-platform build

Revision 620 - Directory Listing
Modified Wed Mar 22 07:43:42 2006 UTC (14 years, 6 months ago) by gross
Original Path: trunk/finley/test
problem with tagged data isolated

Revision 618 - Directory Listing
Modified Wed Mar 22 04:02:38 2006 UTC (14 years, 6 months ago) by gross
Original Path: trunk/finley/test
mmio moced to paso

Revision 617 - Directory Listing
Modified Wed Mar 22 02:58:17 2006 UTC (14 years, 6 months ago) by elspeth
Original Path: trunk/finley/test
More copyright.


Revision 595 - Directory Listing
Modified Tue Mar 14 23:52:45 2006 UTC (14 years, 6 months ago) by gross
Original Path: trunk/finley/test
test_utilOnFinley fixed (did run the tests that still fail)

Revision 590 - Directory Listing
Modified Fri Mar 10 06:29:14 2006 UTC (14 years, 6 months ago) by gross
Original Path: trunk/finley/test
all tests activated

Revision 589 - Directory Listing
Modified Fri Mar 10 06:28:35 2006 UTC (14 years, 6 months ago) by gross
Original Path: trunk/finley/test
my little test generator

Revision 584 - Directory Listing
Modified Thu Mar 9 23:03:38 2006 UTC (14 years, 6 months ago) by gross
Original Path: trunk/finley/test
eigenvalues: compiles and passes tests on altix now

Revision 580 - Directory Listing
Modified Wed Mar 8 05:45:51 2006 UTC (14 years, 6 months ago) by gross
Original Path: trunk/finley/test
faster version of the local eigenvalue calculation

Revision 558 - Directory Listing
Modified Thu Feb 23 01:02:31 2006 UTC (14 years, 7 months ago) by gross
Original Path: trunk/finley/test
switch back to test on no tagged data

Revision 553 - Directory Listing
Modified Wed Feb 22 04:01:21 2006 UTC (14 years, 7 months ago) by gross
Original Path: trunk/finley/test
tests for tagged data

Revision 550 - Directory Listing
Modified Wed Feb 22 02:14:38 2006 UTC (14 years, 7 months ago) by gross
Original Path: trunk/finley/test
more tests on slicing

Revision 526 - Directory Listing
Modified Tue Feb 14 06:56:33 2006 UTC (14 years, 7 months ago) by gross
Original Path: trunk/finley/test
pdetools test added

Revision 521 - Directory Listing
Modified Tue Feb 14 05:50:56 2006 UTC (14 years, 7 months ago) by gross
Original Path: trunk/finley/test
now done test_utilOnFinley.py

Revision 479 - Directory Listing
Modified Wed Feb 1 04:36:53 2006 UTC (14 years, 7 months ago) by gross
Original Path: trunk/finley/test
a few more benchmarks added

Revision 474 - Directory Listing
Modified Mon Jan 30 04:23:44 2006 UTC (14 years, 7 months ago) by jgs
Original Path: trunk/finley/test
restructure escript source tree
move src/Data/* -> src
remove inc
modify #includes and cpppath settings accordingly


Revision 473 - Directory Listing
Modified Fri Jan 27 01:59:09 2006 UTC (14 years, 7 months ago) by jgs
Original Path: trunk/finley/test
make adjustments to allow for new source tree structure


Revision 468 - Directory Listing
Modified Wed Jan 25 06:50:39 2006 UTC (14 years, 7 months ago) by jgs
Original Path: trunk/finley/test
reorganised esysUtils to remove inc directory

Revision 467 - Directory Listing
Modified Wed Jan 25 05:43:46 2006 UTC (14 years, 7 months ago) by jgs
Original Path: trunk/finley/test
adjustments to includes to allow for new paso src tree structure

Revision 459 - Directory Listing
Modified Tue Jan 24 07:51:02 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
some mopre problems added

Revision 455 - Directory Listing
Modified Tue Jan 24 04:36:54 2006 UTC (14 years, 8 months ago) by jgs
Original Path: trunk/finley/test
minor comment and formatting changes


Revision 453 - Directory Listing
Modified Tue Jan 24 01:23:28 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
reset the solver

Revision 450 - Directory Listing
Modified Mon Jan 23 05:04:45 2006 UTC (14 years, 8 months ago) by jgs
Original Path: trunk/finley/test
remove old make based build system


Revision 447 - Directory Listing
Modified Mon Jan 23 02:59:59 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
a simple linear elastic solver

Revision 443 - Directory Listing
Modified Fri Jan 20 06:22:38 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
L2 function added

Revision 442 - Directory Listing
Modified Fri Jan 20 04:39:43 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
kronecker (and relatives) take now a FunctionSpace as argument and return a Data object in tthis functionspace

Revision 437 - Directory Listing
Modified Fri Jan 20 00:16:58 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
comprehensive testing for integrate function added. tests for grad will be added in the next check in. GradTest is obsolete now.

Revision 435 - Directory Listing
Modified Thu Jan 19 03:57:30 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
minor change

Revision 432 - Directory Listing
Modified Fri Jan 13 07:38:54 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
some fixes for openmp

Revision 431 - Directory Listing
Modified Fri Jan 13 05:07:10 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
new implementation of ILU0

Revision 428 - Directory Listing
Modified Wed Jan 11 01:38:16 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
interplotared is changed from method to function call

Revision 425 - Directory Listing
Modified Tue Jan 10 04:10:39 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
The sparse solver can be called by paso now. 

the building has been change to reduce some code redundancy:
now all scons SCscripts are importing scons/esys_options.py which
imports platform specific settings. 




Revision 423 - Directory Listing
Modified Fri Jan 6 08:09:43 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
some modifications in visualization to get equidistant output

Revision 416 - Directory Listing
Modified Wed Jan 4 05:38:35 2006 UTC (14 years, 8 months ago) by gross
Original Path: trunk/finley/test
changes in Paso have been worked in

Revision 404 - Directory Listing
Modified Thu Dec 22 23:04:55 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
direct solver works for symmetry flag now

Revision 399 - Directory Listing
Modified Wed Dec 21 22:43:48 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
frame to run a single test out of the test_util suite

Revision 388 - Directory Listing
Modified Tue Dec 20 03:13:17 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
laplace benchmarks added

Revision 382 - Directory Listing
Modified Mon Dec 19 06:09:49 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
run finley benchmark

Revision 362 - Directory Listing
Modified Thu Dec 15 02:07:55 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
removed unit-test runner scripts as unit-tests now run from scons

Revision 360 - Directory Listing
Modified Thu Dec 15 01:52:16 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
add target to run all unit tests, the build will fail
for this target if any unit test fails


Revision 355 - Directory Listing
Modified Wed Dec 14 05:05:31 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
add explicit target for building of unit tests


Revision 325 - Directory Listing
Modified Wed Dec 7 02:08:17 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
now determine hostname via socket.gethostname() as HOSTNAME
environment variable is apparently not set on all platforms


Revision 320 - Directory Listing
Modified Tue Dec 6 04:35:27 2005 UTC (14 years, 9 months ago) by svn
Original Path: trunk/finley/test
unit tests now run ok

Revision 319 - Directory Listing
Modified Tue Dec 6 04:25:37 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
temporary unit tests scripts

Revision 309 - Directory Listing
Modified Mon Dec 5 01:59:58 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
now load default options - by default!


Revision 303 - Directory Listing
Modified Fri Dec 2 05:54:01 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
is now in modellib

Revision 302 - Directory Listing
Modified Fri Dec 2 05:51:51 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
runs again

Revision 301 - Directory Listing
Modified Fri Dec 2 05:49:29 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
runs again

Revision 300 - Directory Listing
Modified Fri Dec 2 05:47:17 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
runs again

Revision 299 - Directory Listing
Modified Fri Dec 2 05:45:38 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
runs again

Revision 298 - Directory Listing
Modified Fri Dec 2 05:42:11 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
runs again

Revision 296 - Directory Listing
Modified Fri Dec 2 03:55:36 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
test passes now

Revision 294 - Directory Listing
Modified Fri Dec 2 03:47:30 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
test of symbols.py with python

Revision 288 - Directory Listing
Modified Fri Dec 2 01:55:04 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
now automatically build unit tests as required based on dependencies
between unit tests and libraries


Revision 284 - Directory Listing
Modified Thu Dec 1 06:39:23 2005 UTC (14 years, 9 months ago) by gross
Original Path: trunk/finley/test
test are passed now

Revision 255 - Directory Listing
Modified Tue Nov 29 06:13:22 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
pass in solver libraries to link with via options files now

Revision 252 - Directory Listing
Modified Tue Nov 29 05:58:03 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
pass in platform specific libraries via options files now


Revision 248 - Directory Listing
Modified Tue Nov 29 04:58:23 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
add top level scons config files to allow building
of all unit tests for each module at once


Revision 246 - Directory Listing
Modified Tue Nov 29 04:27:00 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
allow compile options to be loaded from a config
file specified on the command line to scons


Revision 241 - Directory Listing
Modified Mon Nov 28 06:14:47 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
if usegcc=1 is set on command line, load compiler options
fropm scons/gcc_options.py


Revision 239 - Directory Listing
Modified Mon Nov 28 05:49:32 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
read names of python and boost libraries from config file now


Revision 228 - Directory Listing
Modified Fri Nov 25 02:01:14 2005 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/finley/test
now read compile options from options file


Revision 206 - Directory Listing
Modified Wed Nov 23 05:03:42 2005 UTC (14 years, 10 months ago) by jgs
Original Path: trunk/finley/test
remove MeshAdapter test for now - will only work with scons build system


Revision 205 - Directory Listing
Modified Wed Nov 23 05:02:59 2005 UTC (14 years, 10 months ago) by jgs
Original Path: trunk/finley/test
fix settings to account for new finley source tree structure


Revision 204 - Directory Listing
Modified Wed Nov 23 04:43:51 2005 UTC (14 years, 10 months ago) by jgs
Original Path: trunk/finley/test
revised scons files to account for new finley source tree structure


Revision 155 - Directory Listing
Modified Wed Nov 9 02:02:19 2005 UTC (14 years, 10 months ago) by jgs
Original Path: trunk/finley/test
move all directories from trunk/esys2 into trunk and remove esys2


Revision 154 - Directory Listing
Modified Mon Nov 7 05:51:17 2005 UTC (14 years, 10 months ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch dev-02 back to main trunk on 2005-11-07


Revision 153 - Directory Listing
Modified Tue Oct 25 01:51:20 2005 UTC (14 years, 11 months ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch dev-02 back to main trunk on 2005-10-25


Revision 152 - Directory Listing
Modified Fri Oct 21 08:32:21 2005 UTC (14 years, 11 months ago) by phornby
Original Path: trunk/esys2/finley/test
DataConstantTestCase.cpp, DataExpandedTestCase.cpp:

Replace

DataExpanded testData1(FunctionSpace(),....)

with

FunctionSpace tmp_fns;
DataExpanded testData1(tmp_fns,shape,data);

for GCC's sake.




Added some profiling to PoissonSolverTest.py.


Revision 151 - Directory Listing
Modified Thu Sep 22 01:55:00 2005 UTC (15 years ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch dev-02 back to main trunk on 2005-09-22


Revision 150 - Directory Listing
Modified Thu Sep 15 03:44:45 2005 UTC (15 years ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch dev-02 back to main trunk on 2005-09-15


Revision 149 - Directory Listing
Modified Thu Sep 1 03:31:39 2005 UTC (15 years ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch dev-02 back to main trunk on 2005-09-01


Revision 148 - Directory Listing
Modified Tue Aug 23 01:24:31 2005 UTC (15 years, 1 month ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch dev-02 back to main trunk on 2005-08-23


Revision 147 - Directory Listing
Modified Fri Aug 12 01:45:47 2005 UTC (15 years, 1 month ago) by jgs
Original Path: trunk/esys2/finley/test
erge of development branch dev-02 back to main trunk on 2005-08-12


Revision 141 - Directory Listing
Modified Mon Jul 25 05:15:41 2005 UTC (15 years, 2 months ago) by jgs
Original Path: trunk/esys2/finley/test
fixed to work with new python source/install directory structure


Revision 126 - Directory Listing
Modified Fri Jul 22 03:53:08 2005 UTC (15 years, 2 months ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch back to main trunk on 2005-07-22


Revision 123 - Directory Listing
Modified Fri Jul 8 04:08:13 2005 UTC (15 years, 2 months ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch back to main trunk on 2005-07-08


Revision 122 - Directory Listing
Modified Thu Jun 9 05:38:05 2005 UTC (15 years, 3 months ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch back to main trunk on 2005-06-09


Revision 121 - Directory Listing
Modified Fri May 6 04:26:16 2005 UTC (15 years, 4 months ago) by jgs
Original Path: trunk/esys2/finley/test
Merge of development branch back to main trunk on 2005-05-06


Revision 119 - Directory Listing
Modified Tue Apr 12 04:45:05 2005 UTC (15 years, 5 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 117 - Directory Listing
Modified Fri Apr 1 05:48:57 2005 UTC (15 years, 5 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 115 - Directory Listing
Modified Fri Mar 4 07:12:47 2005 UTC (15 years, 6 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 113 - Directory Listing
Modified Mon Feb 28 07:06:33 2005 UTC (15 years, 6 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 110 - Directory Listing
Modified Mon Feb 14 04:14:42 2005 UTC (15 years, 7 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 108 - Directory Listing
Modified Thu Jan 27 06:21:59 2005 UTC (15 years, 7 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 104 - Directory Listing
Modified Fri Dec 17 07:43:12 2004 UTC (15 years, 9 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 102 - Directory Listing
Modified Wed Dec 15 07:08:39 2004 UTC (15 years, 9 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 100 - Directory Listing
Modified Wed Dec 15 03:48:48 2004 UTC (15 years, 9 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 97 - Directory Listing
Modified Tue Dec 14 05:39:33 2004 UTC (15 years, 9 months ago) by jgs
Original Path: trunk/esys2/finley/test
*** empty log message ***


Revision 82 - Directory Listing
Added Tue Oct 26 06:53:54 2004 UTC (15 years, 10 months ago) by jgs
Original Path: trunk/esys2/finley/test
Initial revision


  ViewVC Help
Powered by ViewVC 1.1.26