/[escript]/trunk/finley/test/python/run_inputOutput.py
ViewVC logotype

Log of /trunk/finley/test/python/run_inputOutput.py

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 6875 - (view) (annotate) - [select for diffs]
Modified Fri Aug 9 02:20:21 2019 UTC (2 months, 1 week ago) by aellery
File length: 10842 byte(s)
Diff to previous 6825
Added a new function to finley and dudley, getConnectivityInfo, that returns a numpy array that contains the connectivity information for the mesh.

Example use:

import numpy
from esys.finley import *
domain=Rectangle(n0=10,n1=10)
info=domain.getConnectivityInfo()






Revision 6825 - (view) (annotate) - [select for diffs]
Modified Fri May 31 04:01:17 2019 UTC (4 months, 3 weeks ago) by aellery
File length: 9959 byte(s)
Diff to previous 6743
Temporarily disable two tests. See bug 471 on redmine

Revision 6743 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 01:03:04 2018 UTC (11 months, 1 week ago) by aellery
File length: 9931 byte(s)
Diff to previous 6738
I believe that the openMP test fails on several of the buildbots because the environment variables FINLEY_WORKDIR and DUDLEY_WORKDIR are not defined. I have updated dudley/test/python/run_inputOutput.py and finley/test/python/run_inputOutput.py so that when FINLEY_WORKDIR and DUDLEY_WORKDIR are undefined they default to the test directory.



Revision 6738 - (view) (annotate) - [select for diffs]
Modified Fri Nov 2 04:49:38 2018 UTC (11 months, 2 weeks ago) by aellery
File length: 9901 byte(s)
Diff to previous 6734
Fixed another minor testing bug in dudley and finley.

Revision 6734 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 04:54:56 2018 UTC (11 months, 3 weeks ago) by aellery
File length: 9843 byte(s)
Diff to previous 6733
 
eScripts has a new feature!
 
I have fixed the speckley::Brick ownSample function. It is now possible to save speckley Bricks in CSV format using saveDataCSV().




Revision 6733 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 00:26:26 2018 UTC (11 months, 3 weeks ago) by aellery
File length: 9827 byte(s)
Diff to previous 6651
I have identified and fixed the bug that was causing the dudley test run_inputOutput.py and the finley test run_inputOutput.py to fail.

This error occured because the environment variables DUDLEY_TEST_DATA and FINLEY_TEST_DATA were not defined. As a result, the test script was trying to load files from a directory that didn't exist, causing the functions readGmsh and readMesh to bounce back an error. I have modified these tests so that when DUDLEY_TEST_DATA and FINLEY_TEST_DATA are undefined, the script defaults to the correct directory. This has fixed the error and the test now runs to completion.



Revision 6651 - (view) (annotate) - [select for diffs]
Modified Wed Feb 7 02:12:08 2018 UTC (20 months, 2 weeks ago) by jfenwick
File length: 9783 byte(s)
Diff to previous 6523
Make everyone sad by touching all the files

Copyright dates update


Revision 6523 - (view) (annotate) - [select for diffs]
Modified Tue Mar 7 06:50:34 2017 UTC (2 years, 7 months ago) by jfenwick
File length: 9783 byte(s)
Diff to previous 6282
UPDATE THE COPYRIGHT DATES


Revision 6282 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 04:54:01 2016 UTC (3 years, 4 months ago) by caltinay
File length: 9783 byte(s)
Diff to previous 6112
changes to finley tests. See last few commits for details.


Revision 6112 - (view) (annotate) - [select for diffs]
Modified Thu Mar 31 09:40:10 2016 UTC (3 years, 6 months ago) by jfenwick
File length: 9776 byte(s)
Diff to previous 5984
Relicense all the things!



Revision 5984 - (view) (annotate) - [select for diffs]
Modified Fri Feb 26 02:00:45 2016 UTC (3 years, 7 months ago) by caltinay
File length: 9796 byte(s)
Diff to previous 5863
Added IOError. Also started replacing some 'setError()' calls by exception
throws as the latest test failures are bogus because an error was set but
never checked for.


