/[escript]/trunk/escript/src/Utils.cpp
ViewVC logotype

Log of /trunk/escript/src/Utils.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 4507)

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

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

Revision 3723 - (view) (annotate) - [select for diffs]
Modified Wed Dec 7 05:59:04 2011 UTC (7 years, 9 months ago) by caltinay
File length: 13382 byte(s)
Diff to previous 3603
Don't eat exceptions when using MPI with one rank.


Revision 3603 - (view) (annotate) - [select for diffs]
Modified Mon Sep 19 03:42:53 2011 UTC (8 years ago) by caltinay
File length: 13340 byte(s)
Diff to previous 3585
Fixed some unused var errors in non-mpi build.


Revision 3585 - (view) (annotate) - [select for diffs]
Modified Wed Sep 7 06:16:08 2011 UTC (8 years ago) by caltinay
File length: 13322 byte(s)
Diff to previous 3490
Fix for #582: Determine if gmsh was compiled with MPI support and use
MPI_Comm_spawn to invoke it if necessary.


Revision 3490 - (view) (annotate) - [select for diffs]
Modified Wed Mar 30 02:24:33 2011 UTC (8 years, 5 months ago) by caltinay
File length: 12249 byte(s)
Diff to previous 3259
More gcc-4.6 fixes (mostly initialized-but-unused-var warnings)


Revision 3259 - (view) (annotate) - [select for diffs]
Modified Mon Oct 11 01:48:14 2010 UTC (8 years, 11 months ago) by jfenwick
File length: 12332 byte(s)
Diff to previous 2940
Merging dudley and scons updates from branches


Revision 2940 - (view) (annotate) - [select for diffs]
Modified Fri Feb 19 00:38:45 2010 UTC (9 years, 7 months ago) by caltinay
File length: 12332 byte(s)
Diff to previous 2881
Minor potential optimization: prefer empty() over size()==0.


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


Revision 2824 - (view) (annotate) - [select for diffs]
Modified Wed Dec 16 01:22:56 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 12332 byte(s)
Diff to previous 2799
ResolveGroup fixed so it actually resolves groups.
Children, when you iterate backwards remember its i>=0 not i>0


Revision 2799 - (view) (annotate) - [select for diffs]
Modified Thu Dec 3 01:35:08 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 12144 byte(s)
Diff to previous 2770
resolveGroup function added to python.
Unit tests for resolveGroup, resolve and delay.

Revision 2770 - (view) (annotate) - [select for diffs]
Modified Wed Nov 25 01:24:51 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 11454 byte(s)
Diff to previous 2678
Removed buffer implementation of Lazy.
Removed supporting Alloc/Free Sample buffer calls.

Revision 2678 - (view) (annotate) - [select for diffs]
Modified Wed Sep 23 23:54:16 2009 UTC (9 years, 11 months ago) by jfenwick
File length: 11907 byte(s)
Diff to previous 2644
Some fixes for compile errors for gcc_testing_version


Revision 2644 - (view) (annotate) - [select for diffs]
Modified Wed Sep 2 04:14:03 2009 UTC (10 years ago) by jfenwick
File length: 11914 byte(s)
Diff to previous 2642
Add unit tests for saveDataCSV which should be ready for use now.
Keyword args are now output in sorted order.

Removed some unneeded functions.

Revision 2642 - (view) (annotate) - [select for diffs]
Modified Tue Sep 1 04:15:50 2009 UTC (10 years ago) by jfenwick
File length: 13945 byte(s)
Diff to previous 2641
pre cleanup

Revision 2641 - (view) (annotate) - [select for diffs]
Modified Mon Aug 31 07:41:49 2009 UTC (10 years ago) by jfenwick
File length: 11801 byte(s)
Diff to previous 2637
Fixed some of my stupids related to MPI compile errors.


Revision 2637 - (view) (annotate) - [select for diffs]
Modified Fri Aug 28 04:12:24 2009 UTC (10 years ago) by jfenwick
File length: 8891 byte(s)
Diff to previous 2635
saveDataCSV looks good but does not do MPI yet.
Also not unit tested.


Revision 2635 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 04:54:41 2009 UTC (10 years ago) by jfenwick
File length: 7640 byte(s)
Diff to previous 2607
A bunch of changes related to saveDataCSV.
[Not completed or unit tested yet]

