charm.git
15 years agoInterface change for projections support for AMPI. Now application developer can...
Chao Mei [Mon, 9 Jan 2006 01:00:15 +0000 (01:00 +0000)]
Interface change for projections support for AMPI. Now application developer can specify a certain integer identifier to a function which is previously specified by the charm runtime.

15 years agoInterface changes for projections support for AMPI.
Chao Mei [Mon, 9 Jan 2006 00:56:25 +0000 (00:56 +0000)]
Interface changes for projections support for AMPI.
As now it is possible for user (application developer) to specify a certain integer identifier to a user function that is going to be profiled during execution, the interface of traceRegisterFunction is slightly changed.
For backward compatibility, a default value (-999) for the identifier is used when using C++ language.

15 years agormeoved g95 specific runtime initialization calls.
Gengbin Zheng [Sat, 7 Jan 2006 22:44:43 +0000 (22:44 +0000)]
rmeoved g95 specific runtime initialization calls.

15 years agoupdated with setting on turing.
Gengbin Zheng [Sat, 7 Jan 2006 22:19:18 +0000 (22:19 +0000)]
updated with setting on turing.

15 years agofor MacOSX Tiger gcc 64 bit
Gengbin Zheng [Thu, 5 Jan 2006 05:46:56 +0000 (05:46 +0000)]
for MacOSX Tiger gcc 64 bit

15 years agoa _setjmp/_longjmp lightweighted version for mac 64bit.
Gengbin Zheng [Thu, 5 Jan 2006 05:35:59 +0000 (05:35 +0000)]
a _setjmp/_longjmp lightweighted version for mac 64bit.

15 years agofixed a few f90 options.
Gengbin Zheng [Wed, 4 Jan 2006 20:29:34 +0000 (20:29 +0000)]
fixed a few f90 options.

15 years agodefines virtual destructor to fix gcc4 warnings like: warning: ‘class CharismaInPort...
Gengbin Zheng [Wed, 4 Jan 2006 07:31:59 +0000 (07:31 +0000)]
defines virtual destructor to fix gcc4 warnings like: warning: ‘class CharismaInPort’ has virtual functions but non-virtual destructor

15 years agomake __STD_C and __STDC__ consistent
Gengbin Zheng [Mon, 2 Jan 2006 20:46:43 +0000 (20:46 +0000)]
make __STD_C and __STDC__ consistent

15 years agosetting boundary flags correctly, when we do not assume boundary numbers in a sequence
Nilesh Choudhury [Thu, 29 Dec 2005 01:05:05 +0000 (01:05 +0000)]
setting boundary flags correctly, when we do not assume boundary numbers in a sequence

15 years agofixed a compilation bug by added a return for a function.
Gengbin Zheng [Tue, 27 Dec 2005 23:55:48 +0000 (23:55 +0000)]
fixed a compilation bug by added a return for a function.

