charm.git
17 years agoa bug fix. should leave enough room (4 bytes) for holding message size
Gengbin Zheng [Mon, 25 Oct 2004 16:59:35 +0000 (16:59 +0000)]
a bug fix. should leave enough room (4 bytes) for holding message size

17 years agoon cu.ncsa.\7f, one needs to use poe -procs to run a job now.
Gengbin Zheng [Mon, 25 Oct 2004 15:38:15 +0000 (15:38 +0000)]
on cu.ncsa.\7f, one needs to use poe -procs to run a job now.

17 years agoremoved # at linker command
Gengbin Zheng [Mon, 25 Oct 2004 14:55:46 +0000 (14:55 +0000)]
removed # at linker command

17 years agoremoved # in linker command.
Gengbin Zheng [Mon, 25 Oct 2004 14:55:07 +0000 (14:55 +0000)]
removed # in linker command.

17 years agoforgot to check in changes this file. CmiSwitchPE is now replaced by a function pointer.
Gengbin Zheng [Mon, 25 Oct 2004 14:53:36 +0000 (14:53 +0000)]
forgot to check in changes this file. CmiSwitchPE is now replaced by a function pointer.

17 years agofixed the previous fix, suppress error output by using /dev/null
Gengbin Zheng [Mon, 25 Oct 2004 04:54:08 +0000 (04:54 +0000)]
fixed the previous fix, suppress error output by using /dev/null

17 years agogetting absolute path is difficult than thought. cd && pwd does not work for some...
Gengbin Zheng [Mon, 25 Oct 2004 04:40:39 +0000 (04:40 +0000)]
getting absolute path is difficult than thought. cd && pwd does not work for some weird symbolic links, so has to try something else.

17 years agofixed a compiler error of using pow
Gengbin Zheng [Mon, 25 Oct 2004 01:49:47 +0000 (01:49 +0000)]
fixed a compiler error of using pow

17 years agomake to $(MAKE)
Gengbin Zheng [Mon, 25 Oct 2004 01:38:42 +0000 (01:38 +0000)]
make to $(MAKE)

17 years agosetup bgtest for all hello programs
Gengbin Zheng [Sun, 24 Oct 2004 21:13:14 +0000 (21:13 +0000)]
setup bgtest for all hello programs

17 years agoturned of printout
Gengbin Zheng [Sun, 24 Oct 2004 20:29:42 +0000 (20:29 +0000)]
turned of printout

17 years agoswitch CmiSwitchToPE to bigsim specific implementation.
Gengbin Zheng [Sun, 24 Oct 2004 20:15:29 +0000 (20:15 +0000)]
switch CmiSwitchToPE to bigsim specific implementation.

17 years agodefine CmiSwitchToPE as a function pointer so that bigsim emulator can change its...
Gengbin Zheng [Sun, 24 Oct 2004 20:14:01 +0000 (20:14 +0000)]
define CmiSwitchToPE as a function pointer so that bigsim emulator can change its implementation while uth-linux defines its own implementation.

17 years agoan virtually empty function for LDProcessorSpeed.
Gengbin Zheng [Sun, 24 Oct 2004 18:03:22 +0000 (18:03 +0000)]
an virtually empty function for LDProcessorSpeed.

17 years agosetup CMK_F90_FIXED to take .f suffix
Gengbin Zheng [Sun, 24 Oct 2004 17:39:06 +0000 (17:39 +0000)]
setup CMK_F90_FIXED to take .f suffix

17 years agosetup CMK_F90_FIXED to take suffix .f
Gengbin Zheng [Sun, 24 Oct 2004 17:37:46 +0000 (17:37 +0000)]
setup CMK_F90_FIXED to take suffix .f

17 years agoinclude LdbDatabase.h anyway ignoring LBDB_ON macro
Gengbin Zheng [Sun, 24 Oct 2004 17:32:31 +0000 (17:32 +0000)]
include LdbDatabase.h anyway ignoring LBDB_ON macro