Revision 5863 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 02:25:48 2016 UTC (3 years, 9 months ago) by jfenwick
File length: 9800 byte(s)
Diff to previous 5706
Copyright dates updated.
\version for doxygen to read


Revision 5706 - (view) (annotate) - [select for diffs]
Modified Mon Jun 29 03:41:36 2015 UTC (4 years, 3 months ago) by sshaw
File length: 9800 byte(s)
Diff to previous 5593
all python files now force use of python3 prints and division syntax to stop sneaky errors appearing in py3 environs

Revision 5593 - (view) (annotate) - [select for diffs]
Modified Fri Apr 24 01:36:26 2015 UTC (4 years, 5 months ago) by jfenwick
File length: 9790 byte(s)
Diff to previous 5448
Fixing institution name to comply with policy

Revision 5448 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 05:31:37 2015 UTC (4 years, 8 months ago) by jfenwick
File length: 9782 byte(s)
Diff to previous 5060
Updating all the dates

Revision 5060 - (view) (annotate) - [select for diffs]
Modified Fri Jun 20 03:29:11 2014 UTC (5 years, 4 months ago) by sshaw
File length: 9782 byte(s)
Diff to previous 5043
more reporting of previously silently skipped/passing tests

Revision 5043 - (view) (annotate) - [select for diffs]
Modified Thu Jun 12 07:07:27 2014 UTC (5 years, 4 months ago) by jduplessis
File length: 9679 byte(s)
Diff to previous 5032
skip gmshnamedtags for mpi

Revision 5032 - (view) (annotate) - [select for diffs]
Modified Thu Jun 12 01:03:00 2014 UTC (5 years, 4 months ago) by jduplessis
File length: 9622 byte(s)
Diff to previous 5030
added test for named tags

Revision 5030 - (view) (annotate) - [select for diffs]
Modified Thu Jun 12 00:37:33 2014 UTC (5 years, 4 months ago) by sshaw
File length: 9338 byte(s)
Diff to previous 4984
more missing tests added

Revision 4984 - (view) (annotate) - [select for diffs]
Modified Mon Jun 2 02:50:34 2014 UTC (5 years, 4 months ago) by sshaw
File length: 9333 byte(s)
Diff to previous 4938
revamping testrunners, now uses automated discovery and allows running specific tests without modifying files (see escriptcore/py_src/testing.py for more info/examples)


Revision 4938 - (view) (annotate) - [select for diffs]
Modified Wed May 14 01:13:23 2014 UTC (5 years, 5 months ago) by jfenwick
File length: 9425 byte(s)
Diff to previous 4657
Modify unit tests to read their classes from
esys.escriptcore.utestselect

Change the line in that file to switch between unittest and unittest2



Revision 4657 - (view) (annotate) - [select for diffs]
Modified Thu Feb 6 06:12:20 2014 UTC (5 years, 8 months ago) by jfenwick
File length: 9393 byte(s)
Diff to previous 4437
I changed some files.
Updated copyright notices, added GeoComp.




Revision 4437 - (view) (annotate) - [select for diffs]
Modified Tue Jun 4 05:37:18 2013 UTC (6 years, 4 months ago) by caltinay
File length: 9325 byte(s)
Diff to previous 4154
finley:
-Removed obsolete reference files (OpenDX)
-Converted tag map to a std::map
-loosened tests to ignore tag order in file
-added some decorators for test skips


Revision 4154 - (view) (annotate) - [select for diffs]
Modified Tue Jan 22 09:30:23 2013 UTC (6 years, 9 months ago) by jfenwick
File length: 9282 byte(s)
Diff to previous 4024
Round 1 of copyright fixes

Revision 4024 - (view) (annotate) - [select for diffs]
Modified Mon Oct 22 06:11:29 2012 UTC (7 years ago) by gross
File length: 9282 byte(s)
Diff to previous 4019
tag testing for finley and dudley files added.

Revision 4019 - (view) (annotate) - [select for diffs]
Modified Thu Oct 11 08:12:55 2012 UTC (7 years ago) by jfenwick
File length: 8436 byte(s)
Diff to previous 3981
More tabbing errors,
range/xrange
...

