charm.git
17 years agoBug fix: look for addresses based on fprintf *in addition* to errno.
Orion Lawlor [Tue, 13 Apr 2004 22:53:29 +0000 (22:53 +0000)]
Bug fix: look for addresses based on fprintf *in addition* to errno.
This should prevent the "hang at shutdown" bug under MacOS X.

I noticed I seem to be using errno, not fprintf, to figure out
where shared libraries live.  This is really stupid, because errno
is secretly a thread-private variable on many machines.  Adding
fprintf's address actually shrinks the range found by isomalloc
dramatically.

My little standalone 'dev/unix/mmap' test shows that you can
overwrite *any* address using mmap(MAP_FIXED) under OS X,
with no errors at all, so it's likely we were blowing away a few
pages of dynamically linked libraries before.

The long-term answer to this may be to *manually* search for
a usable address range, and store the range in the machine config,
instead of the current (complicated, error-prone) automated
search.

17 years agoMaking some commlib stuff permanent.
Terry L. Wilmarth [Tue, 13 Apr 2004 21:59:05 +0000 (21:59 +0000)]
Making some commlib stuff permanent.

17 years agolatest changes to the use of papi.
Chee Wai Lee [Tue, 13 Apr 2004 21:07:07 +0000 (21:07 +0000)]
latest changes to the use of papi.

17 years agoChanges to work with commlib.
Terry L. Wilmarth [Tue, 13 Apr 2004 17:55:54 +0000 (17:55 +0000)]
Changes to work with commlib.

17 years agoMade the ComLibPrintfs more informative.
Terry L. Wilmarth [Tue, 13 Apr 2004 17:49:17 +0000 (17:49 +0000)]
Made the ComLibPrintfs more informative.

17 years ago*** empty log message ***
Chee Wai Lee [Tue, 13 Apr 2004 01:13:36 +0000 (01:13 +0000)]
*** empty log message ***

17 years agooptimization, avoid unnecessary memory copying for nokeep entry functions.
Gengbin Zheng [Mon, 12 Apr 2004 20:53:33 +0000 (20:53 +0000)]
optimization, avoid unnecessary memory copying for nokeep entry functions.
CkSendMsgArrayInline() is called with doFree is false.

17 years agoa few bug fixes to handle the case when doFree is false and message is either buffere...
Gengbin Zheng [Mon, 12 Apr 2004 20:50:42 +0000 (20:50 +0000)]
a few bug fixes to handle the case when doFree is false and message is either buffered or sent to other processors, in which case the message needed to be copied.

17 years agoall deliver() functions now takes doFree parameters to pass into invokeEntry() which...
Gengbin Zheng [Mon, 12 Apr 2004 20:25:38 +0000 (20:25 +0000)]
all deliver() functions now takes doFree parameters to pass into invokeEntry() which is useful for ReadOnly messages. Changed CkSendMsgArray to be able to use the doFree flag.

17 years agoModified the way PAPI is handled (to compensate for my earlier stupidity).
Chee Wai Lee [Mon, 12 Apr 2004 19:28:51 +0000 (19:28 +0000)]
Modified the way PAPI is handled (to compensate for my earlier stupidity).
#include papi.h is no longer placed in conv-mach-opt.h and is instead placed
in trace.h, trace-projections.h whenever the macro CMK_HAS_COUNTER_PAPI is
defined. This allows the simple use of --basedir=<location> as a one-step
way of getting non-standard installations of PAPI to work.