17 years agofixed test
Gengbin Zheng [Sun, 24 Oct 2004 16:54:08 +0000 (16:54 +0000)]
fixed test

17 years agodefine CMK_F90_FIXED to be same as CMK_F90. This is tricky because even without defin...
Gengbin Zheng [Sun, 24 Oct 2004 16:51:00 +0000 (16:51 +0000)]
define CMK_F90_FIXED to be same as CMK_F90. This is tricky because even without defining FIXED, it takes the default value from conv-mach.sh, not the one in optional conv-machs.

17 years agouse f90 instead of g77 as fortran77 compiler
Gengbin Zheng [Sun, 24 Oct 2004 16:49:59 +0000 (16:49 +0000)]
use f90 instead of g77 as fortran77 compiler

17 years agoadd dependence of tests and bluegene
Gengbin Zheng [Sun, 24 Oct 2004 15:09:08 +0000 (15:09 +0000)]
add dependence of tests and bluegene

17 years agobgtest
Gengbin Zheng [Sun, 24 Oct 2004 06:12:05 +0000 (06:12 +0000)]
bgtest

17 years agosetup bgtest for bigsim
Gengbin Zheng [Sun, 24 Oct 2004 06:06:41 +0000 (06:06 +0000)]
setup bgtest for bigsim

17 years agoadded test
Gengbin Zheng [Sun, 24 Oct 2004 06:04:44 +0000 (06:04 +0000)]
added test

17 years agoadded make bgtest for testing examples and tests with bigsim
Gengbin Zheng [Sun, 24 Oct 2004 06:01:28 +0000 (06:01 +0000)]
added make bgtest for testing examples and tests with bigsim

17 years agosetup for bgtest
Gengbin Zheng [Sun, 24 Oct 2004 05:59:12 +0000 (05:59 +0000)]
setup for bgtest

17 years agoset up for bgtest
Gengbin Zheng [Sun, 24 Oct 2004 05:56:26 +0000 (05:56 +0000)]
set up for bgtest

17 years agosetup bgtest for bigsim
Gengbin Zheng [Sun, 24 Oct 2004 05:55:27 +0000 (05:55 +0000)]
setup bgtest for bigsim

17 years agoadded bgtest
Gengbin Zheng [Sun, 24 Oct 2004 05:54:33 +0000 (05:54 +0000)]
added bgtest

17 years agosetup for bgtest
Gengbin Zheng [Sun, 24 Oct 2004 05:51:55 +0000 (05:51 +0000)]
setup for bgtest

17 years agoadded bgtest
Gengbin Zheng [Sun, 24 Oct 2004 05:42:51 +0000 (05:42 +0000)]
added bgtest

17 years agoadded bgtest for bigsim
Gengbin Zheng [Sun, 24 Oct 2004 05:38:06 +0000 (05:38 +0000)]
added bgtest for bigsim

17 years agoadded -lthread to CMK_LIBS
Gengbin Zheng [Sun, 24 Oct 2004 04:07:25 +0000 (04:07 +0000)]
added -lthread to CMK_LIBS

17 years agoslight modification to the example
Filippo Gioachin [Sun, 24 Oct 2004 03:11:09 +0000 (03:11 +0000)]
slight modification to the example

17 years agopython now sends back through ccs a handle number to be used for inquiries
Filippo Gioachin [Sun, 24 Oct 2004 03:05:44 +0000 (03:05 +0000)]
python now sends back through ccs a handle number to be used for inquiries

17 years agomodification to the python generator
Filippo Gioachin [Sun, 24 Oct 2004 03:04:07 +0000 (03:04 +0000)]
modification to the python generator

17 years agofixed f90 compiler flag and f90 libs
Gengbin Zheng [Sat, 23 Oct 2004 19:50:37 +0000 (19:50 +0000)]
fixed f90 compiler flag and f90 libs

17 years agoRemove erronious using namespace declaration.
Orion Lawlor [Sat, 23 Oct 2004 19:42:50 +0000 (19:42 +0000)]
Remove erronious using namespace declaration.