Revision 3981 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 02:47:54 2012 UTC (7 years, 1 month ago) by jfenwick
File length: 8396 byte(s)
Diff to previous 3941
First pass of updating copyright notices

Revision 3941 - (view) (annotate) - [select for diffs]
Modified Fri Jul 27 00:38:10 2012 UTC (7 years, 2 months ago) by jfenwick
File length: 8334 byte(s)
Diff to previous 3934
Some more test disabling


Revision 3934 - (view) (annotate) - [select for diffs]
Modified Fri Jul 13 09:01:16 2012 UTC (7 years, 3 months ago) by jfenwick
File length: 8227 byte(s)
Diff to previous 3912
Added unit test for tagreader


Revision 3912 - (view) (annotate) - [select for diffs]
Modified Fri Jun 15 05:02:42 2012 UTC (7 years, 4 months ago) by jfenwick
File length: 8026 byte(s)
Diff to previous 3911
GetMeshFromFile wrapper to load .fly or .msh depending on the extension.
Note that this only works on one of the two formats named .msh

Addresses mantis issue 641.



Revision 3911 - (view) (annotate) - [select for diffs]
Modified Thu Jun 14 01:01:03 2012 UTC (7 years, 4 months ago) by jfenwick
File length: 7590 byte(s)
Diff to previous 3901
Copyright changes

Revision 3901 - (view) (annotate) - [select for diffs]
Modified Wed May 23 08:09:45 2012 UTC (7 years, 5 months ago) by jfenwick
File length: 7590 byte(s)
Diff to previous 3892
Rectangle and Brick use rich face element by default. 
This is to address issue #653

Updated unit tests to explicitly not use them where they didn't
specify previoulsy



Revision 3892 - (view) (annotate) - [select for diffs]
Modified Tue Apr 10 08:57:23 2012 UTC (7 years, 6 months ago) by jfenwick
File length: 7329 byte(s)
Diff to previous 3551
Merged changes across from the attempt2 branch.
This version builds and passes python2 tests.
It also passes most python3 tests.




Revision 3551 - (view) (annotate) - [select for diffs]
Modified Fri Aug 19 03:53:41 2011 UTC (8 years, 2 months ago) by jfenwick
File length: 7056 byte(s)
Diff to previous 3349
Changing unit test calls to use non deprecated forms (python2.7)
fixes bug #568


Revision 3349 - (view) (annotate) - [select for diffs]
Modified Mon Nov 15 05:09:56 2010 UTC (8 years, 11 months ago) by caltinay
File length: 7056 byte(s)
Diff to previous 2881
escript now supports out-of-tree builds.
All build and test files are now created under a user-definable build_dir
directory.
This also fixes issue 291.
Removed most svn:ignore props since they are no longer required.


Revision 2881 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 02:03:15 2010 UTC (9 years, 8 months ago) by jfenwick
File length: 6796 byte(s)
Diff to previous 2722
Don't panic.
Updating copyright stamps


Revision 2722 - (view) (annotate) - [select for diffs]
Modified Fri Oct 16 06:45:01 2009 UTC (10 years ago) by gross
File length: 6796 byte(s)
Diff to previous 2625
First steps towards macro elements. at the monent a  macro element is identical to its counterpart of 2nd order.





Revision 2625 - (view) (annotate) - [select for diffs]
Modified Fri Aug 21 06:30:25 2009 UTC (10 years, 2 months ago) by jfenwick
File length: 6165 byte(s)
Diff to previous 2549
Merging changes from new doco branch.
All docstrings are now in reStructured text.
A few email addresses have been fixes as well.

Revision 2549 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:43:47 2009 UTC (10 years, 3 months ago) by jfenwick
File length: 6165 byte(s)
Diff to previous 2548
Remainder of copyright date fixes

Revision 2548 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:20:06 2009 UTC (10 years, 3 months ago) by jfenwick
File length: 6165 byte(s)
Diff to previous 2416
Updating copyright notices