Added saveDataCSV to util.py
AbstractDomain (and MeshAdapter) have a commonFunctionSpace method to 
take a group of FunctionSpaces and return something they can all be interpolated to.

Added pointToStream() in DataTypes to help print points.

added actsConstant() to data - required because DataConstant doesn't store samples the same way other Data do.

Revision 2607 - (view) (annotate) - [select for diffs]
Modified Tue Aug 18 01:02:56 2009 UTC (10 years, 1 month ago) by jfenwick
File length: 3259 byte(s)
Diff to previous 2548
Added getMPIWorldSum function to the esys.escript module.
This function takes an integer from each member of the MPIWorld.
This will hopefully address mantis issue 359

Added unit tests for most of the c++ free functions in the module.




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

Revision 2313 - (view) (annotate) - [select for diffs]
Modified Tue Mar 17 03:41:17 2009 UTC (10 years, 6 months ago) by gross
File length: 2999 byte(s)
Diff to previous 2308
pyvisi is now rejecting to work under MPI with more than 1 processor. Tests for this configuration are dropped now.




Revision 2308 - (view) (annotate) - [select for diffs]
Modified Mon Mar 16 01:20:56 2009 UTC (10 years, 6 months ago) by gross
File length: 2833 byte(s)
Diff to previous 2100
size_t may be 64 bits which is incompatible to MPI_INT. This problem is fixed by inserting a cast in Mesh_read.c. 
Moreover a fix has been added making sure that gmsh and triangle are executed on one processor only.




Revision 2100 - (view) (annotate) - [select for diffs]
Modified Wed Nov 26 08:13:00 2008 UTC (10 years, 9 months ago) by gross
File length: 2603 byte(s)
Diff to previous 1835
This commit cleans up the incompressible solver and adds a DarcyFlux solver in model module. 
Some documentation for both classes has been added.
The convection code is only linear at the moment.




Revision 1835 - (view) (annotate) - [select for diffs]
Modified Thu Oct 2 10:18:03 2008 UTC (10 years, 11 months ago) by phornby
File length: 2501 byte(s)
Diff to previous 1811
There is no unistd.h on windows, as the name would imply.
I assume it is included for gethostname only.

Revision 1811 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 23:11:13 2008 UTC (10 years, 11 months ago) by ksteube
File length: 2495 byte(s)
Diff to previous 1806
Copyright updated in all files


Revision 1806 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 00:36:10 2008 UTC (10 years, 11 months ago) by ksteube
File length: 2530 byte(s)
Diff to previous 1805
Cleaned up use of gethostname


Revision 1805 - (view) (annotate) - [select for diffs]
Modified Wed Sep 24 23:39:00 2008 UTC (10 years, 11 months ago) by ksteube
File length: 2469 byte(s)
Diff to previous 1757
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 1757 - (view) (annotate) - [select for diffs]
Modified Mon Sep 8 02:28:38 2008 UTC (11 years ago) by gross
File length: 2201 byte(s)
Diff to previous 1705
no ifdef _OPENMP required

Revision 1705 - (view) (annotate) - [select for diffs]
Modified Thu Aug 14 05:56:40 2008 UTC (11 years, 1 month ago) by ksteube
File length: 2227 byte(s)
Diff to previous 1628
Branch scons-dev is hereby closed.
Some parts of scons scripts have been re-written.


Revision 1628 - (view) (annotate) - [select for diffs]
Modified Fri Jul 11 13:12:46 2008 UTC (11 years, 2 months ago) by phornby
File length: 2157 byte(s)
Diff to previous 1620

Merge in /branches/windows_from_1456_trunk_1620_merged_in branch.

You will find a preserved pre-merge trunk in tags under tags/trunk_at_1625.
That will be useful for diffing & checking on my stupidity.

Here is a list of the conflicts and their resolution at this
point in time.


=================================================================================
(LLWS == looks like white space).