17 years agoRemove two-processor restriction.
Orion Lawlor [Sat, 23 Oct 2004 19:40:46 +0000 (19:40 +0000)]
Remove two-processor restriction.

17 years agoDisable pipeBroadcast for now, until Sameer fixes it.
Orion Lawlor [Sat, 23 Oct 2004 19:10:17 +0000 (19:10 +0000)]
Disable pipeBroadcast for now, until Sameer fixes it.

17 years agoAdded new pup_mpi.h header.
Orion Lawlor [Sat, 23 Oct 2004 18:05:21 +0000 (18:05 +0000)]
Added new pup_mpi.h header.

17 years agoActually test everything, not just charm, AMPI, and converse.
Orion Lawlor [Sat, 23 Oct 2004 15:51:22 +0000 (15:51 +0000)]
Actually test everything, not just charm, AMPI, and converse.
Also test out example programs, because the examples are good
tests too.

17 years agofixed broken test for charm
Gengbin Zheng [Sat, 23 Oct 2004 15:14:49 +0000 (15:14 +0000)]
fixed broken test for charm

17 years agoadded -fPIC
Gengbin Zheng [Sat, 23 Oct 2004 07:03:30 +0000 (07:03 +0000)]
added -fPIC

17 years agofixed a few things for building shared lib with gcc.
Gengbin Zheng [Sat, 23 Oct 2004 07:01:34 +0000 (07:01 +0000)]
fixed a few things for building shared lib with gcc.

17 years agoa better way for testing shared lib
Gengbin Zheng [Sat, 23 Oct 2004 06:42:20 +0000 (06:42 +0000)]
a better way for testing shared lib

17 years agoMore fine tuning.
Terry L. Wilmarth [Sat, 23 Oct 2004 00:15:13 +0000 (00:15 +0000)]
More fine tuning.

17 years agoMinor change
Sameer Kumar [Fri, 22 Oct 2004 23:00:42 +0000 (23:00 +0000)]
Minor change

17 years agoMISTERIOUSLY My new stable timer code got overwritten.
Sameer Kumar [Fri, 22 Oct 2004 23:00:05 +0000 (23:00 +0000)]
MISTERIOUSLY My new stable timer code got overwritten.

17 years agoDisabling registering handlers for pipebcast from convcomlibmanager
Sameer Kumar [Fri, 22 Oct 2004 22:53:24 +0000 (22:53 +0000)]
Disabling registering handlers for pipebcast from convcomlibmanager

17 years agoCreating a new library libconvcom.a
Sameer Kumar [Fri, 22 Oct 2004 22:52:02 +0000 (22:52 +0000)]
Creating a new library libconvcom.a

17 years agoMaking Converse header 16 bytes by getting rid of the unnecessary paddings.
Sameer Kumar [Fri, 22 Oct 2004 22:38:17 +0000 (22:38 +0000)]
Making Converse header 16 bytes by getting rid of the unnecessary paddings.
Machine layer now does not message buffer pooling by default too.

17 years agoEven faster adapt3 and GVT.
Terry L. Wilmarth [Fri, 22 Oct 2004 22:34:38 +0000 (22:34 +0000)]
Even faster adapt3 and GVT.

17 years agoincrease charm version number
Gengbin Zheng [Fri, 22 Oct 2004 19:48:03 +0000 (19:48 +0000)]
increase charm version number

17 years agofixed description of directory layout
Gengbin Zheng [Fri, 22 Oct 2004 19:35:58 +0000 (19:35 +0000)]
fixed description of directory layout

17 years agofixed path to new simplearrayhello
Gengbin Zheng [Fri, 22 Oct 2004 19:31:45 +0000 (19:31 +0000)]
fixed path to new simplearrayhello

17 years agoa new option "-no-charmrun" which disable the copying of charmrun to user directory...
Gengbin Zheng [Fri, 22 Oct 2004 18:48:46 +0000 (18:48 +0000)]
a new option "-no-charmrun" which disable the copying of charmrun to user directory. (requested by csar)

