Log of /branches/windows_from_1383_trunk/escript/py_src
Directory Listing
Revision
1386 -
Directory Listing
Modified
Fri Jan 11 07:40:29 2008 UTC
(13 years ago)
by
trankine
Moving the just checked in windows modified trunk onto a branch
Revision
1385 -
Directory Listing
Modified
Fri Jan 11 07:33:30 2008 UTC
(13 years ago)
by
trankine
Original Path:
trunk/escript/py_src
This is a commit to the trunk of the current windows version undergoing debugging.
This trunk will shortly be moved to the branches area
of the repository, and the saved trunk version currently over in branches restored to the trunk.
Second try after resolving a conflict.
Revision
1357 -
Directory Listing
Modified
Thu Nov 29 08:39:32 2007 UTC
(13 years, 2 months ago)
by
gross
Original Path:
trunk/escript/py_src
interplote function returns now argument if it has requested function space
Revision
1331 -
Directory Listing
Modified
Tue Oct 23 00:42:15 2007 UTC
(13 years, 3 months ago)
by
gross
Original Path:
trunk/escript/py_src
ArithmeticTuple added. It is useful for certain applications of PCG
Revision
1312 -
Directory Listing
Modified
Mon Sep 24 06:18:44 2007 UTC
(13 years, 4 months ago)
by
ksteube
Original Path:
trunk/escript/py_src
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
1247 -
Directory Listing
Modified
Tue Aug 14 01:29:20 2007 UTC
(13 years, 5 months ago)
by
ksteube
Original Path:
trunk/escript/py_src
New python method getVersion() which returns the Subversion revision
from which escript was compiled
Revision
1137 -
Directory Listing
Modified
Thu May 10 08:11:31 2007 UTC
(13 years, 8 months ago)
by
gross
Original Path:
trunk/escript/py_src
This version passes the tests on windows except for
* vtk
* netCDF
The version needs to be tested on altix and linux
Revision
1122 -
Directory Listing
Modified
Tue May 1 03:21:04 2007 UTC
(13 years, 9 months ago)
by
gross
Original Path:
trunk/escript/py_src
As the LinearPDE uses coefficients as reduced even if they are handed
over as full the projector runs into a problem when reduced and full
arguments are used in the same projector. Now the projector resets the
coefficients befor starting the projection.
Revision
1107 -
Directory Listing
Modified
Thu Apr 19 02:14:18 2007 UTC
(13 years, 9 months ago)
by
gross
Original Path:
trunk/escript/py_src
Small bug in ReadMeh call fixed.
Test for typ of verbose argument in pdetools.SaddlePointSolver added.
Revision
1105 -
Directory Listing
Modified
Thu Apr 19 01:10:49 2007 UTC
(13 years, 9 months ago)
by
gross
Original Path:
trunk/escript/py_src
The modification fixes a problem with the garbage collection in python.
The problem seems that a default value of a method argument is seen as
being dependend on the the instance of the class. This produces a
circular dependence and can stop the garbage collection to delete the
object. The situation becomes in particulary bad if the class provides a
__del__ method as it is not clear where to break the circle.
We need to revisit all python classes in escript & Co to remove this
possible problem.
Revision
1042 -
Directory Listing
Modified
Mon Mar 19 03:50:34 2007 UTC
(13 years, 10 months ago)
by
gross
Original Path:
trunk/escript/py_src
a small fix which deals with the case that a Model class
does not take the argument debug.
Revision
1020 -
Directory Listing
Modified
Mon Mar 12 10:12:36 2007 UTC
(13 years, 10 months ago)
by
phornby
Original Path:
trunk/escript/py_src
Added explicit destructors to all Exception classes.
Fixed an ifdef in TestCase.cpp
Made the conditional definition of M_PI in LocalOps.h
depend only on M_PI being undefined.
Replace dynamically dimensioned arrays in DataFactory & DataTagged with malloc.
sort() method of list does not take a named argument
(despite the manual's claims to the contary).
Revision
990 -
Directory Listing
Modified
Wed Feb 21 04:27:52 2007 UTC
(13 years, 11 months ago)
by
ksteube
Original Path:
trunk/escript/py_src
Cleaned up the python in-line doc to make epydoc work better
Configured for shake71 to find NetCDF libraries
Revision
971 -
Directory Listing
Modified
Wed Feb 14 04:40:49 2007 UTC
(13 years, 11 months ago)
by
ksteube
Original Path:
trunk/escript/py_src
Had to undo commit to new MPI branch. The changes went into the original and
not the branch. The files committed here are exactly the same as revision 969.
Revision
969 -
Directory Listing
Modified
Tue Feb 13 23:02:23 2007 UTC
(13 years, 11 months ago)
by
ksteube
Original Path:
trunk/escript/py_src
Parallelization using MPI for solution of implicit problems.
Parallelization for explicit problems has already been accomplished in
the main SVN branch.
This is incomplete and is not ready for use.
Revision
964 -
Directory Listing
Modified
Tue Feb 13 05:10:26 2007 UTC
(13 years, 11 months ago)
by
gross
Original Path:
trunk/escript/py_src
The set/getRefVal functions of Data objects have been removed (mainly to avoid later problems with MPI).
Moreover, a faster access to the reference id of samples has been introduced. I don't think that anybody will
profit form this at this stage but it will allow a faster dump of data objects.
Revision
950 -
Directory Listing
Modified
Tue Feb 6 07:01:11 2007 UTC
(13 years, 11 months ago)
by
gross
Original Path:
trunk/escript/py_src
escript data objects can now be saved to netCDF files, see http://www.unidata.ucar.edu/software/netcdf/.
Currently only constant data are implemented with expanded and tagged data to follow.
There are two new functions to dump a data object
s=Data(...)
s.dump(<filename>)
and to recover it
s=load(<filename>, domain)
Notice that the function space of s is recovered but domain is still need.
dump and load will replace archive and extract.
The installation needs now the netCDF installed.
Revision
938 -
Directory Listing
Modified
Thu Jan 25 03:40:54 2007 UTC
(14 years ago)
by
gross
Original Path:
trunk/escript/py_src
the FinleyReade accepts now gmsh files (use format="gmsh")
and
Simulations are accepting Models only. Moreover, there is a test now
if a all Models targeted by a model in the simulation or a subsimulation
are included in simulation or a subsimulation.
Revision
926 -
Directory Listing
Modified
Fri Jan 12 06:31:37 2007 UTC
(14 years ago)
by
gross
Original Path:
trunk/escript/py_src
modelframe support dictonaries with fixed type of key and value. only writing implemented yet
Revision
921 -
Directory Listing
Modified
Fri Jan 5 00:54:37 2007 UTC
(14 years ago)
by
gross
Original Path:
trunk/escript/py_src
I have done some clarification on functions that allow to access individual data point values in a Data object.
The term "data point number" is always local on a MPI process and referes to the value (data_point_in_sample, sample)
as a single identifyer (data_point_in_sample + sample * number_data_points_per_sample). a "global data point number"
referes to a tuple of a processour id and local data point number.
The function convertToNumArrayFromSampleNo has been removed now and convertToNumArrayFromDPNo renamed to getValueOfDataPoint.
There are two new functions:
getNumberOfDataPoints
setValueOfDataPoint
This allows you to do things like:
in=Data(..)
out=Data(..)
for i in xrange(in.getNumberOfDataPoints())
in_loc=in.getValueOfDataPoint(i)
out_loc=< some operations on in_loc>
out.setValueOfDataPoint(i,out_loc)
Also mindp is renamed to minGlobalDataPoint and there is a new function getValueOfGlobalDataPoint. While in MPI the functions getNumberOfDataPoints and getValueOfDataPoint are working locally on each process (so the code above is executed in parallel).
the latter allows getting a single value across all processors.
Revision
918 -
Directory Listing
Modified
Wed Jan 3 06:30:00 2007 UTC
(14 years ago)
by
gross
Original Path:
trunk/escript/py_src
fixes on ESySXML to get runmodel going.
* object ids are now local for read and write of XML
* ParameterSets are now written with class name
* ParameterSets linked by other ParameterSets (previously only Models) are written now
* list are now lists of str (rather than bools), lists with bool, int or float are mapped to numarray
* numarray are writen with generic types Bool, Int, Float (portability!)
Revision
912 -
Directory Listing
Modified
Wed Dec 6 03:29:49 2006 UTC
(14 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
modellib.WriteVTK has been rewritten. Instead of only three data objects scalar,
vector, tensor it takes now up to 20 data objects data0 ... data19 and writes it into a
single VTK file. There is also the possibilty to define individiual name tags name0,..., name19.
If no name is given the corresponding attribute name of the Link target is used.
This simplifies the usage and increases efficiency.
Revision
881 -
Directory Listing
Modified
Thu Oct 26 02:54:47 2006 UTC
(14 years, 3 months ago)
by
gross
Original Path:
trunk/escript/py_src
some small canges to clip function to allow unbounded upper or lower values
Revision
875 -
Directory Listing
Modified
Tue Oct 17 12:42:47 2006 UTC
(14 years, 3 months ago)
by
elspeth
Original Path:
trunk/escript/py_src
DataSources added to modelframe/EsysXML, and tests to run_xml.py. Currently does not actually handle data
sources,
just references. Functionality is in progress.
EsysXML format (URI can be a local file reference, or a remote reference such as an ftp site, fileformat
is currently any string descriptor, such as finleyMesh or gmtdata):
<Parameter type="DataSource">
<Name>
uritest
</Name>
<Value>
<DataSource>
<URI>
somelocalfile.txt
</URI>
<FileFormat>
text
</FileFormat>
</DataSource>
</Value>
</Parameter>
Revision
874 -
Directory Listing
Modified
Tue Oct 17 12:06:11 2006 UTC
(14 years, 3 months ago)
by
elspeth
Original Path:
trunk/escript/py_src
Changed numarray xml structure slightly, to fit better with the rest of
the XML.
Added lists of booleans as a data type in modelframe.
Fixed bug with bools in modelframe.
Revision
871 -
Directory Listing
Modified
Sat Oct 14 08:25:54 2006 UTC
(14 years, 3 months ago)
by
elspeth
Original Path:
trunk/escript/py_src
Numarray support added to modelframe and tests for numarray added to run_xml.
Numarrays will look like this in ESysXML:
A 2 x 3 numarray will look like this:
<Parameter type="NumArray">
<Name>
numtest
</Name>
<Value>
<ArrayType>
Float64
</ArrayType>
<Shape>
2 3
</Shape>
<Data>
1.0 2.0 3.0 3.0 4.0 5.0
</Data>
</Value>
</Parameter>
A numarray vector will look like this:
<Parameter type="NumArray">
<Name>
numtest
</Name>
<Value>
<ArrayType>
Float64
</ArrayType>
<Shape>
3
</Shape>
<Data>
3.0 4.0 5.0
</Data>
</Value>
</Parameter>
Revision
867 -
Directory Listing
Modified
Mon Oct 9 06:50:09 2006 UTC
(14 years, 3 months ago)
by
gross
Original Path:
trunk/escript/py_src
a class to solving sattle point problems using uszawa scheme (not functional yet)
Revision
865 -
Directory Listing
Modified
Fri Oct 6 10:02:18 2006 UTC
(14 years, 3 months ago)
by
gross
Original Path:
trunk/escript/py_src
some functions for minimizing a function added. there is still some work required but successfully applied in an aplication
Revision
838 -
Directory Listing
Modified
Tue Sep 5 22:45:55 2006 UTC
(14 years, 4 months ago)
by
gross
Original Path:
trunk/escript/py_src
drucker prager works now but there is still some work on the stepsize control needed.
Revision
836 -
Directory Listing
Modified
Mon Sep 4 22:37:25 2006 UTC
(14 years, 4 months ago)
by
gross
Original Path:
trunk/escript/py_src
new implementation of the tangential operator and a restriction of time step size change added
Revision
813 -
Directory Listing
Modified
Mon Aug 21 02:08:47 2006 UTC
(14 years, 5 months ago)
by
ksteube
Original Path:
trunk/escript/py_src
Tensor products for Data objects are now computed by a C++ method
C_GeneralTensorProduct, which calls C function matrix_matrix_product
to do the actual calculation.
Can perform product with either input transposed in place, meaning
without first computing the transpose in a separate step.
Revision
804 -
Directory Listing
Modified
Thu Aug 10 01:12:16 2006 UTC
(14 years, 5 months ago)
by
gross
Original Path:
trunk/escript/py_src
the new function swap_axes + tests added. (It replaces swap).
Revision
800 -
Directory Listing
Modified
Tue Aug 8 11:23:18 2006 UTC
(14 years, 5 months ago)
by
gross
Original Path:
trunk/escript/py_src
new function _swap. Python wrapper + testing is still missing.
Revision
791 -
Directory Listing
Modified
Thu Jul 27 00:37:57 2006 UTC
(14 years, 6 months ago)
by
bcumming
Original Path:
trunk/escript/py_src
updated calls to matrixmult to the new version matrix_mult
Revision
790 -
Directory Listing
Modified
Wed Jul 26 23:12:34 2006 UTC
(14 years, 6 months ago)
by
bcumming
Original Path:
trunk/escript/py_src
changes to escript/py_src/pdetools.py and /escript/src/Data.h/.cpp to
make the Locator work in MPI. escript::Data::mindp now returns a 3 tuple,
with the MPI rank of the process on which the minimum value occurs
included. escript::Data::convertToNumArrayFromDPNo also takes the ProcNo
to perform the MPI reduction.
This had to be implemented in both the MPI and non-MPI versions to allow
the necesary changes to the Python code in pdetools.py. In the non-MPI
version ProcNo is set to 0. This works for the explicit scripts tested
thus far, however if it causes problems in your scripts contact Ben or
Lutz, or revert the three files (pdetools.py, Data.h and Data.cpp) to
the previous version.
Revision
782 -
Directory Listing
Modified
Tue Jul 18 00:47:47 2006 UTC
(14 years, 6 months ago)
by
bcumming
Original Path:
trunk/escript/py_src
Large number of changes to Finley for meshing in MPI.
- optimisation and neatening up of rectcanglular mesh generation code
- first and second order 1D, 2D and 3D rectangular meshes are now
available in finley and escript using MPI.
- reduced meshes now generated in MPI, and interpolation to and from
reduced data types now supported.
Revision
775 -
Directory Listing
Modified
Mon Jul 10 04:00:08 2006 UTC
(14 years, 6 months ago)
by
ksteube
Original Path:
trunk/escript/py_src
Modified the following python methods in escript/py_src/util.py to
call faster C++ methods:
escript_trace
escript_transpose
escript_symmetric
escript_nonsymmetric
Revision
772 -
Directory Listing
Modified
Fri Jul 7 05:47:28 2006 UTC
(14 years, 6 months ago)
by
gross
Original Path:
trunk/escript/py_src
the check for inhomogenous constraint has been modified so ot does nor
require a tolerance which is a bit risky.
Revision
727 -
Directory Listing
Modified
Fri May 12 06:31:06 2006 UTC
(14 years, 8 months ago)
by
gross
Original Path:
trunk/escript/py_src
In case of an error in paso a seg fault occured. this was caused by
inproper deallocation of memory in this case. this problem is fixed now.
Revision
700 -
Directory Listing
Modified
Thu Apr 6 00:13:40 2006 UTC
(14 years, 9 months ago)
by
gross
Original Path:
trunk/escript/py_src
A few changes in the build mechanism and the file structure so scons can build release tar files:
* paso/src/Solver has been moved to paso/src
* all test_.py are now run_.py files and are assumed to be passing python tests. they can run by
scons py_tests and are part of the release test set
* escript/py_src/test_ are moved to escript/test/python and are installed in to the build directory
(rather then the PYTHONPATH).
* all py files in test/python which don't start with run_ or test_ are now 'local_py_tests'. they are installed i
by not run automatically.
* CppUnitTest is now treated as a escript module (against previous decisions).
* scons realse builds nor tar/zip files with relvant source code (src and tests in seperate files)
the python tests don't pass yet due to path problems.
Revision
682 -
Directory Listing
Modified
Mon Mar 27 02:43:09 2006 UTC
(14 years, 10 months ago)
by
robwdcock
Original Path:
trunk/escript/py_src
+ NEW BUILD SYSTEM
This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.
ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows
module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3
Revision
614 -
Directory Listing
Modified
Wed Mar 22 01:37:07 2006 UTC
(14 years, 10 months ago)
by
elspeth
Original Path:
trunk/escript/py_src
Corrected spelling of 'license' in url so that the link actually points to the license.
Revision
608 -
Directory Listing
Modified
Tue Mar 21 09:46:06 2006 UTC
(14 years, 10 months ago)
by
elspeth
Original Path:
trunk/escript/py_src
moved "import numarray.linear_algebra" to function that uses it, in case it is not installed
Revision
587 -
Directory Listing
Modified
Fri Mar 10 02:26:50 2006 UTC
(14 years, 10 months ago)
by
gross
Original Path:
trunk/escript/py_src
eigenvalues_and_eigenvector fucntion added. test for 2D problem is added and is passed.
Revision
585 -
Directory Listing
Modified
Thu Mar 9 23:47:42 2006 UTC
(14 years, 10 months ago)
by
gross
Original Path:
trunk/escript/py_src
problem with eigenvalue of zero matrix fixed (thanks Dr Hale)
Revision
574 -
Directory Listing
Modified
Thu Mar 2 06:31:24 2006 UTC
(14 years, 11 months ago)
by
gross
Original Path:
trunk/escript/py_src
some modifications on eigenvalues to make it a bit more robust.
Revision
554 -
Directory Listing
Modified
Wed Feb 22 04:02:54 2006 UTC
(14 years, 11 months ago)
by
gross
Original Path:
trunk/escript/py_src
tests for tagged data fixed. test failing on maxval with segmenation fault (peinlich, peinlich)
Revision
531 -
Directory Listing
Modified
Wed Feb 15 08:11:10 2006 UTC
(14 years, 11 months ago)
by
gross
Original Path:
trunk/escript/py_src
a new version of lumping implemented (does not need a stiffness matrix)
Revision
529 -
Directory Listing
Modified
Wed Feb 15 03:58:50 2006 UTC
(14 years, 11 months ago)
by
gross
Original Path:
trunk/escript/py_src
small bugs in eigenvalues function fixed. 3x3 on data still given wrong results
Revision
442 -
Directory Listing
Modified
Fri Jan 20 04:39:43 2006 UTC
(15 years ago)
by
gross
Original Path:
trunk/escript/py_src
kronecker (and relatives) take now a FunctionSpace as argument and return a Data object in tthis functionspace
Revision
441 -
Directory Listing
Modified
Fri Jan 20 03:40:39 2006 UTC
(15 years ago)
by
gross
Original Path:
trunk/escript/py_src
and finally test for the divergence operator added. div() has been modified to take Symbol arguments
Revision
437 -
Directory Listing
Modified
Fri Jan 20 00:16:58 2006 UTC
(15 years ago)
by
gross
Original Path:
trunk/escript/py_src
comprehensive testing for integrate function added. tests for grad will be added in the next check in. GradTest is obsolete now.
Revision
430 -
Directory Listing
Modified
Wed Jan 11 06:40:50 2006 UTC
(15 years ago)
by
gross
Original Path:
trunk/escript/py_src
ILU has been replicated is called RILU (recursive ILU) now. ILU will now be reimplemented.
Revision
425 -
Directory Listing
Modified
Tue Jan 10 04:10:39 2006 UTC
(15 years ago)
by
gross
Original Path:
trunk/escript/py_src
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
400 -
Directory Listing
Modified
Wed Dec 21 23:13:39 2005 UTC
(15 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
Some chnages required for oder numarray versions. mai problem is that
operations on array objects with rank 0 sometimes return float rather
than arrays. This problem seems to be fixed in newer releases.
Revision
390 -
Directory Listing
Modified
Tue Dec 20 03:39:24 2005 UTC
(15 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
os.loginname does not work under pbs. the exception is caught now
Revision
386 -
Directory Listing
Modified
Tue Dec 20 00:31:52 2005 UTC
(15 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
the number of problems to run is now the less or equal then len(scale) and less or equal number of problems. This allows easier control
Revision
364 -
Directory Listing
Modified
Thu Dec 15 04:38:28 2005 UTC
(15 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
a simple environment to run benchmarks (mainly for testing solvers)
Revision
352 -
Directory Listing
Modified
Wed Dec 14 02:21:37 2005 UTC
(15 years, 1 month ago)
by
jgs
Original Path:
trunk/escript/py_src
turns out Install() targets should also be made Default()
targets if you want them to actually reliably work!
Revision
341 -
Directory Listing
Modified
Mon Dec 12 05:26:10 2005 UTC
(15 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
some fixes to make the test to run for older numarray versions
Revision
329 -
Directory Listing
Modified
Wed Dec 7 04:42:43 2005 UTC
(15 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
fixing the problem that older versions of numarray don't have a sign method
Revision
312 -
Directory Listing
Modified
Mon Dec 5 07:01:00 2005 UTC
(15 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
reimplementation of maxval,minval and length. small bug in generalTensorProduct fixed
Revision
292 -
Directory Listing
Modified
Fri Dec 2 03:11:04 2005 UTC
(15 years, 1 month ago)
by
gross
Original Path:
trunk/escript/py_src
complete test set for generalTensorProduct and friends added.
Revision
288 -
Directory Listing
Modified
Fri Dec 2 01:55:04 2005 UTC
(15 years, 1 month ago)
by
jgs
Original Path:
trunk/escript/py_src
now automatically build unit tests as required based on dependencies
between unit tests and libraries
Revision
155 -
Directory Listing
Modified
Wed Nov 9 02:02:19 2005 UTC
(15 years, 2 months ago)
by
jgs
Original Path:
trunk/escript/py_src
move all directories from trunk/esys2 into trunk and remove esys2
Revision
124 -
Directory Listing
Modified
Wed Jul 20 06:14:58 2005 UTC
(15 years, 6 months ago)
by
jgs
Original Path:
trunk/esys2/escript/py_src
added ln(data) style wrapper for data.ln() - also added corresponding
implementation of Ln_Symbol class (not sure if this is right though)