charm.git
15 years agoupdated alias macro
Gengbin Zheng [Sun, 15 Jan 2006 18:12:11 +0000 (18:12 +0000)]
updated alias macro

15 years agobuild various versions of memoryalias threads.o
Gengbin Zheng [Sun, 15 Jan 2006 18:08:50 +0000 (18:08 +0000)]
build various versions of memoryalias threads.o

15 years agosplit alias flag macro so that it works for context thread, etc
Gengbin Zheng [Sun, 15 Jan 2006 18:08:17 +0000 (18:08 +0000)]
split alias flag macro so that it works for context thread, etc

15 years agoin thread pup for memoryalias thread implementation, pup stack using nonmigratable...
Gengbin Zheng [Sun, 15 Jan 2006 08:47:16 +0000 (08:47 +0000)]
in thread pup for memoryalias thread implementation, pup stack using nonmigratable stack (ie. non-isomalloc) since it is not necessary, and allow test for non-isomalloc implementation.

15 years agoa place holder for new GM library (renamed to mx)
Gengbin Zheng [Fri, 13 Jan 2006 20:24:46 +0000 (20:24 +0000)]
a place holder for new GM library (renamed to mx)

15 years agodisabled memory pool for AMPI testing
Greg Koenig [Fri, 13 Jan 2006 09:37:23 +0000 (09:37 +0000)]
disabled memory pool for AMPI testing
fixed bug in CMI_VMI_CmiFree() for non-memory-pool implementation where some
 variables were not declared

15 years ago*** empty log message ***
Chao Huang [Fri, 13 Jan 2006 06:46:15 +0000 (06:46 +0000)]
*** empty log message ***

15 years agoDraft of manuals. Will make it part of the official documentations.
Chao Huang [Fri, 13 Jan 2006 06:33:01 +0000 (06:33 +0000)]
Draft of manuals. Will make it part of the official documentations.

15 years agoAdded Migrate, AsyncMigrate, Checkpoint, MemCheckpoint capability for ARMCI
Chao Huang [Fri, 13 Jan 2006 06:32:23 +0000 (06:32 +0000)]
Added Migrate, AsyncMigrate, Checkpoint, MemCheckpoint capability for ARMCI

15 years agoin case thread is qt with memory alias, (which is not isomalloc) skip the error check...
Gengbin Zheng [Fri, 13 Jan 2006 05:08:24 +0000 (05:08 +0000)]
in case thread is qt with memory alias, (which is not isomalloc) skip the error checking of isomalloc address in checkAddress().

15 years agodefined a function CmiThreadIs() which tells which thread package is using.
Gengbin Zheng [Fri, 13 Jan 2006 05:07:09 +0000 (05:07 +0000)]
defined a function CmiThreadIs() which tells which thread package is using.

15 years agoBug fixes
Chao Huang [Thu, 12 Jan 2006 23:02:11 +0000 (23:02 +0000)]
Bug fixes

15 years agoFixed a couple of bugs, added same-processor operation detection
Chao Huang [Thu, 12 Jan 2006 20:54:38 +0000 (20:54 +0000)]
Fixed a couple of bugs, added same-processor operation detection

15 years agoThis is an ENORMOUS change to the vmi-linux machine layer:
Greg Koenig [Thu, 12 Jan 2006 20:43:42 +0000 (20:43 +0000)]
This is an ENORMOUS change to the vmi-linux machine layer:

* eleiminates all VMI 2.0 compatibility (now requires VMI 2.1+)
* replaces rendezvous protocol for RDMA with RDMA Get
* fixes a race condition in shutdown (i.e., we now terminate VMI properly)
* eliminates an extra barrier during startup
* provides support for starting the code via charmrun as well as "charmgrid"
* connection opening during startup is much more robust (error recovery)
* eliminated a poor implementation of Gengbin's persistent handles for one
  that uses eager protocol
* created an eager short protocol in which RDMA Put goes into a slotted
  buffer (this is very fast on InfiniBand, and faster or no worse on Myrinet)
* created an eager long protocol in which RDMA Put goes into a pre-allocated
  buffer on the receiver that is delivered via interrupt

Many of these changes are a result of messaging sub-group discussions over
the summer, and are useful for Grid work because they reduce the number of
back-and-forth rendezvous setup messages needed and because they push a
lot of RDMA work onto the NIC.

15 years agoAdded build ARMCI target
Chao Huang [Thu, 12 Jan 2006 00:07:17 +0000 (00:07 +0000)]
Added build ARMCI target

15 years ago*** empty log message ***
Chao Huang [Wed, 11 Jan 2006 23:10:34 +0000 (23:10 +0000)]
*** empty log message ***

15 years agonotify and notify_wait work now.
Chao Huang [Wed, 11 Jan 2006 05:42:43 +0000 (05:42 +0000)]
notify and notify_wait work now.

15 years agocontiguous and strided get/put works now, nbs don't.
Chao Huang [Tue, 10 Jan 2006 23:58:07 +0000 (23:58 +0000)]
contiguous and strided get/put works now, nbs don't.

15 years agoturned off rdtsc due to TSC-drift for amd. Hs to trust os timer.
Gengbin Zheng [Tue, 10 Jan 2006 16:38:04 +0000 (16:38 +0000)]
turned off rdtsc due to TSC-drift for amd. Hs to trust os timer.

15 years agoturned off rdtsc
Gengbin Zheng [Tue, 10 Jan 2006 16:36:35 +0000 (16:36 +0000)]
turned off rdtsc

15 years agoanother CDECL => FDECL
Gengbin Zheng [Mon, 9 Jan 2006 06:25:33 +0000 (06:25 +0000)]
another CDECL => FDECL

15 years agochanged CDECL to FDECL for a fortran function.
Gengbin Zheng [Mon, 9 Jan 2006 06:12:41 +0000 (06:12 +0000)]
changed CDECL to FDECL for a fortran function.

15 years agoupdated for supporting 64 bit.
Gengbin Zheng [Mon, 9 Jan 2006 05:15:05 +0000 (05:15 +0000)]
updated for supporting 64 bit.

15 years agoInterface change for projections support for AMPI.
Chao Mei [Mon, 9 Jan 2006 01:05:29 +0000 (01:05 +0000)]
Interface change for projections support for AMPI.
Now application developer can associate a specific integer identifer with a function which is previously specified by charm runtime.

15 years agoInterface change for projections support for AMPI. Now application developer can...
Chao Mei [Mon, 9 Jan 2006 01:03:55 +0000 (01:03 +0000)]
Interface change for projections support for AMPI. Now application developer can associate a specific integer identifier with a function which is previously specified by charm runtime

15 years agoInterface change for projections support for AMPI
Chao Mei [Mon, 9 Jan 2006 01:02:30 +0000 (01:02 +0000)]
Interface change for projections support for AMPI

15 years agoInterface change for projections support for AMPI.
Chao Mei [Mon, 9 Jan 2006 01:02:06 +0000 (01:02 +0000)]
Interface change for projections support for AMPI.

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

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.

15 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)

15 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.

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

15 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