17 years agoMoved the -Dcompile to the compile lines... AGAIN!
Terry L. Wilmarth [Fri, 22 Oct 2004 16:44:04 +0000 (16:44 +0000)]
Moved the -Dcompile to the compile lines... AGAIN!

17 years agoFixed adapt3 and sped up GVT a bit.
Terry L. Wilmarth [Fri, 22 Oct 2004 16:41:33 +0000 (16:41 +0000)]
Fixed adapt3 and sped up GVT a bit.

17 years agoadded separate make target for testing various components
Gengbin Zheng [Fri, 22 Oct 2004 16:27:24 +0000 (16:27 +0000)]
added separate make target for testing various components

17 years agoreplaced pgms by tests and examples.
Gengbin Zheng [Fri, 22 Oct 2004 16:26:52 +0000 (16:26 +0000)]
replaced pgms by tests and examples.

17 years agofixed a compiler error when timestamp is long
Gengbin Zheng [Fri, 22 Oct 2004 07:11:02 +0000 (07:11 +0000)]
fixed a compiler error when timestamp is long

17 years agoremoved libmoduleseqpose.dep
Gengbin Zheng [Fri, 22 Oct 2004 05:52:30 +0000 (05:52 +0000)]
removed libmoduleseqpose.dep
changes make target pose to POSE due to confliction with default rules.

17 years agoAdded a build case for pgm.seq
Terry L. Wilmarth [Fri, 22 Oct 2004 04:38:26 +0000 (04:38 +0000)]
Added a build case for pgm.seq

17 years agofixed make depends.
Gengbin Zheng [Fri, 22 Oct 2004 04:30:14 +0000 (04:30 +0000)]
fixed make depends.

17 years agoMore inlining, whoop-de-do.
Terry L. Wilmarth [Thu, 21 Oct 2004 21:16:48 +0000 (21:16 +0000)]
More inlining, whoop-de-do.

17 years agochange to use -module seqpose if seq mode
Gengbin Zheng [Thu, 21 Oct 2004 21:15:55 +0000 (21:15 +0000)]
change to use -module seqpose if seq mode

17 years agofixed mode with seq pose
Gengbin Zheng [Thu, 21 Oct 2004 21:15:20 +0000 (21:15 +0000)]
fixed mode with seq pose

17 years agowrite a fake registerseqpose() for seq pose. This is a hack because the moudle libmod...
Gengbin Zheng [Thu, 21 Oct 2004 21:06:29 +0000 (21:06 +0000)]
write a fake registerseqpose() for seq pose. This is a hack because the moudle libmoduleseqpose actually is just a rename of module and is not defined in ci file.

17 years agofixed make rules for compiling both pose and seqpose.
Gengbin Zheng [Thu, 21 Oct 2004 19:31:25 +0000 (19:31 +0000)]
fixed make rules for compiling both pose and seqpose.

17 years agoset CMK_LD_SHARED_ABSOLUTE_PATH to true
Gengbin Zheng [Thu, 21 Oct 2004 18:20:27 +0000 (18:20 +0000)]
set CMK_LD_SHARED_ABSOLUTE_PATH to true

17 years agoif CMK_LD_SHARED_ABSOLUTE_PATH is set, change libso path to absolute path
Gengbin Zheng [Thu, 21 Oct 2004 18:19:52 +0000 (18:19 +0000)]
if CMK_LD_SHARED_ABSOLUTE_PATH is set, change libso path to absolute path

17 years agoWas using different strategies in same simulation! Now all adapt3...
Terry L. Wilmarth [Thu, 21 Oct 2004 00:48:47 +0000 (00:48 +0000)]
Was using different strategies in same simulation!  Now all adapt3...

17 years agoAdded print out to check cordiantes of shared node
Sayantan Chakravorty [Wed, 20 Oct 2004 23:31:54 +0000 (23:31 +0000)]
Added print out to check cordiantes of shared node
Temporary

