charm.git
12 years agoAdding a new map class that can be used to specify VP to PE mappings statically throu...
Isaac Dooley [Tue, 17 Mar 2009 22:33:27 +0000 (22:33 +0000)]
Adding a new map class that can be used to specify VP to PE mappings statically through a command line argument format string. The class is called ConfigurableRRMap. The map is used if a command line argument such as the following is specified:  +ConfigurableRRMap '5 4 3 2 1 0 3'.

12 years agoExplicit cast double to int(removes compiler warnings).
Isaac Dooley [Tue, 17 Mar 2009 22:31:27 +0000 (22:31 +0000)]
Explicit cast double to int(removes compiler warnings).

12 years agoThe Macintosh compilers do not appear to like the space between -D and it's
Chee Wai Lee [Tue, 17 Mar 2009 21:51:02 +0000 (21:51 +0000)]
The Macintosh compilers do not appear to like the space between -D and it's
subsequent argument.

12 years agoAdded alpha feature for enabling CCS communication with tracing modules via
Chee Wai Lee [Tue, 17 Mar 2009 14:42:03 +0000 (14:42 +0000)]
Added alpha feature for enabling CCS communication with tracing modules via
the tracing framework. Also added the recording of basic Idle time
information in the trace-summary module as well as the appropriate
visualization support.

12 years agoRemoving the defunct directory CCS_SimpleImbalance and simplifying the Makefile
Chee Wai Lee [Tue, 17 Mar 2009 14:31:32 +0000 (14:31 +0000)]
Removing the defunct directory CCS_SimpleImbalance and simplifying the Makefile
to avoid using projections as part of an example.

12 years agoCorrecting accidental commit of experimental example-base in the public
Chee Wai Lee [Tue, 17 Mar 2009 14:24:31 +0000 (14:24 +0000)]
Correcting accidental commit of experimental example-base in the public
examples directory.

12 years agofixed mapping for dimNT > 1 case
Abhinav Bhatele [Tue, 17 Mar 2009 07:16:11 +0000 (07:16 +0000)]
fixed mapping for dimNT > 1 case

12 years agoAdding this file to help compile CUDA ParFUM programs on lincoln.
Isaac Dooley [Mon, 16 Mar 2009 18:48:41 +0000 (18:48 +0000)]
Adding this file to help compile CUDA ParFUM programs on lincoln.

12 years agoFixed a stupid typo from before.
Isaac Dooley [Mon, 16 Mar 2009 18:21:56 +0000 (18:21 +0000)]
Fixed a stupid typo from before.

12 years agoAdded init entry methods to be called during startup phase to fix readonly race condi...
David Kunzman [Mon, 16 Mar 2009 17:47:48 +0000 (17:47 +0000)]
Added init entry methods to be called during startup phase to fix readonly race condition.  Added proxy patches to reduce communication overhead.

12 years agoAdded base class name to global accelerator functions so two difference chare classes...
David Kunzman [Mon, 16 Mar 2009 17:45:12 +0000 (17:45 +0000)]
Added base class name to global accelerator functions so two difference chare classes can use the same entry method names.

12 years agoUse x86_64 instead of amd64 in the README, again
Phil Miller [Mon, 16 Mar 2009 17:32:37 +0000 (17:32 +0000)]
Use x86_64 instead of amd64 in the README, again

12 years agoWhitespace fix
Phil Miller [Mon, 16 Mar 2009 17:28:16 +0000 (17:28 +0000)]
Whitespace fix

12 years agoUse x86_64 instead of amd64 in the README
Phil Miller [Mon, 16 Mar 2009 17:26:07 +0000 (17:26 +0000)]
Use x86_64 instead of amd64 in the README

12 years agore-added hash computation to model init
Aaron Becker [Thu, 12 Mar 2009 21:19:20 +0000 (21:19 +0000)]
re-added hash computation to model init

12 years agoCCS-based server application that will handshake with the CCS client and
Chee Wai Lee [Thu, 12 Mar 2009 21:17:34 +0000 (21:17 +0000)]
CCS-based server application that will handshake with the CCS client and
wait before registering Tracing CCS capabilities and turning tracing on
at the same time.