I feel so stupid 8(

17 years agofixed section size readonly variables
Gengbin Zheng [Mon, 12 Apr 2004 17:27:59 +0000 (17:27 +0000)]
fixed section size readonly variables

17 years agocompile fix
Sameer Kumar [Sun, 11 Apr 2004 22:54:29 +0000 (22:54 +0000)]
compile fix

17 years agoadding news and deletes which are a little faster
Sameer Kumar [Sun, 11 Apr 2004 21:03:06 +0000 (21:03 +0000)]
adding news and deletes which are a little faster

17 years agoadding hypercube broadcast
Sameer Kumar [Sun, 11 Apr 2004 04:51:55 +0000 (04:51 +0000)]
adding hypercube broadcast

17 years ago*** empty log message ***
Sameer Kumar [Sat, 10 Apr 2004 22:08:37 +0000 (22:08 +0000)]
*** empty log message ***

17 years agonew bcast strategy that reads sapnning factor from comand line
Sameer Kumar [Sat, 10 Apr 2004 22:08:28 +0000 (22:08 +0000)]
new bcast strategy that reads sapnning factor from comand line

17 years agopthreads option to use pthread converse thread implementation with MPI versions that...
Gengbin Zheng [Sat, 10 Apr 2004 22:05:25 +0000 (22:05 +0000)]
pthreads option to use pthread converse thread implementation with MPI versions that use pthread.

17 years agocommiting a new strategy for group based tree broadcast
Sameer Kumar [Sat, 10 Apr 2004 19:11:08 +0000 (19:11 +0000)]
commiting a new strategy for group based tree broadcast

17 years agoadding a new braodcast strategy which should speed up broadcasts
Sameer Kumar [Sat, 10 Apr 2004 19:03:45 +0000 (19:03 +0000)]
adding a new braodcast strategy which should speed up broadcasts

17 years agoadding a new broadcast strategy to the communication library which performs group...
Sameer Kumar [Sat, 10 Apr 2004 19:02:03 +0000 (19:02 +0000)]
adding a new broadcast strategy to the communication library which performs group broadcast

17 years agobroke compliation again ... and fixed again by reverted to the older version.
Lixia Shi [Fri, 9 Apr 2004 18:16:43 +0000 (18:16 +0000)]
broke compliation again ...  and fixed again by reverted to the older version.
talked to Chao and made sure he will never touch the file again! ;-)

17 years agoFixed the debugging printf bug... again.
Chao Huang [Fri, 9 Apr 2004 18:03:02 +0000 (18:03 +0000)]
Fixed the debugging printf bug... again.

17 years agofaint! reverted Chao's duplicated fix which didnot fix but broke compilation.
Lixia Shi [Fri, 9 Apr 2004 17:48:18 +0000 (17:48 +0000)]
faint! reverted Chao's duplicated fix which didnot fix but broke compilation.

17 years agoFixed the Debugging message printout.
Chao Huang [Fri, 9 Apr 2004 17:04:59 +0000 (17:04 +0000)]
Fixed the Debugging message printout.

17 years agosetting all strategies to non bracketed by default
Sameer Kumar [Fri, 9 Apr 2004 17:00:46 +0000 (17:00 +0000)]
setting all strategies to non bracketed by default

17 years agobug fix for non bracketed strategies
Sameer Kumar [Fri, 9 Apr 2004 16:59:19 +0000 (16:59 +0000)]
bug fix for non bracketed strategies

17 years agoadded a few exception handling for array during restarting transit period.
Lixia Shi [Fri, 9 Apr 2004 16:22:46 +0000 (16:22 +0000)]
added a few exception handling for array during restarting transit period.

17 years agoPartition the loop in backward path for better cache performance.
Yan Shi [Fri, 9 Apr 2004 16:02:59 +0000 (16:02 +0000)]
Partition the loop in backward path for better cache performance.

17 years agoturn off debugging prints.
Lixia Shi [Fri, 9 Apr 2004 15:57:06 +0000 (15:57 +0000)]
turn off debugging prints.

17 years agouse gnuold malloc for smp. The new gnumalloc crashes smp version in NAMD for ibm sp.
Gengbin Zheng [Fri, 9 Apr 2004 05:37:53 +0000 (05:37 +0000)]
use gnuold malloc for smp. The new gnumalloc crashes smp version in NAMD for ibm sp.

17 years agoMinor changes to adaptive behavior.
Terry L. Wilmarth [Fri, 9 Apr 2004 04:08:34 +0000 (04:08 +0000)]
Minor changes to adaptive behavior.

