/[escript]/branches/arrexp_2137_win/finley/test/python/run_escriptOnFinley.py
ViewVC logotype

Log of /branches/arrexp_2137_win/finley/test/python/run_escriptOnFinley.py

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 2212 - (view) (annotate) - [select for diffs]
Modified Wed Jan 14 00:15:00 2009 UTC (10 years, 3 months ago) by jfenwick
File length: 5191 byte(s)
Diff to previous 2202
Executive summary:

This commit adds copy on write checks to operations involving shared data. 

Changes:

new #defines:
~~~~~~~~~~~~~
Data.cpp has ASSIGNMENT_MEANS_DEEPCOPY (defaults to undefined).
Defining this will put the data = operator back to making deep copies instead
of sharing data (now the default.)

Data:
~~~~~
. Added exclusiveWrite method to copy the underlying data if it is shared.
. Some operators which took python objects now call the c++ versions intead of duplicating code.

DataAbstract and offspring:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
. Added method to determine whether the data is currently shared.
. Added getVectorRO to children of DataReady.
. Added getTagRO.

. Operations which modify values in place (or return modifiable pointers) now use
a macro to check for sharing. In the case where a modification attempt is detected, it throws an exception. In the future, I will enable this only for debugging.

. This shold not really have been required but the compiler was not choosing the use the const version as I would have liked. Besides, this makes things explict.

. Moved (and de-inlined) getVector in DataConstant (It was virtual in a parent class).

Unit tests:
~~~~~~~~~~~
Added both python and c++ unit tests to check known cases of sharing and "inplace"
modification operations.

General:
~~~~~~~~
Removed some commented out code.


Revision 2202 - (view) (annotate) - [select for diffs]
Modified Fri Jan 9 01:28:32 2009 UTC (10 years, 3 months ago) by jfenwick
File length: 4936 byte(s)
Diff to previous 2111
Branching the array experiments from version 2137.
The idea is to make the changes required for the c++ changes to compile 
on windows without bringing in the later python changes.



Revision 2111 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 01:16:18 2008 UTC (10 years, 4 months ago) by jfenwick
Original Path: branches/arrexp_trunk2098/finley/test/python/run_escriptOnFinley.py
File length: 4936 byte(s)
Diff to previous 1856
Doin' some experiments


Revision 1856 - (view) (annotate) - [select for diffs]
Modified Tue Oct 7 07:10:47 2008 UTC (10 years, 6 months ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 4936 byte(s)
Diff to previous 1829
The NC dump tests work now with MPI.
In fact the old test did not exactly what it supposed to



Revision 1829 - (view) (annotate) - [select for diffs]
Modified Thu Oct 2 05:40:30 2008 UTC (10 years, 6 months ago) by ksteube
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 4925 byte(s)
Diff to previous 1827
Adjusted tests for MPI.
Enabled two tests in run_inputOutput.py for order=2 after recent bugfix.


Revision 1827 - (view) (annotate) - [select for diffs]
Modified Thu Oct 2 04:28:07 2008 UTC (10 years, 6 months ago) by ksteube
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 5003 byte(s)
Diff to previous 1809
MPI parallelized dump/load for Constant and Tagged data.
run_escriptOnFinley.py runs hybrid MPI/OpenMP.


Revision 1809 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 06:43:44 2008 UTC (10 years, 7 months ago) by ksteube
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 4743 byte(s)
Diff to previous 1716
Copyright updated in all python files


Revision 1716 - (view) (annotate) - [select for diffs]
Modified Thu Aug 21 05:03:49 2008 UTC (10 years, 8 months ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 4695 byte(s)
Diff to previous 1414
getListOfTags method added to FunctionSpace class

Revision 1414 - (view) (annotate) - [select for diffs]
Modified Thu Feb 14 10:01:43 2008 UTC (11 years, 2 months ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 2141 byte(s)
Diff to previous 1388
a first verion of a Stokes solver

Revision 1388 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:58 2008 UTC (11 years, 3 months ago) by trankine
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 2140 byte(s)
Diff to previous 1387
And get the *(&(*&(* name right

Revision 1387 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:26 2008 UTC (11 years, 3 months ago) by trankine
Original Path: temp/finley/test/python/run_escriptOnFinley.py
File length: 2140 byte(s)
Diff to previous 1384
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.

Revision 1384 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 02:29:38 2008 UTC (11 years, 3 months ago) by phornby
Original Path: temp_trunk_copy/finley/test/python/run_escriptOnFinley.py
File length: 2140 byte(s)
Diff to previous 1376
Make a temp copy of the trunk before checking in the windows changes



Revision 1376 - (view) (annotate) - [select for diffs]
Modified Wed Jan 9 01:38:18 2008 UTC (11 years, 3 months ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 2140 byte(s)
Diff to previous 1312
inserted sys.exit(1) into the tests so scons can detect the failure of the test. 
A similar statement has been removed from an earlier as it produces problems on 64bit Linux. Previously exit(0) was called in case of success but now this is not done in order to avoid a fatal end of the program. in the case of an error in the test there could be a fatal error so but I guess that this not really a problem.

PS: the fact that signal 0 was returned even for the case of an error lead to the illusion that all tests have been completed successfully.



Revision 1312 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 06:18:44 2007 UTC (11 years, 7 months ago) by ksteube
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 2098 byte(s)
Diff to previous 1185
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.


Revision 1185 - (view) (annotate) - [select for diffs]
Modified Thu May 31 04:33:31 2007 UTC (11 years, 10 months ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 1751 byte(s)
Diff to previous 1141
once again: some changes to get the tests passed on windows.

Revision 1141 - (view) (annotate) - [select for diffs]
Modified Tue May 15 04:24:51 2007 UTC (11 years, 11 months ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 1753 byte(s)
Diff to previous 1063
Some changes to make things run on windows. There is still a problem with netcdf an long file names on windows but there is the suspicion that this is a bigger problem related to boost (compiler options). In fact runs with large numbers of iteration/time steps tend to create seg faults. 

Revision 1063 - (view) (annotate) - [select for diffs]
Modified Mon Mar 26 08:29:18 2007 UTC (12 years, 1 month ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 1715 byte(s)
Diff to previous 1044
test for creation of reduced function spaces added.
tests for dumping data on reduced function spaces added.
This showed a small bug with compilation setting for compilation with netCDF which is fixed



Revision 1044 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 07:29:31 2007 UTC (12 years, 1 month ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 1716 byte(s)
Diff to previous 983
clear name tagging is supported now.

Revision 983 - (view) (annotate) - [select for diffs]
Added Tue Feb 20 02:49:08 2007 UTC (12 years, 2 months ago) by gross
Original Path: trunk/finley/test/python/run_escriptOnFinley.py
File length: 1459 byte(s)
full Data object dump and load now available. Tests added.

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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26