15 years ago*** empty log message ***
Chao Huang [Mon, 26 Dec 2005 05:26:53 +0000 (05:26 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
Chao Huang [Mon, 26 Dec 2005 04:39:02 +0000 (04:39 +0000)]
*** empty log message ***

15 years agostub calls for g95 to initialize fortran runtime when is it C main.
Gengbin Zheng [Sat, 24 Dec 2005 16:55:59 +0000 (16:55 +0000)]
stub calls for g95 to initialize fortran runtime when is it C main.

15 years agoadded -fno-second-underscore to make it conform to what rocstar wants
Gengbin Zheng [Thu, 22 Dec 2005 19:59:34 +0000 (19:59 +0000)]
added -fno-second-underscore to make it conform to what rocstar wants

15 years agoadded -fdollar-ok to allow $ in fortran var name
Gengbin Zheng [Thu, 22 Dec 2005 17:21:11 +0000 (17:21 +0000)]
added -fdollar-ok to allow $ in fortran var name

15 years agofixed ++debug issue with X11 forwarding on FC4, where a xterm can not be pop from...
Gengbin Zheng [Thu, 22 Dec 2005 17:18:00 +0000 (17:18 +0000)]
fixed ++debug issue with X11 forwarding on FC4, where a xterm can not be pop from ssh due to X11 forwarding.
Made 2 changes to make it working:
1.  preserve the DISPLAY in ssh shell, instead copy the DISPLAY from charmrun
2.  do not waitpid when ++debug, it hangs. gdb should skill process anyway at exit

Implemented comptability with g95, set G95_UNBUFFERED_ALL=TRUE environment variable when CMK_G95 is defined. This is to turn off Fortran IO buffering.

15 years agogfortran is not g95, correct this
Gengbin Zheng [Thu, 22 Dec 2005 16:42:12 +0000 (16:42 +0000)]
gfortran is not g95, correct this

15 years agoadded -fpic for f95.
Gengbin Zheng [Wed, 21 Dec 2005 04:04:15 +0000 (04:04 +0000)]
added -fpic for f95.

15 years agoadded -fpic
Gengbin Zheng [Wed, 21 Dec 2005 04:01:57 +0000 (04:01 +0000)]
added -fpic

15 years agofixed a bug in MPI_Print (fortran version). Creating a buffer for printing by ap
Gengbin Zheng [Wed, 21 Dec 2005 02:55:22 +0000 (02:55 +0000)]
fixed a bug in MPI_Print (fortran version). Creating a buffer for printing by ap
pying the traling '\0'.

15 years agodefines CMK_AMD64
Gengbin Zheng [Tue, 20 Dec 2005 23:47:36 +0000 (23:47 +0000)]
defines CMK_AMD64

15 years agoported to ELF64 of amd64
Gengbin Zheng [Tue, 20 Dec 2005 23:47:06 +0000 (23:47 +0000)]
ported to ELF64 of amd64

15 years agoAdded a check for valid input to the function which returns the two elements along...
Isaac Dooley [Fri, 16 Dec 2005 22:19:23 +0000 (22:19 +0000)]
Added a check for valid input to the function which returns the two elements along an edge.

15 years agoRenaming FEM_IS_VALID so constant does not interfere with function of the same name...
Isaac Dooley [Fri, 16 Dec 2005 21:18:40 +0000 (21:18 +0000)]
Renaming FEM_IS_VALID so constant does not interfere with function of the same name. Was a problem on Absoft compilers.

15 years agoFEM_IS_VALID attribute changed to FEM_IS_VALID_ATTR
Isaac Dooley [Fri, 16 Dec 2005 20:26:27 +0000 (20:26 +0000)]
FEM_IS_VALID attribute changed to FEM_IS_VALID_ATTR

15 years agofixed a bug in fragmentation optimization. If the number of segmentation is more...
Gengbin Zheng [Fri, 16 Dec 2005 08:22:31 +0000 (08:22 +0000)]
fixed a bug in fragmentation optimization. If the number of segmentation is more than 2 for a message, the optimization is invalid. Fixed by a more conservative way but involves one memcpy.

15 years agodefines bool if it is not defined
Gengbin Zheng [Fri, 16 Dec 2005 07:52:20 +0000 (07:52 +0000)]
defines bool if it is not defined

15 years agoget rid of invalid CmiAbort() call of charmdebug in charmrun
Gengbin Zheng [Fri, 16 Dec 2005 07:20:33 +0000 (07:20 +0000)]
get rid of invalid CmiAbort() call of charmdebug in charmrun

15 years agoPre-allocate hack is unnecessary on the XT3.
Chee Wai Lee [Fri, 16 Dec 2005 05:50:05 +0000 (05:50 +0000)]
Pre-allocate hack is unnecessary on the XT3.

15 years agodefined bool type if it is not defined
Gengbin Zheng [Fri, 16 Dec 2005 04:19:59 +0000 (04:19 +0000)]
defined bool type if it is not defined

15 years agoAdjusted tolerances.
Terry L. Wilmarth [Thu, 15 Dec 2005 22:40:25 +0000 (22:40 +0000)]
Adjusted tolerances.

15 years agoSeparated fortran interface into header and implementation. Now it should link
Aaron Becker [Thu, 15 Dec 2005 17:21:49 +0000 (17:21 +0000)]
Separated fortran interface into header and implementation. Now it should link
properly without breaking the fortran interface.

15 years agoChanged functions to inline to avoid linker errors on OSX. Added includes
Aaron Becker [Thu, 15 Dec 2005 08:29:54 +0000 (08:29 +0000)]
Changed functions to inline to avoid linker errors on OSX. Added includes
to fix more compile bugs.

15 years agomake sure broadcast message is sent down spanning tree as a whole only after integrat...
Gengbin Zheng [Wed, 14 Dec 2005 03:44:58 +0000 (03:44 +0000)]
make sure broadcast message is sent down spanning tree as a whole only after integration (instead of sending in pipeline fashion in packets), which fixed a possible race condition that packet send order is changed by other packets.

15 years agoAdded documentation on runtime options +io_flush_user and +io_flush_system
Chee Wai Lee [Tue, 13 Dec 2005 06:14:45 +0000 (06:14 +0000)]
Added documentation on runtime options +io_flush_user and +io_flush_system

15 years agoMade IO flushing control more flexible. CMI_IO_FLUSH_USER is a compile
Chee Wai Lee [Tue, 13 Dec 2005 05:39:14 +0000 (05:39 +0000)]
Made IO flushing control more flexible. CMI_IO_FLUSH_USER is a compile
time flag (conv-mach.h) that sets default system (arch) behavior. The user
can then
override with +io_flush_user or +io_flush_system at runtime.

The previous flag of CMI_IO_FLUSH_EXPLICIT is changed to CMI_IO_FLUSH_USER
to make this system setting clearer.

15 years agoreenable commtest.
Gengbin Zheng [Sun, 11 Dec 2005 16:29:04 +0000 (16:29 +0000)]
reenable commtest.

15 years agoChanged table to this->table to prevent compile errors on solaris
Aaron Becker [Sun, 11 Dec 2005 04:54:03 +0000 (04:54 +0000)]
Changed table to this->table to prevent compile errors on solaris

15 years agowork around for buggy new xlc compiler on copper ( with aix53)
Gengbin Zheng [Sat, 10 Dec 2005 18:07:40 +0000 (18:07 +0000)]
work around for buggy new xlc compiler on copper ( with aix53)

15 years agoif dest symbolic link exists, remove it and relink
Gengbin Zheng [Sat, 10 Dec 2005 07:56:29 +0000 (07:56 +0000)]
if dest symbolic link exists, remove it and relink

15 years agormeoved debug print. Better error msg in createlink.
Gengbin Zheng [Sat, 10 Dec 2005 07:42:34 +0000 (07:42 +0000)]
rmeoved debug print. Better error msg in createlink.

15 years agoMoved collide.h which conflicts with ../collide/collide.h
Isaac Dooley [Sat, 10 Dec 2005 03:26:14 +0000 (03:26 +0000)]
Moved collide.h which conflicts with ../collide/collide.h

15 years agoacquire elements done too.. should work for everything now
Nilesh Choudhury [Sat, 10 Dec 2005 00:51:48 +0000 (00:51 +0000)]
acquire elements done too.. should work for everything now

15 years agoelem2elem copy operation now works for edge_flip & edge_contract too,
Nilesh Choudhury [Fri, 9 Dec 2005 22:40:22 +0000 (22:40 +0000)]
elem2elem copy operation now works for edge_flip & edge_contract too,
acquire not done yet, it will involve copying and sending data over to the
new processor

15 years agomoved fortran reduction operation table initialization into ampi.C, so that if writin...
Gengbin Zheng [Fri, 9 Dec 2005 22:04:40 +0000 (22:04 +0000)]
moved fortran reduction operation table initialization into ampi.C, so that if writing in mixed language (c and fortran), the table initialization function is always called.

15 years agoEnabling comlib tests now.
Sameer Kumar [Fri, 9 Dec 2005 20:49:39 +0000 (20:49 +0000)]
Enabling comlib tests now.

15 years agoNew version with interrupt/thread support.
Sameer Kumar [Fri, 9 Dec 2005 20:45:40 +0000 (20:45 +0000)]
New version with interrupt/thread support.

15 years agorewrote for better dependence support.
Gengbin Zheng [Fri, 9 Dec 2005 19:31:26 +0000 (19:31 +0000)]
rewrote for better dependence support.

15 years agoRemoved collision detection from ParFUM until I can figure out the makefile dependencies.
Isaac Dooley [Fri, 9 Dec 2005 18:55:12 +0000 (18:55 +0000)]
Removed collision detection from ParFUM until I can figure out the makefile dependencies.

15 years agoForgot one dependency for ParFUM
Isaac Dooley [Fri, 9 Dec 2005 18:48:38 +0000 (18:48 +0000)]
Forgot one dependency for ParFUM

15 years agooops, did not complete the fix.
Gengbin Zheng [Fri, 9 Dec 2005 18:30:59 +0000 (18:30 +0000)]
oops, did not complete the fix.

15 years agoAdded ParFUM as a language. It works just like its predecessor, the FEM language.
Isaac Dooley [Fri, 9 Dec 2005 18:15:37 +0000 (18:15 +0000)]
Added ParFUM as a language. It works just like its predecessor, the FEM language.

15 years agoAdded ParFUM to be built when make is issued in cklibs.
Isaac Dooley [Fri, 9 Dec 2005 18:13:05 +0000 (18:13 +0000)]
Added ParFUM to be built when make is issued in cklibs.

15 years agoA new directory for ParFUM example programs, with its own simple2D example which...
Isaac Dooley [Fri, 9 Dec 2005 18:11:54 +0000 (18:11 +0000)]
A new directory for ParFUM example programs, with its own simple2D example which is identical to the one from examples/fem/simple2D

15 years agoRe-enabling comlib tests.
Sameer Kumar [Fri, 9 Dec 2005 16:54:27 +0000 (16:54 +0000)]
Re-enabling comlib tests.

15 years agoMaking the learner a dynamic switch rather than a compile time switch.
Sameer Kumar [Fri, 9 Dec 2005 16:53:39 +0000 (16:53 +0000)]
Making the learner a dynamic switch rather than a compile time switch.

15 years agofixed a typo CpvStaticDeclare now changed to Ckpv.
Gengbin Zheng [Fri, 9 Dec 2005 16:07:28 +0000 (16:07 +0000)]
fixed a typo CpvStaticDeclare now changed to Ckpv.

15 years agoadded capability for element to element copy by deleting an element in twop steps,
Nilesh Choudhury [Fri, 9 Dec 2005 15:39:45 +0000 (15:39 +0000)]
added capability for element to element copy by deleting an element in twop steps,
getting rid of all conn in one step and then the idxl entries and invalidating the elem in the
next step. Currently, this works when elements are not acquired by chunks, so only edge_bisect
completely works

15 years agoa better implementation of the previous checkin, use Cpv variables to make sure the...
Gengbin Zheng [Thu, 8 Dec 2005 23:02:19 +0000 (23:02 +0000)]
a better implementation of the previous checkin, use Cpv variables to make sure the operator function table is thread safe (so SMP works)

15 years agono longer pass reduction operator as function pointer from and to Fortran
Gengbin Zheng [Thu, 8 Dec 2005 22:36:08 +0000 (22:36 +0000)]
no longer pass reduction operator as function pointer from and to Fortran
code, use registerd function handler to do this which is more portable and
this works with gcc4 and gnu f95.

15 years agochanged boundaries to be positive numbers, instead of negative
Nilesh Choudhury [Thu, 8 Dec 2005 00:41:57 +0000 (00:41 +0000)]
changed boundaries to be positive numbers, instead of negative

15 years agofixed a iostream.h compatibility issue, also fixed max inline for possible confliction.
Gengbin Zheng [Wed, 7 Dec 2005 22:03:35 +0000 (22:03 +0000)]
fixed a iostream.h compatibility issue, also fixed max inline for possible confliction.

15 years agorenamed min to mymin to avoid possible compiler conflict
Gengbin Zheng [Wed, 7 Dec 2005 21:53:28 +0000 (21:53 +0000)]
renamed min to mymin to avoid possible compiler conflict

15 years agoremoved debug memory checks.
Gengbin Zheng [Mon, 5 Dec 2005 06:20:07 +0000 (06:20 +0000)]
removed debug memory checks.

15 years agofixed a bug with unintialized variables (Bnv)
Gengbin Zheng [Sun, 4 Dec 2005 23:26:59 +0000 (23:26 +0000)]
fixed a bug with unintialized variables (Bnv)

15 years agofixed a formating problem which confuses lemieux make.
Gengbin Zheng [Sun, 4 Dec 2005 21:06:33 +0000 (21:06 +0000)]
fixed a formating problem which confuses lemieux make.

15 years agoswitched back to using gnu malloc, because it seems that the os malloc does not work...
Gengbin Zheng [Sun, 4 Dec 2005 06:21:09 +0000 (06:21 +0000)]
switched back to using gnu malloc, because it seems that the os malloc does not work with recent checkins in charmdebug.

16 years agodisabling function inlining optimization for now. (bug in new aix 5.3)
Gengbin Zheng [Sun, 4 Dec 2005 05:19:36 +0000 (05:19 +0000)]
disabling function inlining optimization for now. (bug in new aix 5.3)

16 years agofixed the makefile and made a proper parfum module, still have to fix the translator...
Nilesh Choudhury [Sun, 4 Dec 2005 02:34:30 +0000 (02:34 +0000)]
fixed the makefile and made a proper parfum module, still have to fix the translator perhaps to support
-language parfum, otherwise init never gets called from an application.

16 years agoa few doxygen documentation
Filippo Gioachin [Sun, 4 Dec 2005 00:53:57 +0000 (00:53 +0000)]
a few doxygen documentation

16 years agoinserted hooks for charmdebug to differentiate the different types of mallocs
Filippo Gioachin [Sun, 4 Dec 2005 00:53:39 +0000 (00:53 +0000)]
inserted hooks for charmdebug to differentiate the different types of mallocs

16 years agoRemoved collide files which have a dependency on the collision library, which may...
Isaac Dooley [Sat, 3 Dec 2005 17:54:30 +0000 (17:54 +0000)]
Removed collide files which have a dependency on the collision library, which may not be built if just building FEM. It would work if building LIBS though.

16 years agoAdded explicit rules for each .C file. The implicit rules were ignoring dependencies...
Isaac Dooley [Sat, 3 Dec 2005 17:30:42 +0000 (17:30 +0000)]
Added explicit rules for each .C file. The implicit rules were ignoring dependencies, and thus sometimes causing problems.

16 years agoremoved CMK_CXX_OPTIMIZE and use the one defined in conv-mach.sh.
Gengbin Zheng [Sat, 3 Dec 2005 09:31:17 +0000 (09:31 +0000)]
removed CMK_CXX_OPTIMIZE and use the one defined in conv-mach.sh.

16 years agoremove xlc optimization flag that turns on function inlining (new xlc on aix53 seems...
Gengbin Zheng [Sat, 3 Dec 2005 06:56:40 +0000 (06:56 +0000)]
remove xlc optimization flag that turns on function inlining (new xlc on aix53 seems to break charm on various things)

16 years agoMinor Changes to makefile & headers
Isaac Dooley [Sat, 3 Dec 2005 06:49:32 +0000 (06:49 +0000)]
Minor Changes to makefile & headers

16 years agon2e_add and n2e_replace add the ID types incompatibly.
Isaac Dooley [Sat, 3 Dec 2005 01:58:44 +0000 (01:58 +0000)]
n2e_add and n2e_replace add the ID types incompatibly.

16 years agoParFUM has been forked off of the FEM tree where it had been living.
Isaac Dooley [Sat, 3 Dec 2005 01:56:46 +0000 (01:56 +0000)]
ParFUM has been forked off of the FEM tree where it had been living.

16 years agoSome types change
Isaac Dooley [Fri, 2 Dec 2005 22:14:42 +0000 (22:14 +0000)]
Some types change

16 years agofixed a warning.
Gengbin Zheng [Fri, 2 Dec 2005 21:27:23 +0000 (21:27 +0000)]
fixed a warning.

16 years agochanged IP of web server
Filippo Gioachin [Thu, 1 Dec 2005 21:15:48 +0000 (21:15 +0000)]
changed IP of web server

16 years agochanged IP address of web server
Filippo Gioachin [Thu, 1 Dec 2005 21:05:02 +0000 (21:05 +0000)]
changed IP address of web server

16 years agoconverted vector to ckvec for portability across all machine layers
Nilesh Choudhury [Wed, 30 Nov 2005 18:32:10 +0000 (18:32 +0000)]
converted vector to ckvec for portability across all machine layers

16 years agofixed a compilation error due to iostream for gcc4.
Gengbin Zheng [Wed, 30 Nov 2005 18:16:17 +0000 (18:16 +0000)]
fixed a compilation error due to iostream for gcc4.

16 years agoupdated
Gengbin Zheng [Tue, 29 Nov 2005 21:19:09 +0000 (21:19 +0000)]
updated

16 years agousing vector, so need to link it to stdc++, some compilers do not include this by...
Nilesh Choudhury [Tue, 29 Nov 2005 20:56:55 +0000 (20:56 +0000)]
using vector, so need to link it to stdc++, some compilers do not include this by default

16 years agoupdated.
Gengbin Zheng [Tue, 29 Nov 2005 00:13:21 +0000 (00:13 +0000)]
updated.

16 years agosupport gnu f95 now.
Gengbin Zheng [Mon, 28 Nov 2005 21:20:43 +0000 (21:20 +0000)]
support gnu f95 now.

16 years agodefine CMK_FPP for preprocessing.
Gengbin Zheng [Fri, 25 Nov 2005 03:56:30 +0000 (03:56 +0000)]
define CMK_FPP for preprocessing.

16 years agoadded gnu f95 compiler support.
Gengbin Zheng [Fri, 25 Nov 2005 03:14:04 +0000 (03:14 +0000)]
added gnu f95 compiler support.

16 years agofixed some more locking issues along with issues when a chunk does a partition
Nilesh Choudhury [Thu, 24 Nov 2005 21:44:31 +0000 (21:44 +0000)]
fixed some more locking issues along with issues when a chunk does a partition
on a shared edge and the other chunk loses a node because of losing that element.

16 years agodisable commtest
Gengbin Zheng [Thu, 24 Nov 2005 07:51:36 +0000 (07:51 +0000)]
disable commtest

16 years agonew functionality added to update ghost nodes properly, i.e. chunks which
Nilesh Choudhury [Thu, 24 Nov 2005 07:38:19 +0000 (07:38 +0000)]
new functionality added to update ghost nodes properly, i.e. chunks which
do not send a ghost elem to another chunk, can actually be sending ghost nodes.
This was because of the multiple ghost version that we shifted to. A recent
update in the locking code, exposed this.
I have added some more tests to verify that this ghost node information is
correct across chunks now.

16 years agoallow -I <dir> as well as -I<dir>
Gengbin Zheng [Thu, 24 Nov 2005 07:17:00 +0000 (07:17 +0000)]
allow -I <dir> as well as -I<dir>

16 years agoadded memory/leak utility for debugging. modified the structure of the
Filippo Gioachin [Thu, 24 Nov 2005 07:05:14 +0000 (07:05 +0000)]
added memory/leak utility for debugging. modified the structure of the
lists kept by memory-charmdebug so that only one is kept, and all the information
is stored into one field of the Slot.
added new ckhashtable for pointers.
added hook in threads to keep track when memory is protected.

16 years agoadded #if to disable charmdebug when no rsh subsystem is available.
Filippo Gioachin [Wed, 23 Nov 2005 00:08:52 +0000 (00:08 +0000)]
added #if to disable charmdebug when no rsh subsystem is available.
added functionality to read the .data and .bss segments from the program.

16 years agofixed a few node locking issues and updated the manner in which an edge contract...
Nilesh Choudhury [Tue, 22 Nov 2005 08:36:08 +0000 (08:36 +0000)]
fixed a few node locking issues and updated the manner in which an edge contract is handled
This got rid of lots of bugs. This version is quite stable. I still have to work on some IDXL
locking issues.

16 years agofollowing Sameer suggestion, this should fix the bug in autobuild...
Filippo Gioachin [Tue, 22 Nov 2005 06:19:26 +0000 (06:19 +0000)]
following Sameer suggestion, this should fix the bug in autobuild...

16 years agorename snprintf to _snprintf for win32 build
Gengbin Zheng [Sun, 20 Nov 2005 21:42:15 +0000 (21:42 +0000)]
rename snprintf to _snprintf for win32 build