17 years agotwo changes for compiling csar code:
Gengbin Zheng [Wed, 20 Oct 2004 22:40:43 +0000 (22:40 +0000)]
two changes for compiling csar code:
1. apparently passing -D___CHARMC___ to both c and fortran compilers is not a good idea because f90 compiler does not like it often time, so cahnge it to send to c and cxx compiler only
2. for user provides parameter like  -framework vecLib, what happened to charmc was that it takes -framework as unrecognizable parameter and pass to real compiler, while abort since it does not know how to deal with "vecLib". Change it to pass to compiler anyway if this case also.

17 years agoFixing the IDXL sort2d. The old sort sorted points on the basis of distance from...
Sayantan Chakravorty [Wed, 20 Oct 2004 21:04:49 +0000 (21:04 +0000)]
Fixing the IDXL sort2d. The old sort sorted points on the basis of distance from the origin only. However this meant the sort was not unique if 2 points had the exact same distance from origin. To fix that points which have the same distance to an accuracy of 1e-100 are sorted by their x value

17 years agoAdded mapping from chunk to paneID for Roccom pconn routines.
Orion Lawlor [Wed, 20 Oct 2004 19:51:50 +0000 (19:51 +0000)]
Added mapping from chunk to paneID for Roccom pconn routines.

Roccom's "PaneID"'s are allocated in rather strange ways for
many applications, such as being numbered as
100*<1-based processor number> + <1-based patch number>
Hence we should just take this mapping as a parameter instead of
trying to hardcode (or postmortem modify) the mapping.

17 years agoMissing -Dcompile
Eric Bohm [Wed, 20 Oct 2004 15:13:43 +0000 (15:13 +0000)]
Missing -Dcompile

17 years agoForgot return statement in makeIDXLside.
Orion Lawlor [Wed, 20 Oct 2004 13:17:13 +0000 (13:17 +0000)]
Forgot return statement in makeIDXLside.

17 years agomodifed to recognize .dylib
Gengbin Zheng [Wed, 20 Oct 2004 05:03:58 +0000 (05:03 +0000)]
modifed to recognize .dylib

17 years agoadded support for dynamic shared lib.
Gengbin Zheng [Wed, 20 Oct 2004 04:53:59 +0000 (04:53 +0000)]
added support for dynamic shared lib.

17 years agompi version for Mac.
Gengbin Zheng [Wed, 20 Oct 2004 04:45:42 +0000 (04:45 +0000)]
mpi version for Mac.

17 years agoremove double declaration of traceCoreOn.
Gengbin Zheng [Wed, 20 Oct 2004 04:23:50 +0000 (04:23 +0000)]
remove double declaration of traceCoreOn.

17 years agoshould use $(MAKE) always to avoid gmake hassles on lemieux
Eric Bohm [Wed, 20 Oct 2004 03:47:35 +0000 (03:47 +0000)]
should use $(MAKE) always to avoid gmake hassles on lemieux

17 years agoAdded sequential support.
Eric Bohm [Wed, 20 Oct 2004 03:46:30 +0000 (03:46 +0000)]
Added sequential support.
make SEQUENTIAL=1 now builds the sequential version of the simulator.
It turns on the -DSEQUENTIAL_POSE flag, adds the -s to etrans, and
copies libmoduleseqpose to libmodulepose for linking so you get the
sequential pose.
Building without sequential copies the libmoduleorigpose back in so
parallel builds shouldn't be broken.

17 years agoquoted opts line takes off the curse on arch and lemieux
Eric Bohm [Wed, 20 Oct 2004 03:02:31 +0000 (03:02 +0000)]
quoted opts line takes off the curse on arch and lemieux

17 years agoAdded two new API routines:
Orion Lawlor [Wed, 20 Oct 2004 03:02:12 +0000 (03:02 +0000)]
Added two new API routines:
   void FEM_Make_node_globalno(int fem_mesh,FEM_Comm_t comm_context);
   void FEM_Set_roccom_pconn(int fem_mesh,const int *src,int total_len,int ghost_len);