12 years agoadded device data motion functions; made cuda makefile default
Aaron Becker [Thu, 12 Mar 2009 21:07:30 +0000 (21:07 +0000)]
added device data motion functions; made cuda makefile default

12 years agoMore Changes.
Isaac Dooley [Thu, 12 Mar 2009 21:05:33 +0000 (21:05 +0000)]
More Changes.

12 years agoChanges to get the shared node regeneration working, and to get the TOPS layer workin...
Isaac Dooley [Thu, 12 Mar 2009 20:43:21 +0000 (20:43 +0000)]
Changes to get the shared node regeneration working, and to get the TOPS layer working on lincoln.

12 years agoskip sendBarrierMessage if dataskt is -1
Gengbin Zheng [Thu, 12 Mar 2009 16:48:55 +0000 (16:48 +0000)]
skip sendBarrierMessage if dataskt is -1

12 years agoremoved a c style comment
Gengbin Zheng [Thu, 12 Mar 2009 16:41:27 +0000 (16:41 +0000)]
removed a c style comment

12 years agofixed incorrect element lookups for TOP_ELEMENT_TET4
Aaron Becker [Wed, 11 Mar 2009 21:38:21 +0000 (21:38 +0000)]
fixed incorrect element lookups for TOP_ELEMENT_TET4

12 years agoAdded noAccelStub library to POST_LIBRARIES for converse++ programs.
David Kunzman [Wed, 11 Mar 2009 21:29:03 +0000 (21:29 +0000)]
Added noAccelStub library to POST_LIBRARIES for converse++ programs.

12 years agoAdded commands to build noAccelStub library.
David Kunzman [Wed, 11 Mar 2009 21:28:07 +0000 (21:28 +0000)]
Added commands to build noAccelStub library.

12 years agoInitial checkin. Files for PPE stub library when SPEs aren't in use.
David Kunzman [Wed, 11 Mar 2009 21:27:21 +0000 (21:27 +0000)]
Initial checkin.  Files for PPE stub library when SPEs aren't in use.

12 years agoAdded device selection code
Aaron Becker [Wed, 11 Mar 2009 21:02:47 +0000 (21:02 +0000)]
Added device selection code

12 years agoallow multicore even w/o comm thread to work with charmrun.
Gengbin Zheng [Wed, 11 Mar 2009 20:55:13 +0000 (20:55 +0000)]
allow multicore even w/o comm thread to work with charmrun.
make sure "++ppn" is recorgnized in standalone mode, which is convenient even though it is "typo".

12 years agoUpdated accel instance rule.
David Kunzman [Wed, 11 Mar 2009 18:18:24 +0000 (18:18 +0000)]
Updated accel instance rule.

12 years agoadded functions to find shared node ownership
Aaron Becker [Tue, 10 Mar 2009 22:11:49 +0000 (22:11 +0000)]
added functions to find shared node ownership

12 years agomemory os is now stable, switch from gnu malloc now. charm6_1
Gengbin Zheng [Tue, 10 Mar 2009 16:41:29 +0000 (16:41 +0000)]
memory os is now stable, switch from gnu malloc now.

12 years agofixed a compiler error on multicore-win32. _Cmi_noprocforcommthread is not declared...
Gengbin Zheng [Tue, 10 Mar 2009 05:21:27 +0000 (05:21 +0000)]
fixed a compiler error on multicore-win32. _Cmi_noprocforcommthread is not declared for multicore-win32.

12 years agomove coremap declaration up to the beginning of the code block to please VC++ compiler.
Gengbin Zheng [Tue, 10 Mar 2009 03:36:38 +0000 (03:36 +0000)]
move coremap declaration up to the beginning of the code block to please VC++ compiler.

12 years agofixed a possible hang when coremap is used. also give invalid core number error messa...
Gengbin Zheng [Tue, 10 Mar 2009 03:14:40 +0000 (03:14 +0000)]
fixed a possible hang when coremap is used. also give invalid core number error message when a core number is out of range

