/[escript]/trunk/escript/src/system_dep.h
ViewVC logotype

Log of /trunk/escript/src/system_dep.h

Parent Directory Parent Directory | Revision Log Revision Log


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

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

Revision 3981 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 02:47:54 2012 UTC (7 years ago) by jfenwick
File length: 2215 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, 4 months ago) by jfenwick
File length: 2096 byte(s)
Diff to previous 2881
Copyright changes

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: 2096 byte(s)
Diff to previous 2548
Don't panic.
Updating copyright stamps


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: 2096 byte(s)
Diff to previous 2519
Updating copyright notices

Revision 2519 - (view) (annotate) - [select for diffs]
Modified Mon Jul 6 00:43:08 2009 UTC (10 years, 3 months ago) by jfenwick
File length: 2096 byte(s)
Diff to previous 2271
Correcting some doxygen errors

Revision 2271 - (view) (annotate) - [select for diffs]
Modified Mon Feb 16 05:08:29 2009 UTC (10 years, 7 months ago) by jfenwick
File length: 2084 byte(s)
Diff to previous 2097
Merging version 2269 to trunk


Revision 2097 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 12:03:29 2008 UTC (10 years, 10 months ago) by phornby
File length: 1911 byte(s)
Diff to previous 2086
moved the code

#ifndef __const
# if (defined __STDC__ && __STDC__) || defined __cplusplus
#  define __const	const
# else
#  define __const
# endif
#endif

from escript/src/system_dep.h to esysUtils/src/system_dep.h, just for blocktimer's sake.


Revision 2086 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 02:38:50 2008 UTC (10 years, 10 months ago) by jfenwick
File length: 2083 byte(s)
Diff to previous 2031
Added checks in C_GeneralTensorProduct (Data:: and Delayed forms) as 
well as the DataAbstract Constructor to prevent Objects with Rank>4 
being created.

Moved the relevant #define into systemdep.

Removed some comments.


Revision 2031 - (view) (annotate) - [select for diffs]
Modified Wed Nov 12 08:02:33 2008 UTC (10 years, 11 months ago) by phornby
File length: 2014 byte(s)
Diff to previous 2030
Need finer control than INTERFACE_STATIC_LIB could exert. Now there is a
XXX_STATIC_LIB for each lib.



Revision 2030 - (view) (annotate) - [select for diffs]
Modified Wed Nov 12 07:34:08 2008 UTC (10 years, 11 months ago) by phornby
File length: 2016 byte(s)
Diff to previous 2029
Fix the undef'fing of _DLL_API in windows case.



Revision 2029 - (view) (annotate) - [select for diffs]
Modified Wed Nov 12 07:27:05 2008 UTC (10 years, 11 months ago) by phornby
File length: 2019 byte(s)
Diff to previous 2018
Test a more elegant way of handling XXX_DLL_API macros.



Revision 2018 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 13:31:43 2008 UTC (10 years, 11 months ago) by phornby
File length: 1997 byte(s)
Diff to previous 1811
Only import mathimf.h on win32 with intelc. Allow others to use the
standard math.h

change the #ifndef const -> #ifndef __const (oops!!)



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


Revision 1634 - (view) (annotate) - [select for diffs]
Modified Sat Jul 12 09:08:33 2008 UTC (11 years, 3 months ago) by phornby
File length: 2006 byte(s)
Diff to previous 1628
linux_gcc_eg_options.py:
remove the std99 option, it is no longer needed as the code compiles without
C 1999 extension (need for these extensions elinminated in windows port).
Turn on all warnings except unknown pragmas. Should catch a lot of stuff.

SConstruct:
Impassioned plea

system_dep.h:
Add the standard incantation for dealing with const declarations
in C code called from C and C++

blocktimer:
Get the calling interface right for C code called from C and C++
and use __const as defined in system_dep.h
(Should be re-factored into compiler_dep.h file).

MeshAdapterFactory.cpp:
Since we have (effectively) no control over netCDF policy,
cast const char *'s to char *'s



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

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 1455 - (view) (annotate) - [select for diffs]
Modified Thu Feb 28 17:19:44 2008 UTC (11 years, 7 months ago) by phornby
File length: 1852 byte(s)
Diff to previous 1388
Merge of branches/windows_from_1431_trunk.

Revamp of the exception system.
Fix unused vars and signed/unsigned comparisons.
defined a macro THROW(ARG) in the system_dep.h's to
deal with the expectations of declarations on different architectures.

Details in the logs of branches/windows_from_1431_trunk.

pre-merge snapshot of the trunk in tags/trunk_at_1452



Revision 1388 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:58 2008 UTC (11 years, 9 months ago) by trankine
File length: 1802 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, 9 months ago) by trankine
Original Path: temp/escript/src/system_dep.h
File length: 1802 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, 9 months ago) by phornby
Original Path: temp_trunk_copy/escript/src/system_dep.h
File length: 1802 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 (12 years ago) by ksteube
File length: 1802 byte(s)
Diff to previous 1034
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 1034 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 23:49:20 2007 UTC (12 years, 7 months ago) by gross
File length: 1362 byte(s)
Diff to previous 1032
In VC++ boost has problems with numarray arguments from python. This
fixes that problem by taking python::object arguments from the python
level and converting it into python::numeric::array on the C++ level.
This hasn't been tested with VC++ yet.

Moreover the two Data methods dealing with big numarrays as argument and
return value have been removed.



Revision 1032 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 06:32:09 2007 UTC (12 years, 7 months ago) by phornby
File length: 1365 byte(s)
Diff to previous 1031
Implement inverse hyp. functions.



Revision 1031 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 06:03:21 2007 UTC (12 years, 7 months ago) by phornby
File length: 1518 byte(s)
Diff to previous 779
Finer control of the inverse hyp. functions.



Revision 779 - (view) (annotate) - [select for diffs]
Modified Fri Jul 14 07:41:31 2006 UTC (13 years, 3 months ago) by woo409
File length: 938 byte(s)
Diff to previous 757
+ Updated compilation options for Cognac to squeeze out a bit more performance
+ Now compiles using the Intel Math headers (mathimf.h) rather than plain math.h on both Win32 and Linux platforms when using the Intel compiler. Gives a small boost to performance on Altix and is essential on Windows



Revision 757 - (view) (annotate) - [select for diffs]
Modified Mon Jun 26 13:12:56 2006 UTC (13 years, 3 months ago) by woo409
File length: 938 byte(s)
Copied from: branches/intelc_win32/escript/src/system_dep.h revision 756
Diff to previous 744
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)


Revision 744 - (view) (annotate) - [select for diffs]
Modified Sat Jun 24 12:05:12 2006 UTC (13 years, 3 months ago) by woo409
Original Path: branches/intelc_win32/escript/src/system_dep.h
File length: 938 byte(s)
Diff to previous 743
+ Fixed up some #else statements that were in the wrong order and prevented compilation on altix


Revision 743 - (view) (annotate) - [select for diffs]
Added Sat Jun 24 11:44:55 2006 UTC (13 years, 3 months ago) by woo409
Original Path: branches/intelc_win32/escript/src/system_dep.h
File length: 920 byte(s)
+ Some additional files for the win32 port
  + The additional test meshes are because windows produces floating point numbers like this 12e+001 where are unix is 12e+01
  + nelix_kb_options.py is my notebooks config file. I've included it as an example of win32 compilation options
  + system_dep.h is there for win32 shared library function export/import macros and also to use the intel mathimf.h library since the standard MS VC++ math.h doesn't have all the necessary functions. NOTE this file must be included before all other headers to prevent inclusion of math.h

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