These are needed by the CSAR Roccom remeshing tools.
The globalno procedure, in particular, could be useful
in other contexts.

17 years agoChange default mesh entity length and width from -1 to 0.
Orion Lawlor [Wed, 20 Oct 2004 03:00:17 +0000 (03:00 +0000)]
Change default mesh entity length and width from -1 to 0.
-1 causes a whole list of weird special casing inside FEM,
and isn't any better than 0 as a sentinal value.

The proximate cause of this checkin is that
FEM_Mesh_data(mesh,FEM_ELEM, ... , 0,0, ...);
(i.e., adding a zero-length element type) caused a
segfault during partitioning, because partitioning says
foo=new bar[mesh.elem[t].length()];
which is bad if length()==-1.  With this checkin,
zero-length elements are fine.

17 years agoAllow IDXL_Side::add to be used to add new communication
Orion Lawlor [Wed, 20 Oct 2004 02:57:23 +0000 (02:57 +0000)]
Allow IDXL_Side::add to be used to add new communication
partners, in addition to simple nodes.  This is needed by
FEM to upload a new IDXL list from outside.

17 years agoa quick fix (may have better solution - when fortran name has no score, in fact,...
Gengbin Zheng [Tue, 19 Oct 2004 21:52:56 +0000 (21:52 +0000)]
a quick fix (may have better solution - when fortran name has no score, in fact, driver() is choosen in fortran code which happen to conflict with the one defined in compat_driver.c. Simply skip the driver definition in case name is no scroe here.

17 years agopassing CMK_SHARED_SUF into making loibqt.so
Gengbin Zheng [Tue, 19 Oct 2004 18:49:23 +0000 (18:49 +0000)]
passing CMK_SHARED_SUF into making loibqt.so

17 years agoMoved -Dcompile out of OPTS and onto the appropriate lines so we can build without...
Terry L. Wilmarth [Tue, 19 Oct 2004 02:04:22 +0000 (02:04 +0000)]
Moved -Dcompile out of OPTS and onto the appropriate lines so we can build without -g and with -O for a change!!! Augh!

17 years agoSequential should not be the default!!! Augh!!!
Terry L. Wilmarth [Tue, 19 Oct 2004 02:03:03 +0000 (02:03 +0000)]
Sequential should not be the default!!! Augh!!!

17 years agoset up for hisim runs
Terry L. Wilmarth [Tue, 19 Oct 2004 01:57:17 +0000 (01:57 +0000)]
set up for hisim runs

17 years agoadd includes for math.h
Gengbin Zheng [Mon, 18 Oct 2004 18:29:16 +0000 (18:29 +0000)]
add includes for math.h

17 years agoturing off sorting message by timestamp in queue when not in timestamp correction...
Gengbin Zheng [Mon, 18 Oct 2004 06:25:36 +0000 (06:25 +0000)]
turing off sorting message by timestamp in queue when not in timestamp correction mode. This is for comparison of the prediction with and without timestamp correction.

17 years agofixed a bug in generating bgtimelog that has no dependence at all, in which case...
Gengbin Zheng [Mon, 18 Oct 2004 05:58:20 +0000 (05:58 +0000)]
fixed a bug in generating bgtimelog that has no dependence at all, in which case the event can float in timestamp correction.

17 years agoerrot check for BgLoadTraceSummary
Gengbin Zheng [Mon, 18 Oct 2004 05:55:09 +0000 (05:55 +0000)]
errot check for BgLoadTraceSummary

17 years agoadded error checking for BgLoadTraceSummary
Gengbin Zheng [Mon, 18 Oct 2004 05:43:24 +0000 (05:43 +0000)]
added error checking for BgLoadTraceSummary

17 years agowith a minor bug, when netsim off, turn of BgElapse of cpu time.
Gengbin Zheng [Mon, 18 Oct 2004 05:34:22 +0000 (05:34 +0000)]
with a minor bug, when netsim off, turn of BgElapse of cpu time.