12 years agoCharm++ example which has dependencies and works with BigSim
Abhinav Bhatele [Mon, 9 Mar 2009 21:54:42 +0000 (21:54 +0000)]
Charm++ example which has dependencies and works with BigSim

12 years agoa new command line option: +coremap which explicitly defines core mapping, for exampl...
Gengbin Zheng [Mon, 9 Mar 2009 21:05:52 +0000 (21:05 +0000)]
a new command line option: +coremap which explicitly defines core mapping, for example for 4 pe run: +coremap 0,2,4,6 would be a good choice.

12 years agoclean up _Cmi_noprocforcommthread setting in multicore.
Gengbin Zheng [Mon, 9 Mar 2009 21:01:54 +0000 (21:01 +0000)]
clean up _Cmi_noprocforcommthread setting in multicore.
When no commthread, _Cmi_noprocforcommthread = 0, with commthread, _Cmi_noprocforcommthread = 1

12 years agochanged size_t to void* since we are testing pointer size
Filippo Gioachin [Mon, 9 Mar 2009 20:38:51 +0000 (20:38 +0000)]
changed size_t to void* since we are testing pointer size

12 years agojoint lock in a single line
Filippo Gioachin [Mon, 9 Mar 2009 20:36:54 +0000 (20:36 +0000)]
joint lock in a single line

12 years agoprotecting file inclusion with macros
Pritish Jetley [Sun, 8 Mar 2009 05:08:42 +0000 (05:08 +0000)]
protecting file inclusion with macros