finley/src/Assemble_addToSystemMatrix.c - resolve to branch - unused var. may be wrong.....
finley/src/CPPAdapter/SystemMatrixAdapter.cpp - resolve to branch - LLWS
finley/src/CPPAdapter/MeshAdapter.cpp - resolve to branch - LLWS
paso/src/PCG.c - resolve to branch - unused var fixes.
paso/src/SolverFCT.c - resolve to branch - LLWS
paso/src/FGMRES.c - resolve to branch - LLWS
paso/src/Common.h - resolve to trunk version. It's omp.h's include... not sure it's needed,
but for the sake of saftey.....
paso/src/Functions.c - resolve to branch version, indentation/tab removal and return error
on bad unimplemented Paso_FunctionCall.
paso/src/SolverFCT_solve.c - resolve to branch version, unused vars
paso/src/SparseMatrix_MatrixVector.c - resolve to branch version, unused vars.
escript/src/Utils.cpp - resloved to branch, needs WinSock2.h
escript/src/DataExpanded.cpp - resolved to branch version - LLWS
escript/src/DataFactory.cpp - resolve to branch version
=================================================================================

This currently passes tests on linux (debian), but is not checked on windows or Altix yet.

This checkin is to make a trunk I can check out for windows to do tests on it.

Known outstanding problem is in the operator=() method of exceptions
causing warning messages on the intel compilers.

May the God of doughnuts have mercy on my soul.



Revision 1620 - (view) (annotate) - [select for diffs]
Modified Fri Jun 27 02:30:18 2008 UTC (11 years, 2 months ago) by ksteube
File length: 2112 byte(s)
Diff to previous 1568
Included more MPI configuration options on Savanna


Revision 1568 - (view) (annotate) - [select for diffs]
Modified Sat May 24 03:15:08 2008 UTC (11 years, 3 months ago) by ksteube
File length: 1506 byte(s)
Diff to previous 1567
Some testing on ac.apac.edu.au, more work needed
New pyvisi example offscreen.py for offscreen rendering


Revision 1567 - (view) (annotate) - [select for diffs]
Modified Thu May 22 22:52:41 2008 UTC (11 years, 3 months ago) by ksteube
File length: 1528 byte(s)
Diff to previous 1561
scons all_tests passes on Savanna with OMP=1 and OMP=4.
New boost for Savanna.
A few more cases of #s -> %s.


Revision 1561 - (view) (annotate) - [select for diffs]
Modified Wed May 21 06:58:52 2008 UTC (11 years, 4 months ago) by ksteube
File length: 1440 byte(s)
Diff to previous 1388
Added python method printParallelThreadCounts() to tell how many MPI CPUs and OpenMP threads we are using (for testing hybrid runs)


Revision 1388 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:58 2008 UTC (11 years, 8 months ago) by trankine
File length: 895 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, 8 months ago) by trankine
Original Path: temp/escript/src/Utils.cpp
File length: 895 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, 8 months ago) by phornby
Original Path: temp_trunk_copy/escript/src/Utils.cpp
File length: 895 byte(s)
Diff to previous 1312
Make a temp copy of the trunk before checking in the windows changes



Revision 1312 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 06:18:44 2007 UTC (11 years, 11 months ago) by ksteube
File length: 895 byte(s)
Diff to previous 1247
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 - (view) (annotate) - [select for diffs]
Modified Tue Aug 14 01:29:20 2007 UTC (12 years, 1 month ago) by ksteube
File length: 1020 byte(s)
Diff to previous 797
New python method getVersion() which returns the Subversion revision
from which escript was compiled


Revision 797 - (view) (annotate) - [select for diffs]
Modified Thu Aug 3 02:03:18 2006 UTC (13 years, 1 month ago) by gross
File length: 928 byte(s)
Diff to previous 615
function added to manually free unused memory in the memory manager

Revision 615 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 02:12:00 2006 UTC (13 years, 6 months ago) by elspeth
File length: 904 byte(s)
Diff to previous 478
More copyright information.


Revision 478 - (view) (annotate) - [select for diffs]
Modified Tue Jan 31 02:21:49 2006 UTC (13 years, 7 months ago) by jgs
File length: 1226 byte(s)
Diff to previous 474
rationalise #includes


Revision 474 - (view) (annotate) - [select for diffs]
Modified Mon Jan 30 04:23:44 2006 UTC (13 years, 7 months ago) by jgs
File length: 1186 byte(s)
Copied from: trunk/escript/src/Data/Utils.cpp revision 469
Diff to previous 391
restructure escript source tree
move src/Data/* -> src
remove inc
modify #includes and cpppath settings accordingly


Revision 391 - (view) (annotate) - [select for diffs]
Added Tue Dec 20 05:36:50 2005 UTC (13 years, 9 months ago) by gross
Original Path: trunk/escript/src/Data/Utils.cpp
File length: 1239 byte(s)
intreface for setting the number of threads from python

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