17 years agoDitto.
Terry L. Wilmarth [Fri, 9 Apr 2004 02:11:12 +0000 (02:11 +0000)]
Ditto.

17 years agoRemoved all the crap I accidentally checked in!
Terry L. Wilmarth [Fri, 9 Apr 2004 02:10:11 +0000 (02:10 +0000)]
Removed all the crap I accidentally checked in!

17 years agoChecking in my 2D mesh refinement and coarsening code for Sayantan to abuse.
Terry L. Wilmarth [Fri, 9 Apr 2004 02:06:18 +0000 (02:06 +0000)]
Checking in my 2D mesh refinement and coarsening code for Sayantan to abuse.

17 years agoChanged from complex to double for S/T matrix
Sameer Kumar [Thu, 8 Apr 2004 23:51:24 +0000 (23:51 +0000)]
Changed from complex to double for S/T matrix

17 years agoloop partitioning
Sameer Kumar [Thu, 8 Apr 2004 23:05:17 +0000 (23:05 +0000)]
loop partitioning

17 years agofixed a few compilation errors for net-win32. fixed puper for trace.
Gengbin Zheng [Thu, 8 Apr 2004 22:28:02 +0000 (22:28 +0000)]
fixed a few compilation errors for net-win32. fixed puper for trace.

17 years agochanged the // comment recently added.
Gengbin Zheng [Thu, 8 Apr 2004 21:41:07 +0000 (21:41 +0000)]
changed the // comment recently added.

17 years agoadding pipe broadcast with arrays:
Sameer Kumar [Thu, 8 Apr 2004 21:12:49 +0000 (21:12 +0000)]
adding pipe broadcast with arrays:

17 years agoswitching back to complex for compute entry
Sameer Kumar [Thu, 8 Apr 2004 20:55:40 +0000 (20:55 +0000)]
switching back to complex for compute entry

17 years agoremoved redundant CMK_LIBDIR and CMK_INCDIR.
Gengbin Zheng [Thu, 8 Apr 2004 18:53:11 +0000 (18:53 +0000)]
removed redundant CMK_LIBDIR and CMK_INCDIR.

17 years agominor fix, prevent it from sending 0 byte packet.
Gengbin Zheng [Thu, 8 Apr 2004 18:51:45 +0000 (18:51 +0000)]
minor fix, prevent it from sending 0 byte packet.

17 years agoremoved duplicated CMK_INCDIR and CMK_LIBDIR.
Gengbin Zheng [Thu, 8 Apr 2004 18:50:33 +0000 (18:50 +0000)]
removed duplicated CMK_INCDIR and CMK_LIBDIR.

17 years agofixed to pass in user specified incdir and libdir to CC and LDs.
Gengbin Zheng [Thu, 8 Apr 2004 18:44:28 +0000 (18:44 +0000)]
fixed to pass in user specified incdir and libdir to CC and LDs.

17 years agoMore optimizations to shave off time.
Eric Bohm [Thu, 8 Apr 2004 16:49:50 +0000 (16:49 +0000)]
More optimizations to shave off time.

17 years agoFixed a bug in MPI_Pack_size. It's supposed to assign the last argument
Chao Huang [Thu, 8 Apr 2004 07:32:50 +0000 (07:32 +0000)]
Fixed a bug in MPI_Pack_size. It's supposed to assign the last argument
to the result size, instead it *returned* the value. Thanks to our user
Ranjith Subramaniam <ranjith007@yahoo.com>.

17 years agoTweaks and shifting of inlined function to .h to force inlining.
Eric Bohm [Thu, 8 Apr 2004 03:15:44 +0000 (03:15 +0000)]
Tweaks and shifting of inlined function to .h to force inlining.
Very slightly faster.

17 years agoOptimized loop added comparison operator to complex.
Eric Bohm [Thu, 8 Apr 2004 02:33:37 +0000 (02:33 +0000)]
Optimized loop added comparison operator to complex.
benchmark now runs twice as fast.