Revision 2416 - (view) (annotate) - [select for diffs]
Modified Wed May 13 06:03:59 2009 UTC (10 years, 5 months ago) by gross
File length: 6165 byte(s)
Diff to previous 2344
* fix Windows MPI case: export system variables
* define ESCRIPT_NUM_PROC and ESCRIPT_NUM_NODES
* cleanup using os.path.join()

Revision 2344 - (view) (annotate) - [select for diffs]
Modified Mon Mar 30 02:13:58 2009 UTC (10 years, 6 months ago) by jfenwick
File length: 6125 byte(s)
Diff to previous 1866
Change __url__ to launchpad site


Revision 1866 - (view) (annotate) - [select for diffs]
Modified Thu Oct 9 04:01:06 2008 UTC (11 years ago) by ksteube
File length: 6130 byte(s)
Diff to previous 1829
Repair to saveVTK similar to revision 1677 (there we got the number of offsets correct
and in this revision we got the number of types correct).
In case of MPI > 1 do not run saveDX tests since saveDX is not MPI parallel.


Revision 1829 - (view) (annotate) - [select for diffs]
Modified Thu Oct 2 05:40:30 2008 UTC (11 years ago) by ksteube
File length: 6129 byte(s)
Diff to previous 1809
Adjusted tests for MPI.
Enabled two tests in run_inputOutput.py for order=2 after recent bugfix.


Revision 1809 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 06:43:44 2008 UTC (11 years ago) by ksteube
File length: 6261 byte(s)
Diff to previous 1807
Copyright updated in all python files


Revision 1807 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 01:04:51 2008 UTC (11 years ago) by ksteube
File length: 6401 byte(s)
Diff to previous 1805
The new MPI parallel ReadMesh is now the default after having passed
all tests both with and without MPI.
If you have been using ReadMesh you should notice no difference.
If you were using ReadMeshMPI then change to ReadMesh.


Revision 1805 - (view) (annotate) - [select for diffs]
Modified Wed Sep 24 23:39:00 2008 UTC (11 years ago) by ksteube
File length: 6420 byte(s)
Diff to previous 1777
Added python-level methods getMPISizeWorld() and getMPIRankWorld() for MPI process info.
Test suite run_inputOutput.py runs on any number of cores now, hybrid may still be a problem.


Revision 1777 - (view) (annotate) - [select for diffs]
Modified Tue Sep 9 06:39:37 2008 UTC (11 years, 1 month ago) by ksteube
File length: 5212 byte(s)
Diff to previous 1776
Implemented Lutz fix for MPI mesh dump/load using NetCDF


Revision 1776 - (view) (annotate) - [select for diffs]
Modified Tue Sep 9 06:03:53 2008 UTC (11 years, 1 month ago) by ksteube
File length: 5221 byte(s)
Diff to previous 1772
Cleared away some debugging prints


Revision 1772 - (view) (annotate) - [select for diffs]
Modified Tue Sep 9 00:18:49 2008 UTC (11 years, 1 month ago) by ksteube
File length: 5223 byte(s)
Diff to previous 1771
Added tests for reading a finley mesh and comparing it to a newly-created
mesh of the same type

Moved my mesh comparison function to be a class method


Revision 1771 - (view) (annotate) - [select for diffs]
Modified Mon Sep 8 22:47:55 2008 UTC (11 years, 1 month ago) by ksteube
File length: 5084 byte(s)
Diff to previous 1755
Removed failing test until we fix a bug.
Fixed several compiler warnings.


Revision 1755 - (view) (annotate) - [select for diffs]
Modified Mon Sep 8 01:34:40 2008 UTC (11 years, 1 month ago) by ksteube
File length: 5075 byte(s)
Diff to previous 1754
Added new field to NetCDF dump of mesh


Revision 1754 - (view) (annotate) - [select for diffs]
Added Sun Sep 7 22:07:26 2008 UTC (11 years, 1 month ago) by ksteube
File length: 4897 byte(s)
Added new test suite run_inputOutput.py to systematically test I/O.
Can determine if two domains are same with Fourier analysis.
Added new method getNumDataPointsGlobal to return number of DPs of a distributed mesh.
Reading of tags in ReadMeshMPI failed occasionally, should be more robust now.


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