12 years agoin SMP mode, communication thread can be stuck somewhere out of cpuaffinity (in cputo...
Gengbin Zheng [Sun, 8 Mar 2009 05:04:25 +0000 (05:04 +0000)]
in SMP mode, communication thread can be stuck somewhere out of cpuaffinity (in cputopology), therefore the program hang. Calling CmiNetworkProgress() should fix it.

12 years agoMore changes to get working on lincoln.
Isaac Dooley [Sat, 7 Mar 2009 22:29:05 +0000 (22:29 +0000)]
More changes to get working on lincoln.

12 years ago*** empty log message ***
Abhinav Bhatele [Sat, 7 Mar 2009 21:45:41 +0000 (21:45 +0000)]
*** empty log message ***

12 years agoa working smp config
Gengbin Zheng [Sat, 7 Mar 2009 15:00:22 +0000 (15:00 +0000)]
a working smp config

12 years agoModifications to get running on lincoln.
Isaac Dooley [Fri, 6 Mar 2009 22:04:39 +0000 (22:04 +0000)]
Modifications to get running on lincoln.

12 years agocalling pthread_getspecific with an invalid key is *undefined*. and it happens in...
Gengbin Zheng [Fri, 6 Mar 2009 21:41:45 +0000 (21:41 +0000)]
calling pthread_getspecific with an invalid key is *undefined*. and it happens in COnverseInit when reading args (which calls CkMyPe()). The undefined value can crash problem

12 years agoin mmap_probe mode, use MAP_ANON instead of MAP_ANONYMOUS
Gengbin Zheng [Fri, 6 Mar 2009 21:39:41 +0000 (21:39 +0000)]
in mmap_probe mode, use MAP_ANON instead of MAP_ANONYMOUS

12 years agoadded fp type size functions from dev
Aaron Becker [Fri, 6 Mar 2009 21:26:29 +0000 (21:26 +0000)]
added fp type size functions from dev

12 years agoa more portable way to do atomic operations in x86 asm.
Gengbin Zheng [Fri, 6 Mar 2009 21:13:54 +0000 (21:13 +0000)]
a more portable way to do atomic operations in x86 asm.

12 years agomulticore for net-darwin for x86_64 bit
Gengbin Zheng [Fri, 6 Mar 2009 21:08:50 +0000 (21:08 +0000)]
multicore for net-darwin for x86_64 bit

12 years agoAdded inline keyword to two function prototypes.
David Kunzman [Fri, 6 Mar 2009 20:15:13 +0000 (20:15 +0000)]
Added inline keyword to two function prototypes.

12 years agoupdated smp config for net-linux-ppc
Gengbin Zheng [Fri, 6 Mar 2009 18:04:56 +0000 (18:04 +0000)]
updated smp config for net-linux-ppc

12 years agouse memory fence if possible. Already tested on hope.
Gengbin Zheng [Fri, 6 Mar 2009 16:37:03 +0000 (16:37 +0000)]
use memory fence if possible. Already tested on hope.

12 years ago<> is the wrong brakcet style for our headers
Eric Bohm [Fri, 6 Mar 2009 16:30:35 +0000 (16:30 +0000)]
<> is the wrong brakcet style for our headers

12 years agomultcore for darwin x86
Gengbin Zheng [Fri, 6 Mar 2009 16:19:06 +0000 (16:19 +0000)]
multcore for darwin x86

12 years agoadded __ before and after asm and volatile
Filippo Gioachin [Fri, 6 Mar 2009 11:20:46 +0000 (11:20 +0000)]
added __ before and after asm and volatile
given more freedom to compiler to choose registers
added memory to the clobbering list

12 years agofor xlc 64 bit
Gengbin Zheng [Fri, 6 Mar 2009 08:46:15 +0000 (08:46 +0000)]
for xlc 64 bit

12 years agofor xlc
Gengbin Zheng [Fri, 6 Mar 2009 08:43:15 +0000 (08:43 +0000)]
for xlc

12 years agomulticore for linux-ppc, tested on turing
Gengbin Zheng [Fri, 6 Mar 2009 08:10:14 +0000 (08:10 +0000)]
multicore for linux-ppc, tested on turing

12 years agoA better fix for the previous check in. use special asm syntax to generate uniq asm...
Gengbin Zheng [Fri, 6 Mar 2009 07:20:21 +0000 (07:20 +0000)]
A better fix for the previous check in. use special asm syntax to generate uniq asm loop, to avoid the multiple definition of labels. This could happen when uisng -O3 and compiler inlines PCqueuePush and Pop.

12 years agoreverted the previous change to charmrun-target because it breaks parallel make
Gengbin Zheng [Fri, 6 Mar 2009 07:14:14 +0000 (07:14 +0000)]
reverted the previous change to charmrun-target because it breaks parallel make

12 years agoChange the internal runs to be 100 to amortize the reduction operation to the main...
Chao Mei [Fri, 6 Mar 2009 03:57:06 +0000 (03:57 +0000)]
Change the internal runs to be 100 to amortize the reduction operation to the main proxy

12 years agoUse symbolic constants for the source of a call to CommunicationServer()
Phil Miller [Fri, 6 Mar 2009 03:00:07 +0000 (03:00 +0000)]
Use symbolic constants for the source of a call to CommunicationServer()

12 years agoonly compile code when getpid exist
Gengbin Zheng [Fri, 6 Mar 2009 02:05:23 +0000 (02:05 +0000)]
only compile code when getpid exist

12 years agoadded test for getpid
Gengbin Zheng [Fri, 6 Mar 2009 02:04:42 +0000 (02:04 +0000)]
added test for getpid

12 years agoskip MMAP_NORESERVE when it is not supported (CMK_HAS_MMAP_NORESERVE == 0). However...
Gengbin Zheng [Thu, 5 Mar 2009 17:23:08 +0000 (17:23 +0000)]
skip MMAP_NORESERVE when it is not supported (CMK_HAS_MMAP_NORESERVE == 0). However, MMAP_NORESERVE is very important for latest linux kernel. Without it, the memory region is limited to the swap space instead of the whole virtual memory space

12 years agoa tested working version of atomic increment/decrement asm code for PPC
Gengbin Zheng [Thu, 5 Mar 2009 17:20:00 +0000 (17:20 +0000)]
a tested working version of atomic increment/decrement asm code for PPC

12 years agoadd a test to check if MMAP_NORESERVE is reserved
Gengbin Zheng [Thu, 5 Mar 2009 17:16:02 +0000 (17:16 +0000)]
add a test to check if MMAP_NORESERVE is reserved

12 years agoSilly of me to use a hardcoded directory for charmc in an example.
Chee Wai Lee [Thu, 5 Mar 2009 06:33:15 +0000 (06:33 +0000)]
Silly of me to use a hardcoded directory for charmc in an example.

12 years agoSorted the time records for each iteration, and the final average is only
Chao Mei [Thu, 5 Mar 2009 00:38:09 +0000 (00:38 +0000)]
Sorted the time records for each iteration, and the final average is only
counting the lowest 100 records for more accurate comparision between
different platforms.

12 years agochanged class names for double and float due o conflict
Viraj Paropkari [Wed, 4 Mar 2009 23:36:08 +0000 (23:36 +0000)]
changed class names for double and float due o conflict

12 years ago*** empty log message ***
Viraj Paropkari [Wed, 4 Mar 2009 23:34:55 +0000 (23:34 +0000)]
*** empty log message ***

12 years agoDefined CMK_NETPOLL to "1" so netpoll mode is forced.
David Kunzman [Wed, 4 Mar 2009 21:03:22 +0000 (21:03 +0000)]
Defined CMK_NETPOLL to "1" so netpoll mode is forced.

12 years agoAdded user events and network progress calls for performance testing.
David Kunzman [Wed, 4 Mar 2009 19:29:00 +0000 (19:29 +0000)]
Added user events and network progress calls for performance testing.

12 years agoChanged default fp type to float
Aaron Becker [Wed, 4 Mar 2009 19:18:27 +0000 (19:18 +0000)]
Changed default fp type to float

12 years agofixed to compile on turing
Gengbin Zheng [Wed, 4 Mar 2009 19:18:06 +0000 (19:18 +0000)]
fixed to compile on turing

12 years agoAdded function to check that application and library FP_TYPE sizes agree
Aaron Becker [Wed, 4 Mar 2009 19:17:05 +0000 (19:17 +0000)]
Added function to check that application and library FP_TYPE sizes agree

12 years agofixed a autoconf syntax error in previous checkin
Gengbin Zheng [Wed, 4 Mar 2009 19:14:15 +0000 (19:14 +0000)]
fixed a autoconf syntax error in previous checkin

12 years agouse the new autoconf generated 64 bit macro instead of CMK_64BIT
Gengbin Zheng [Wed, 4 Mar 2009 19:07:03 +0000 (19:07 +0000)]
use the new autoconf generated 64 bit macro instead of CMK_64BIT

12 years agotest if compiler is 64 bit.
Gengbin Zheng [Wed, 4 Mar 2009 19:04:59 +0000 (19:04 +0000)]
test if compiler is 64 bit.

12 years agoMoved NVIDIA_CUDA_SDK directory location.
Isaac Dooley [Wed, 4 Mar 2009 18:38:46 +0000 (18:38 +0000)]
Moved NVIDIA_CUDA_SDK directory location.

12 years agoFixed build problem on abe.
Isaac Dooley [Wed, 4 Mar 2009 18:33:52 +0000 (18:33 +0000)]
Fixed build problem on abe.

12 years agoThis version now allows program to compile on abe.
Isaac Dooley [Wed, 4 Mar 2009 18:19:27 +0000 (18:19 +0000)]
This version now allows program to compile on abe.

12 years ago the implementation of MPI_Cart_rank does not handle out-of-bound reference correctly...
Gengbin Zheng [Wed, 4 Mar 2009 07:11:30 +0000 (07:11 +0000)]
 the implementation of MPI_Cart_rank does not handle out-of-bound reference correctly when periodic is true.

12 years agochanged to include SSE header files
Viraj Paropkari [Wed, 4 Mar 2009 05:58:55 +0000 (05:58 +0000)]
changed to include SSE header files

12 years ago*** empty log message ***
Viraj Paropkari [Wed, 4 Mar 2009 05:57:36 +0000 (05:57 +0000)]
*** empty log message ***

12 years agoan ancient bug, seed needs to be unsigned int.
Gengbin Zheng [Wed, 4 Mar 2009 05:47:06 +0000 (05:47 +0000)]
an ancient bug, seed needs to be unsigned int.

12 years agoThis library is never compiled by default. The changes are minor tweaks to get the...
Isaac Dooley [Tue, 3 Mar 2009 22:41:13 +0000 (22:41 +0000)]
This library is never compiled by default. The changes are minor tweaks to get the library to compile on lincoln.ncsa.uiuc.edu.

12 years agoat isomalloc_sync mode, try to test if there is shared file system (which the sync...
Gengbin Zheng [Tue, 3 Mar 2009 07:35:47 +0000 (07:35 +0000)]
at isomalloc_sync mode, try to test if there is shared file system (which the sync relies on). Abort when it is not shared.

12 years agomodify the mmap probe scheme with a better searching scheme that can find larger...
Gengbin Zheng [Tue, 3 Mar 2009 07:25:20 +0000 (07:25 +0000)]
modify the mmap probe scheme with a better searching scheme that can find larger memory region.
Always force isomalloc_sync to find intersect of memory region on all processors for this scheme.

12 years agoadded const to thisIndex reference for f90charm generated code.
Gengbin Zheng [Tue, 3 Mar 2009 02:39:18 +0000 (02:39 +0000)]
added const to thisIndex reference for f90charm generated code.

12 years agomake charm-target depend on basics, which fixed some broken dependencies that was...
Gengbin Zheng [Tue, 3 Mar 2009 02:36:53 +0000 (02:36 +0000)]
make charm-target depend on basics, which fixed some broken dependencies that was due to recent change in making parallel make.

12 years agofixed VC++ compiler error to the latest checkin of killproc.
Gengbin Zheng [Tue, 3 Mar 2009 02:25:06 +0000 (02:25 +0000)]
fixed VC++ compiler error to the latest checkin of killproc.

12 years agoswitch to memory os as default again, this time with a different isomalloc initializa...
Gengbin Zheng [Tue, 3 Mar 2009 00:17:35 +0000 (00:17 +0000)]
switch to memory os as default again, this time with a different isomalloc initialization scheme that I just implemented.

12 years agoSingle and Double Precision classes to implement main core routines with SSE2 instruc...
Viraj Paropkari [Mon, 2 Mar 2009 23:02:00 +0000 (23:02 +0000)]
Single and Double Precision classes to implement main core routines with SSE2 instructions using higher level API

12 years agoconflict with system float and double
Viraj Paropkari [Mon, 2 Mar 2009 22:53:45 +0000 (22:53 +0000)]
conflict with system float and double

12 years agoAdded some functionality for killing processes as specified in the kill file.
Esteban Meneses [Mon, 2 Mar 2009 22:28:36 +0000 (22:28 +0000)]
Added some functionality for killing processes as specified in the kill file.

12 years agoUsage of +killFile option included into command line parsing
Esteban Meneses [Mon, 2 Mar 2009 22:27:37 +0000 (22:27 +0000)]
Usage of +killFile option included into command line parsing

12 years agoclass for single precision used to implement higher level API for SSE2 instructions
Viraj Paropkari [Mon, 2 Mar 2009 22:19:02 +0000 (22:19 +0000)]
class for single precision used to implement higher level API for SSE2 instructions

12 years agoclass for double precision used to implement higher level API for SSE2 instructions
Viraj Paropkari [Mon, 2 Mar 2009 22:12:33 +0000 (22:12 +0000)]
class for double precision used to  implement higher level API for SSE2 instructions

12 years agointroduced a new way to initilize the mmap region.
Gengbin Zheng [Mon, 2 Mar 2009 21:17:54 +0000 (21:17 +0000)]
introduced a new way to initilize the mmap region.
When CMK_MMAP_PROBE is defined, it will try to do mmap from a very large memory region, and reducing its size by half until it succeeds. This avoids the error-prone way of finding holes in some known memory regions.