17 years agoAdded including of header file for commlib.
Yan Shi [Wed, 7 Apr 2004 19:46:38 +0000 (19:46 +0000)]
Added including of header file for commlib.

17 years agoadded better checking for section multicast.
Gengbin Zheng [Wed, 7 Apr 2004 18:38:07 +0000 (18:38 +0000)]
added better checking for section multicast.

17 years agoremoved an unnecessary packing of message.
Gengbin Zheng [Wed, 7 Apr 2004 18:36:41 +0000 (18:36 +0000)]
removed an unnecessary packing of message.

17 years agoAdded fairness to charmrun's req_poll of sockets.
Eric Bohm [Wed, 7 Apr 2004 16:31:12 +0000 (16:31 +0000)]
Added fairness to charmrun's req_poll of sockets.
We only allow 10 successive reads from each ready socket.
Previously there was no limit so lower numbered sockets could totally
dominate IO while higher numbered sockets got their IO blocked up.

17 years agoAdded option to use commlib. Also cleaned up some ifdef's in the code.
Yan Shi [Wed, 7 Apr 2004 05:22:03 +0000 (05:22 +0000)]
Added option to use commlib. Also cleaned up some ifdef's in the code.

17 years agodefined a complete set of NATIVE flags (don't have defaults) so that people know...
Gengbin Zheng [Tue, 6 Apr 2004 16:36:44 +0000 (16:36 +0000)]
defined a complete set of NATIVE flags (don't have defaults) so that people know what to change.

17 years agoLatest greatest...
Terry L. Wilmarth [Mon, 5 Apr 2004 23:25:12 +0000 (23:25 +0000)]
Latest greatest...

17 years agoWrong ci last time. flipped back.
Yan Shi [Mon, 5 Apr 2004 22:26:01 +0000 (22:26 +0000)]
Wrong ci last time. flipped back.

17 years agoChanged loop (using double) to enable vectorization.
Yan Shi [Mon, 5 Apr 2004 21:59:27 +0000 (21:59 +0000)]
Changed loop (using double) to enable vectorization.

17 years agoAdded MPI_LONG into arithmetic operations
Chao Huang [Mon, 5 Apr 2004 21:55:20 +0000 (21:55 +0000)]
Added MPI_LONG into arithmetic operations

17 years agotry some guess about where the gm.h lives.
Gengbin Zheng [Mon, 5 Apr 2004 20:08:49 +0000 (20:08 +0000)]
try some guess about where the gm.h lives.

17 years agoFixed tree recognition of TEMPLATE's.
Jayant DeSouza [Mon, 5 Apr 2004 17:26:17 +0000 (17:26 +0000)]
Fixed tree recognition of TEMPLATE's.

17 years agoCleanup some old PMPI calls which never get called since nothing sets MPI_CHARM to 1
Eric Bohm [Mon, 5 Apr 2004 16:47:26 +0000 (16:47 +0000)]
Cleanup some old PMPI calls which never get called since nothing sets MPI_CHARM to 1

17 years agominor change, removing an unecessary if
Sameer Kumar [Mon, 5 Apr 2004 16:08:44 +0000 (16:08 +0000)]
minor change, removing an unecessary if

17 years agobug fix taht makes ring strategy work now
Sameer Kumar [Sun, 4 Apr 2004 22:09:17 +0000 (22:09 +0000)]
bug fix taht makes ring strategy work now

17 years agoinlining a few more functions
Sameer Kumar [Sun, 4 Apr 2004 21:54:16 +0000 (21:54 +0000)]
inlining a few more functions

17 years agochanging constructor to initialize some more commlib variables
Sameer Kumar [Sun, 4 Apr 2004 20:54:31 +0000 (20:54 +0000)]
changing constructor to initialize some more commlib variables

17 years agofixing bug and now direct multicast should work
Sameer Kumar [Sun, 4 Apr 2004 20:44:06 +0000 (20:44 +0000)]
fixing bug and now direct multicast should work

17 years agoconfig files for mpich-gm for linux.
Gengbin Zheng [Sun, 4 Apr 2004 01:27:54 +0000 (01:27 +0000)]
config files for mpich-gm for linux.

17 years agominor bug fixes
Sameer Kumar [Sat, 3 Apr 2004 23:06:22 +0000 (23:06 +0000)]
minor bug fixes

17 years agocmpi + gcc.
Gengbin Zheng [Sat, 3 Apr 2004 18:11:22 +0000 (18:11 +0000)]
cmpi + gcc.

17 years agoFortran header for the FEM_TMR interface
Sayantan Chakravorty [Fri, 2 Apr 2004 21:47:19 +0000 (21:47 +0000)]
Fortran header for the FEM_TMR interface

17 years agofemrefine and femrefinef are now headers
Sayantan Chakravorty [Fri, 2 Apr 2004 21:46:45 +0000 (21:46 +0000)]
femrefine and femrefinef are now headers

17 years agoModified to use sparseCont library.
Yan Shi [Fri, 2 Apr 2004 20:39:09 +0000 (20:39 +0000)]
Modified to use sparseCont library.

17 years agoit is not clear -seq for charmrun should be -host or not because I can imagine charmr...
Gengbin Zheng [Thu, 1 Apr 2004 17:23:00 +0000 (17:23 +0000)]
it is not clear -seq for charmrun should be -host or not because I can imagine charmrun can either run on local host or compiled to run on target machine.
For now, keep it -seq and set CMK_SEQ_LIBS to be default as CMK_NATIVE_LIBS.

17 years agoPMAF now works in parallel (at least it works on 6 pes for a 6 chunk mesh).
Terry L. Wilmarth [Thu, 1 Apr 2004 16:04:07 +0000 (16:04 +0000)]
PMAF now works in parallel (at least it works on 6 pes for a 6 chunk mesh).
It also uses some rudimentary refinement propagation to improve smoothness
of refinement and reduce the number of bad elements on borders of highly
refined areas.  I'm still unhappy with the overall refinement quality so
next I will try to improve the refinement propagation methods.

17 years agoIntel fortran compiler has been renamed to ifort. The library and mod name convention...
Gengbin Zheng [Thu, 1 Apr 2004 02:51:03 +0000 (02:51 +0000)]
Intel fortran compiler has been renamed to ifort. The library and mod name convention have changed.

17 years agoset correct CMK_F90LIBS.
Gengbin Zheng [Thu, 1 Apr 2004 02:19:11 +0000 (02:19 +0000)]
set correct CMK_F90LIBS.

17 years agoBug fixed.
Yan Shi [Wed, 31 Mar 2004 21:21:30 +0000 (21:21 +0000)]
Bug fixed.

17 years agodon't set default CMK_NATIVE_LIBS to CMK_LIBS (which will mistakenly take -lmpich...
Gengbin Zheng [Wed, 31 Mar 2004 21:19:01 +0000 (21:19 +0000)]
don't set default CMK_NATIVE_LIBS to CMK_LIBS (which will mistakenly take -lmpich for example).

17 years agoset NATIVE default values.
Gengbin Zheng [Wed, 31 Mar 2004 20:58:26 +0000 (20:58 +0000)]
set NATIVE default values.

17 years agochanged SEQ to NATIVE for less confusion.
Gengbin Zheng [Wed, 31 Mar 2004 20:00:42 +0000 (20:00 +0000)]
changed SEQ to NATIVE for less confusion.

17 years agochanged SEQ to NATIVE for less confusion.
Gengbin Zheng [Wed, 31 Mar 2004 19:54:58 +0000 (19:54 +0000)]
changed SEQ to NATIVE for less confusion.

17 years agoupdated for cmpi on tungsten.
Gengbin Zheng [Wed, 31 Mar 2004 19:18:31 +0000 (19:18 +0000)]
updated for cmpi on tungsten.

17 years agoSEQ => NATIVE
Gengbin Zheng [Wed, 31 Mar 2004 19:08:13 +0000 (19:08 +0000)]
SEQ => NATIVE

17 years agoCleaned up import *.
Jayant DeSouza [Wed, 31 Mar 2004 18:36:34 +0000 (18:36 +0000)]
Cleaned up import *.

17 years agoAdded note about the jade package.
Jayant DeSouza [Wed, 31 Mar 2004 18:27:12 +0000 (18:27 +0000)]
Added note about the jade package.

17 years agoAdded a new pass to the compiler for the for-loop manipulation.
Jayant DeSouza [Wed, 31 Mar 2004 18:23:19 +0000 (18:23 +0000)]
Added a new pass to the compiler for the for-loop manipulation.
Moved the default-package code into a package by making jade the package name.

17 years agofixed compiler error for mpcc64, fixed indents.
Gengbin Zheng [Wed, 31 Mar 2004 16:48:32 +0000 (16:48 +0000)]
fixed compiler error for mpcc64, fixed indents.

17 years agoAdded a function to parse a string and return an AST.
Jayant DeSouza [Wed, 31 Mar 2004 16:21:27 +0000 (16:21 +0000)]
Added a function to parse a string and return an AST.

17 years agoAdded comments.
Jayant DeSouza [Wed, 31 Mar 2004 16:20:14 +0000 (16:20 +0000)]
Added comments.

17 years agoFixed.
Yan Shi [Wed, 31 Mar 2004 16:11:27 +0000 (16:11 +0000)]
Fixed.

17 years agoChanged name for util.h for avoiding conflicts. Optimized inline function for complex...
Yan Shi [Wed, 31 Mar 2004 15:53:12 +0000 (15:53 +0000)]
Changed name for util.h for avoiding conflicts. Optimized inline function for complex class.

17 years agoOptimized loop. Still using double for reduction.
Yan Shi [Wed, 31 Mar 2004 15:51:03 +0000 (15:51 +0000)]
Optimized loop. Still using double for reduction.

17 years agochanged SEQ to NATIVE definitions to fix a bug that g++ was used for compiling charmxi.
Gengbin Zheng [Wed, 31 Mar 2004 08:10:37 +0000 (08:10 +0000)]
changed SEQ to NATIVE definitions to fix a bug that g++ was used for compiling charmxi.

17 years agoexamples in help page for using --incdir and --libdir.
Gengbin Zheng [Wed, 31 Mar 2004 03:11:24 +0000 (03:11 +0000)]
examples in help page for using --incdir and --libdir.

17 years agoadded writests for tracing functions in ampi
Sayantan Chakravorty [Tue, 30 Mar 2004 23:31:17 +0000 (23:31 +0000)]
added writests for tracing functions in ampi

17 years agoConfigure script updated to remove echo statement.
Chee Wai Lee [Tue, 30 Mar 2004 21:25:02 +0000 (21:25 +0000)]
Configure script updated to remove echo statement.

17 years agoUpdated trace modules to generate papi traces and accept AMPI user function
Chee Wai Lee [Tue, 30 Mar 2004 21:24:07 +0000 (21:24 +0000)]
Updated trace modules to generate papi traces and accept AMPI user function
tracing. The new version of projections is now 6.6

17 years agoAdded headers for registering and tracing ampi functions
Sayantan Chakravorty [Tue, 30 Mar 2004 21:10:42 +0000 (21:10 +0000)]
Added headers for registering and tracing ampi functions

17 years agoChanges for registering and tracing function calls
Sayantan Chakravorty [Tue, 30 Mar 2004 21:10:06 +0000 (21:10 +0000)]
Changes for registering and tracing function calls

17 years agoFlip back to sparseContigurous lib.
Yan Shi [Tue, 30 Mar 2004 06:00:45 +0000 (06:00 +0000)]
Flip back to sparseContigurous lib.