charm.git
54 min agogpu: Fix SMP process to GPU mapping 21/5021/4 charm github/charm
Michael Robson [Thu, 14 Mar 2019 19:10:32 +0000 (12:10 -0700)]
gpu: Fix SMP process to GPU mapping

This patch preserves the round robin ordering of non-smp mode
while ensuring that separate SMP processes are mapped to distinct
GPUs, if they're available. Further work needs to be done to enable
topology and locality aware mapping and user sepcification.

Change-Id: Ief8d89d37bdffbbeae20608f75ec29afe3027ca8

19 hours agoDocumentation: fix the formatting of netfem's rst manual 51/4951/6
Sam White [Thu, 14 Feb 2019 19:44:05 +0000 (13:44 -0600)]
Documentation: fix the formatting of netfem's rst manual

Co-authored-by: Evan Ramos <evan@hpccharm.com>
Change-Id: I483028e9dd7e8b4dc66d1ee0821e46406501f712

19 hours agoDocumentation #1777: Document message types in Charm++ message handler code 22/5022/4
Nitin Bhat [Fri, 15 Mar 2019 14:49:22 +0000 (09:49 -0500)]
Documentation #1777: Document message types in Charm++ message handler code

Change-Id: Idf60bfd65f3bd74e1037aed72e6449284383a304

21 hours agoUpdate README and charmc year from 2018 to 2019 25/5025/2
Ronak Buch [Mon, 18 Mar 2019 19:01:50 +0000 (14:01 -0500)]
Update README and charmc year from 2018 to 2019

Change-Id: Ib0bf66c75b614c79338ae9a4e2a22e16e579ceba

2 days agoRemove trailing spaces in smart-build.pl 23/5023/1
Jaemin Choi [Sat, 16 Mar 2019 21:54:17 +0000 (17:54 -0400)]
Remove trailing spaces in smart-build.pl

Change-Id: I1fd88d0d35679b717f0352eaed263dd004694170

4 days agoROMIO: Fix configure step portably 20/5020/4
Evan Ramos [Thu, 14 Mar 2019 17:24:09 +0000 (12:24 -0500)]
ROMIO: Fix configure step portably

Simple environment tests will be compiled as standalone binaries, and
MPI tests will be compiled with AMPI.

Revert "AMPI ROMIO: clean up configure output"

This reverts commit 119c2dec7477755f76c01d49cbc375455393a43e.

Partially revert "ROMIO: add "include mpi.h" to configure tests"

This reverts commit 0bc6c316da9c9d20cbdde8a053a95c32278aeb91.

Change-Id: I107878a6d7875abef419d7263414fb75ccc65904

4 days agoFixed getPETopoTreeEdges forming tree of logical nodes instead of PEs 14/5014/3
Juan Galvez [Wed, 13 Mar 2019 16:33:49 +0000 (11:33 -0500)]
Fixed getPETopoTreeEdges forming tree of logical nodes instead of PEs

Change-Id: I3528e963bac2b7b4ea81ffd6162c2841d4f15d21

4 days agoRoute ampif77 and ampif90 through ampiCC, factoring out duplicated code 87/4787/8
Evan Ramos [Wed, 7 Nov 2018 22:29:39 +0000 (16:29 -0600)]
Route ampif77 and ampif90 through ampiCC, factoring out duplicated code

Change-Id: I89430b1833d0cda8d3875e6b6a2142158701b3c4

5 days agoUpdate LZ4 to 1.8.3 15/5015/2
Evan Ramos [Wed, 13 Mar 2019 18:05:19 +0000 (13:05 -0500)]
Update LZ4 to 1.8.3

Change-Id: I741d1d2cbb25ef47930bafd868948c750ea80377

5 days agoFix CkExit for user driven interop mode 17/5017/3
Eric Mikida [Wed, 13 Mar 2019 19:18:51 +0000 (15:18 -0400)]
Fix CkExit for user driven interop mode

Change 4219 added the capability for CkExit to accept exit codes, but commented
out lines which enabled user driven mode to call the actual CkExit. This adds
those lines back, but updates them to point to the new CkExit macro accepting
zero arguments.

Change-Id: I805228a056f6485e4cc7c01798e2fce49f1084c5

6 days agoExpose CmiNumPhysicalNodes as CkNumPhysicalNodes to the user 04/5004/2
Jaemin Choi [Wed, 6 Mar 2019 23:18:42 +0000 (18:18 -0500)]
Expose CmiNumPhysicalNodes as CkNumPhysicalNodes to the user

Change-Id: I5c935a1e29394e9391e69daf27137e1aa97a532d

6 days agoClean up btree code in isomalloc.C 00/5000/7
Evan Ramos [Mon, 4 Mar 2019 17:32:01 +0000 (11:32 -0600)]
Clean up btree code in isomalloc.C

Change-Id: Ia3917ea89d584aaa1a19afbf6df329fb31dff3a8

7 days agoRemove dependency generation on 'make clean' in xarraySection/Makefile 07/5007/4
Kavitha Chandrasekar [Thu, 7 Mar 2019 20:23:20 +0000 (14:23 -0600)]
Remove dependency generation on 'make clean' in xarraySection/Makefile

This patch fixes the error "Compiler not generating 64 bit binary, please check compiler flags."
generated on make clean in tmp directory.

Change-Id: Iacd6eafd69e8ff8aa353faefadf9a439c6b2ea25

8 days agoAMPI: Fix stack-uses-after-scope in reductions 06/5006/3
Evan Ramos [Thu, 7 Mar 2019 20:16:46 +0000 (14:16 -0600)]
AMPI: Fix stack-uses-after-scope in reductions

Change-Id: I2e3d865735707086483d1c772c76b13a0e234585

10 days agoFix an issue where turning off manual LB breaks AtSync 99/4999/2
Eric Mikida [Mon, 4 Mar 2019 21:32:59 +0000 (16:32 -0500)]
Fix an issue where turning off manual LB breaks AtSync

The problem previously was that when manual LB is on, all check-ins to the
barrier (including from the batsyncer) were entirely ignored. So if then manual
LB was turned off, those calls were lost forever and the barrier would never be
satisfied. This change preserves the calls to the barrier, but keeps the barrier
off until manual LB is turned off.

Change-Id: I0738abcf07af4bc922d73cda40a4c8bf3ddd676b

10 days agoAdded 2 missing function declarations (for charm4py) to charm.h 09/5009/2
Juan Galvez [Fri, 8 Mar 2019 15:12:41 +0000 (09:12 -0600)]
Added 2 missing function declarations (for charm4py) to charm.h

Change-Id: I0046978f6dbb3bff59809ef41e89f23a791cb6bc

10 days agoDoc: remove Latex manual 91/4891/6
Matthias Diener [Fri, 11 Jan 2019 21:08:08 +0000 (15:08 -0600)]
Doc: remove Latex manual

Change-Id: Id62907bed56a3fe583425f45559a139536d40c04

11 days agoAMPI ROMIO: clean up configure output 02/5002/2
Sam White [Tue, 5 Mar 2019 20:48:01 +0000 (14:48 -0600)]
AMPI ROMIO: clean up configure output

Change-Id: Ie7275d156d3e24a02e800acd7749547ca40e56a2

12 days agodoc: Corrections to Converse Extensions (Convext) manual 03/5003/1
Michael Robson [Mon, 25 Feb 2019 19:15:09 +0000 (13:15 -0600)]
doc: Corrections to Converse Extensions (Convext) manual

Change-Id: I095dd4956b53ba235f60d79da12912a669ac0f0b

2 weeks agoAdd hello load balancing example with GreedyRefineLB 86/4986/8
Jaemin Choi [Wed, 27 Feb 2019 23:50:30 +0000 (18:50 -0500)]
Add hello load balancing example with GreedyRefineLB

Chares on latter half of the PEs busywait for one second,
which results in migration to the lower half of the PEs.

Change-Id: I20a2a62331c5c873005b500d6c7fa1c65d793d56

2 weeks agonm_globals: cleanup, filter unnecessary stuff 94/4994/2
Matthias Diener [Thu, 28 Feb 2019 23:20:58 +0000 (17:20 -0600)]
nm_globals: cleanup, filter unnecessary stuff

Change-Id: Iec814344e3c6f259d280748f66482dd660401b18

2 weeks agoFix Windows build failure in cmitls 95/4995/1
Evan Ramos [Fri, 1 Mar 2019 22:15:37 +0000 (16:15 -0600)]
Fix Windows build failure in cmitls

Change-Id: Ia656d85ee82472b2ed2855c78817bfa1fa862389

2 weeks agoImplement tlsglobals support on macOS 58/4958/10
Evan Ramos [Mon, 18 Feb 2019 19:41:16 +0000 (13:41 -0600)]
Implement tlsglobals support on macOS

Change-Id: Ic35df8a8712e91a5522014b30fc5afbeed4814bd

2 weeks agoCleanup cmitls 57/4957/6
Evan Ramos [Mon, 18 Feb 2019 19:22:54 +0000 (13:22 -0600)]
Cleanup cmitls

Change-Id: Ibf37d137a42cc5a262da4324490aeb2dab418ede

2 weeks agoRename cmitls.c to cmitls.C 73/4973/5
Evan Ramos [Fri, 22 Feb 2019 19:57:59 +0000 (13:57 -0600)]
Rename cmitls.c to cmitls.C

Change-Id: I7e41a7ecb89212afea0a6f227295542ca14940b5

2 weeks agoConverse: conditionalize CsdPeriodic, idle tracing, and interop 04/4104/16
Sam White [Wed, 2 May 2018 23:02:31 +0000 (18:02 -0500)]
Converse: conditionalize CsdPeriodic, idle tracing, and interop

If users build with '-DCSD_NO_IDLE_TRACING=1 -DCSD_NO_PERIODIC=1
-DCMK_NO_INTEROP=1', the Converse scheduling loop is simplified, and
overhead from calling timers (for idle tracing and for periodic
callbacks) is eliminated. However, defining these breaks tracing and
load balancing and other features. Also semi-related to these options
is '-DCMK_NO_MSG_PRIOS=1' which is already supported in Converse.

Change-Id: Id0409b27a0bfed48811418484e4e45ae4818d6e3

2 weeks agoDoc: corrections to sections 1.2.4-1.2.6 79/4979/2
Eric Bohm [Mon, 25 Feb 2019 23:07:11 +0000 (17:07 -0600)]
Doc: corrections to sections 1.2.4-1.2.6

Change-Id: I8c64df87825bf3f68764cb6e3f823a7259035ec9

2 weeks agoAMPI Doc: Minor fixes to code examples 85/4985/2
Nitin Bhat [Wed, 27 Feb 2019 22:57:03 +0000 (16:57 -0600)]
AMPI Doc: Minor fixes to code examples

Change-Id: Iac74fc588835626510287f8063f18b246fcc5ef2

2 weeks agoAMPI: Decrement MPI_TAG_UB and other keyvals by 1 84/4984/2
Nitin Bhat [Wed, 27 Feb 2019 22:31:59 +0000 (17:31 -0500)]
AMPI: Decrement MPI_TAG_UB and other keyvals by 1

Previously, both MPI_KEYVAL_INVALID and MPI_TAG_UB were defined
to be equal to -1 and this caused an error in AMPI_Comm_get_attr
calls. This patch modifies MPI_TAG_UB to -2 and updates other
keyvals accordingly to avoid that error.

Change-Id: Ie4e019b0d44e80b1b3a7322ea35bf3a14cdff26d

2 weeks agodoc: corrections to bigsim rst manual 83/4983/2
Kavitha Chandrasekar [Wed, 27 Feb 2019 22:18:33 +0000 (16:18 -0600)]
doc: corrections to bigsim rst manual

Change-Id: Id7be1c3c26cb56494532fbf25bd0191483ebd655

2 weeks agocharmxi: add option to only print module names 90/4990/4
Matthias Diener [Thu, 28 Feb 2019 18:11:43 +0000 (12:11 -0600)]
charmxi: add option to only print module names

The -module-name option prints each defined module in a .ci file,
one module per line.

Change-Id: I2b4da1b1e2dcf95bd30ea37d96d428c0b2ad3538

2 weeks agoDoc: corrections to Projections rst manual 88/4988/2
Ronak Buch [Thu, 28 Feb 2019 09:38:00 +0000 (03:38 -0600)]
Doc: corrections to Projections rst manual

Change-Id: I369636a397f7da14275afa5f10040fc008e75ff0

2 weeks agoClean up macOS deployment target handling 87/4987/1
Evan Ramos [Thu, 28 Feb 2019 01:56:44 +0000 (19:56 -0600)]
Clean up macOS deployment target handling

Setting MACOSX_DEPLOYMENT_TARGET=10.7 implies -stdlib=libstdc++, and that was
affecting ChaNGa's configure tests under newer Xcode versions that lack
libstdc++.

We still pass "-mmacosx-version-min=10.7 -stdlib=libc++" to the toolchain,
which is safe.

Change-Id: I4ffa0e049a88665ef81243a5e971455a3ddca746

2 weeks agodoc: add additional links 82/4982/2
Matthias Diener [Tue, 26 Feb 2019 18:22:23 +0000 (12:22 -0600)]
doc: add additional links

Change-Id: Ibee453c97bdea026547b65071f0df18019b6e094

3 weeks agodoc: fix link target 78/4978/1
Matthias Diener [Mon, 25 Feb 2019 23:36:10 +0000 (17:36 -0600)]
doc: fix link target

Change-Id: Ia19ae8ae1d2c985fd37d74564ef4e56d0d11a25d

3 weeks agoDoc: corrections to Charisma rst manual 71/4971/2
Juan Galvez [Fri, 22 Feb 2019 20:32:48 +0000 (14:32 -0600)]
Doc: corrections to Charisma rst manual

Change-Id: I6413643f5d0d0e1fa7fdfbdad947a418233bd631

3 weeks agoCleanup libthreads Makefile rules 70/4970/1
Evan Ramos [Thu, 21 Feb 2019 23:58:39 +0000 (17:58 -0600)]
Cleanup libthreads Makefile rules

Change-Id: I3a8f808872bc5865b57679cf27062adc9e4fff63

3 weeks agoEnable support for building mpi-win-x86_64-gcc 69/4969/1
Evan Ramos [Tue, 7 Aug 2018 18:13:21 +0000 (13:13 -0500)]
Enable support for building mpi-win-x86_64-gcc

This was made possible by commit dea6816d8bc8072b4d4f3dc9dfc7f13c7f2a6088.

Change-Id: Ia9859c4fb530b49d37349522d497d48a5f58d843

3 weeks agoCleanup: Fix -Wwrite-strings warnings in convcore.C on Windows 68/4968/1
Evan Ramos [Thu, 21 Feb 2019 23:59:18 +0000 (17:59 -0600)]
Cleanup: Fix -Wwrite-strings warnings in convcore.C on Windows

Change-Id: I74721fd62c7c8c1d92d35035e09b67c2abfb742d

3 weeks agoDocs: Review Pose 67/4967/2
Nitin Bhat [Thu, 21 Feb 2019 21:33:37 +0000 (15:33 -0600)]
Docs: Review Pose

Change-Id: I289ce9bae40e1047d2147111abd9bd1f685101ff

3 weeks agoDoc: Fixed sections 1.1 - 1.2.3 of the new Charm manual 66/4966/4
Venkatasubrahmanian Narayanan [Thu, 21 Feb 2019 19:35:35 +0000 (13:35 -0600)]
Doc: Fixed sections 1.1 - 1.2.3 of the new Charm manual

Change-Id: I9c523d9e4622e2f9d559a84afe8fcdef6269fdeb

3 weeks agodoc: corrections to sections 1.4 - 1.6.1 53/4953/2
Kavitha Chandrasekar [Thu, 14 Feb 2019 20:29:09 +0000 (14:29 -0600)]
doc: corrections to sections 1.4 - 1.6.1

Change-Id: Icb13d3b32bae8b72fd875a0d7f9052daae430975

3 weeks agodoc: Corrections to IFEM rst manual 63/4963/2
Michael Robson [Tue, 19 Feb 2019 21:23:08 +0000 (15:23 -0600)]
doc: Corrections to IFEM rst manual

Change-Id: I5f7a829b6c06ecf71b159329f815f4d3c9e8cf6a

3 weeks agoROMIO: add "include mpi.h" to configure tests 62/4962/3
Matthias Diener [Tue, 19 Feb 2019 19:06:24 +0000 (13:06 -0600)]
ROMIO: add "include mpi.h" to configure tests

Fixes the build failure with bigsim

Change-Id: I068398e99df530277562cb3f576611e8fdc37344

3 weeks agoFix SMSG_TRY_SEND macro definition to avoid compilation errors 64/4964/1
Nitin Bhat [Tue, 19 Feb 2019 21:17:42 +0000 (13:17 -0800)]
Fix SMSG_TRY_SEND macro definition to avoid compilation errors

The compilation errors are seen for builds where CMK_WITH_STATS
is true (as in non-production debug builds). The errors seen were:

machine.C(1533): error: unrecognized token
              SMSG_SENT_DONE(creation_time,tag)
              ^

machine.C(1533): error: expected an expression
              SMSG_SENT_DONE(creation_time,tag)
              ^

machine.C(1533): error: expected a ";"
              SMSG_SENT_DONE(creation_time,tag)
              ^

Change-Id: If66314c753d3aae3ba384442e71c020a1521781b

4 weeks agoAMPI: Add support for and example of primitive Charm++ interoperation 66/4366/23
Sam White [Tue, 17 Jul 2018 21:10:48 +0000 (16:10 -0500)]
AMPI: Add support for and example of primitive Charm++ interoperation

- Adds a new header ampi-interoperate.h
- Adds a new entry method 'void injectMsg(int size, char buf[size])' to
  the ampi class, for use in sending messages b/w AMPI ranks and chares.
- Adds an example application that uses a Group to interoperate an AMPI
  program with a Charm++ one.

Co-authored-by: Evan Ramos <evan@hpccharm.com>
Change-Id: I58fa26958eb70ca8b9974c6f0ea0e7c0036071c4

4 weeks agoAMPI: Add MPICH automated testing build option "--enable-ampi-mpich-tests" 16/4716/15
Zeran Zhu [Sat, 20 Oct 2018 04:03:52 +0000 (23:03 -0500)]
AMPI: Add MPICH automated testing build option "--enable-ampi-mpich-tests"

Also add AMPI testlists containing all passing and non hanging tests.

See tests/ampi/mpich-tests/README.AMPI for details.

Co-authored-by: Evan Ramos <evan@hpccharm.com>
Change-Id: Ibcd73f20339ff09c44f9feb1797fb9abb1dc9804

4 weeks agoBug #2037: Execute callbacks to inline EMs in an inline manner 57/4857/5
Nitin Bhat [Mon, 10 Dec 2018 22:42:15 +0000 (16:42 -0600)]
Bug #2037: Execute callbacks to inline EMs in an inline manner

Previously, callbacks targeting inline entry methods had to be
declared with a 'true' value for the doInline variable to specify
inline execution. With this fix, callbacks execute inline when
the target is an inline entry method. The CkCallback constructors
still have the 'doInline' variable, now called 'forceInline', to
preserve existing behavior.

Co-authored-by: Evan Ramos <evan@hpccharm.com>
Change-Id: I2b21c7848b2428a367e79cdbaa9424f929c27ee1

4 weeks agoROMIO: provide overview of privatization done for AMPI 55/4955/4
Matthias Diener [Fri, 15 Feb 2019 16:18:54 +0000 (08:18 -0800)]
ROMIO: provide overview of privatization done for AMPI

Change-Id: Idbf7b6b5ba8334b3a8e3c876e83261a56f91043c

4 weeks agoROMIO: fix variable declarations 54/4954/5
Matthias Diener [Fri, 15 Feb 2019 14:37:01 +0000 (06:37 -0800)]
ROMIO: fix variable declarations

These were missed in the update to mpich2-1.4.1p1.

Change-Id: If61c77691d7a9492467aabf296c8e3c6512f573b

4 weeks agoAMPI: update nm_globals.sh script 36/4936/5
Matthias Diener [Fri, 1 Feb 2019 23:29:00 +0000 (17:29 -0600)]
AMPI: update nm_globals.sh script

- Support GNU nm and LLVM nm (darwin)
- Only show global, writable symbols
- Point to manual when such symbols are found

Change-Id: I9658a6b152da2579f89410ddb6908896abfa4f50

4 weeks agoAMPI: MPICH test cases printing "No Errors" 78/4378/5
Shane Neary [Thu, 19 Jul 2018 16:29:05 +0000 (11:29 -0500)]
AMPI: MPICH test cases printing "No Errors"

Following test cases never printed "No Errors" even if all the
test cases pass since it was printed after MPI_Finalize();

Change-Id: I114255dcbbbc8a54c1698494a81db1a03f8b00ad

4 weeks agoSupport: Add emacs syntax highlighting howto 92/4892/2
Eric Bohm [Fri, 11 Jan 2019 21:17:36 +0000 (15:17 -0600)]
Support: Add emacs syntax highlighting howto

Provide hook for support of c++ highlighting in emacs by
triggering c++-mode on ci files.

Change-Id: I3d57a47322774750829fe261932aecf68326fc0d

4 weeks agoResolve build failure due to inttypes.h inclusion in hrctimer.h 52/4952/1
Evan Ramos [Thu, 14 Feb 2019 20:23:58 +0000 (14:23 -0600)]
Resolve build failure due to inttypes.h inclusion in hrctimer.h

Change-Id: I4ae37d943be93c0ec0c112f5c00c8ccdce20dedc

4 weeks agoRemove extraneous Eclipse settings 33/1333/3
Ronak Buch [Wed, 3 Aug 2016 15:37:39 +0000 (10:37 -0500)]
Remove extraneous Eclipse settings

Change-Id: Ibdd8115e9fafc1ef2df5035976ae710c8bc24d39

4 weeks agoFix bug and restructure CUDA stencil2d example 24/4824/8
Jaemin Choi [Mon, 26 Nov 2018 22:41:02 +0000 (17:41 -0500)]
Fix bug and restructure CUDA stencil2d example

There was a bug where the ghost areas were updated only for the first
iteration in the CPU version of the code. Another small bug was that
the CUDA allocated memory was being freed in the CPU code instead of
HAPI.

Change-Id: I39d6eebd8c9ab9473fb62935dffedae1b4340720

4 weeks agocharmxi: Throw an error when declaring a constructor as [threaded] 48/4948/3
Evan Ramos [Tue, 12 Feb 2019 20:55:41 +0000 (14:55 -0600)]
charmxi: Throw an error when declaring a constructor as [threaded]

Change-Id: I4eb31f4178200a1fbdcfc08d429ba4028dc495ea

4 weeks agoDoc: corrections and improvements to sections 1.3.9 - 1.3.15 46/4946/3
Juan Galvez [Fri, 8 Feb 2019 20:02:39 +0000 (14:02 -0600)]
Doc: corrections and improvements to sections 1.3.9 - 1.3.15

Change-Id: I944a0a49a0cfe9fa14cd0468f883565d041cf133

4 weeks agodoc: README with doc build instructions & RST overview 05/4905/7
Matthias Diener [Thu, 17 Jan 2019 21:41:05 +0000 (15:41 -0600)]
doc: README with doc build instructions & RST overview

Change-Id: I49df52d6ff1bc0a28b5ae031abac2fe7b4d707cc

4 weeks agoAMPI #952: update ROMIO to MPICH2-1.4.1p1 33/4933/17
Matthias Diener [Wed, 16 Jan 2019 19:06:52 +0000 (13:06 -0600)]
AMPI #952: update ROMIO to MPICH2-1.4.1p1

This is the most recent version of ROMIO that
works with AMPI. Newer versions require the
external32 data representation.

Change-Id: I53ad12d4a988b225aaa8a7e9b9a213d36bc3d7cf

4 weeks agoFeature #1983: Made CmiWallTimer monotonic in the common case 05/4705/14
VenkatN [Wed, 17 Oct 2018 16:38:23 +0000 (11:38 -0500)]
Feature #1983: Made CmiWallTimer monotonic in the common case

Reimplemented one of CmiWallTimer's commonly used code branches to use
the highest resolution steady clock from C++11 instead of gettimeofday.
The new implementation also stores the epoch in an integral time_point,
and uses the starting time of the program as the epoch to reduce the
internal floating-point error.

Change-Id: I4ad82339bda69b9a17ba408ed824d1dea36cdf74

4 weeks agoZC EM Send API: Combine two methods into one to avoid redundancy 21/4921/4
Nitin Bhat [Thu, 24 Jan 2019 22:05:30 +0000 (16:05 -0600)]
ZC EM Send API: Combine two methods into one to avoid redundancy

Change-Id: I035ee8a6522556db18623dc27bd6117e36f53d0b

5 weeks agoAdded a missing line 42/4942/1
raghavendrak [Thu, 7 Feb 2019 22:43:19 +0000 (16:43 -0600)]
Added a missing line

Change-Id: Ie4380e92769b4abf0d1e60c1562befa5861e3067

6 weeks agoDocumentation #2044: improve callback example 27/4927/6
Sam White [Mon, 28 Jan 2019 20:10:40 +0000 (14:10 -0600)]
Documentation #2044: improve callback example

Change-Id: I335410e9105a396c4f8c42b60bd3df0e402e7877

6 weeks agoFeature #2039: update Boost ULTs to v1.69 28/4928/4
Sam White [Mon, 28 Jan 2019 20:22:56 +0000 (14:22 -0600)]
Feature #2039: update Boost ULTs to v1.69

Change-Id: I656c08e1755510d35b9a25b578e44fd6e3fed740

6 weeks agoCleanup: Address -Wunused-result warnings 31/4931/1
Evan Ramos [Tue, 29 Jan 2019 21:25:57 +0000 (15:25 -0600)]
Cleanup: Address -Wunused-result warnings

Change-Id: I405351337319636472a288938ed4a51318919b25

6 weeks agoCleanup: Address -Wformat-overflow warnings 30/4930/1
Evan Ramos [Tue, 29 Jan 2019 21:02:35 +0000 (15:02 -0600)]
Cleanup: Address -Wformat-overflow warnings

Change-Id: I1bde0b70633514e4480901ba076f277150a14cbf

7 weeks agoBug #2049: allow virtual inheritance from multiple PUPable base classes 26/4926/2
Sam White [Mon, 28 Jan 2019 18:43:42 +0000 (12:43 -0600)]
Bug #2049: allow virtual inheritance from multiple PUPable base classes

Change-Id: I7ed18e50c1abf386a7e414762e5545dfc0c61b8a

7 weeks agodoc: Syntax fixes to Converse and Charm++ Libraries section 17/4917/2
Jaemin Choi [Tue, 22 Jan 2019 22:38:19 +0000 (17:38 -0500)]
doc: Syntax fixes to Converse and Charm++ Libraries section

Change-Id: I9a3d815e7257c4155410ccacfb137c8e3562c53d

7 weeks agodoc: Syntax changes to Sections 1.3.3 - 1.3.8 15/4915/2
Jaemin Choi [Tue, 22 Jan 2019 22:00:53 +0000 (17:00 -0500)]
doc: Syntax changes to Sections 1.3.3 - 1.3.8

Change-Id: If694fc9c2f55c886a6dd3074df921a6d82c46fcf

7 weeks agobuild: Don't create the lib_so folder if --build-shared is not specified 95/4895/5
Evan Ramos [Fri, 11 Jan 2019 21:44:33 +0000 (15:44 -0600)]
build: Don't create the lib_so folder if --build-shared is not specified

Change-Id: Ic04335dff8ab7db8435217b71054a03e8e9dbe45

7 weeks agodoc: review faq 20/4920/1
Matthias Diener [Wed, 23 Jan 2019 21:57:09 +0000 (15:57 -0600)]
doc: review faq

Change-Id: I61052ef603110c4e1a98d8c361e496bf44e2a285

7 weeks agodoc: tcharm review 19/4919/1
Matthias Diener [Wed, 23 Jan 2019 18:39:22 +0000 (12:39 -0600)]
doc: tcharm review

Change-Id: I1205aa39b6b5819735ade33bd41ce03a8ddd31f6

7 weeks agoDocs: Review Jade 16/4916/3
Nitin Bhat [Tue, 22 Jan 2019 22:18:32 +0000 (16:18 -0600)]
Docs: Review Jade

Change-Id: Iba2fc42f653df97144cd5c607e0e2a415d57bd15

7 weeks agodoc: fix section reference 14/4914/2
Matthias Diener [Tue, 22 Jan 2019 21:34:13 +0000 (15:34 -0600)]
doc: fix section reference

Change-Id: I917b3d799613dda8c36f9ab8c35ea37aa3b32203

7 weeks agoDocs: Review Converse 07/4907/4
Nitin Bhat [Thu, 17 Jan 2019 22:59:57 +0000 (16:59 -0600)]
Docs: Review Converse

Change-Id: I46b87a6ecbbc9070d2cf28625142ff096005a0ca

7 weeks agoDocs: Review mblock 13/4913/2
Evan Ramos [Tue, 22 Jan 2019 00:03:12 +0000 (18:03 -0600)]
Docs: Review mblock

Change-Id: I557c4f0e9897f8bc1f6e11ab3f0a751d12f7017d

7 weeks agoDocs: Review debugger 12/4912/2
Evan Ramos [Mon, 21 Jan 2019 23:37:44 +0000 (17:37 -0600)]
Docs: Review debugger

Change-Id: I7be5ff0bc0ea2d27b850a9d0e518b8cc76f16716

7 weeks agoDocs: Review f90charm 11/4911/2
Evan Ramos [Mon, 21 Jan 2019 23:15:57 +0000 (17:15 -0600)]
Docs: Review f90charm

Change-Id: I04f4ae1dd0dab6160ac430e93bbf5e7fb90c1df5

8 weeks agodoc: add license 04/4904/3
Matthias Diener [Thu, 17 Jan 2019 20:27:00 +0000 (14:27 -0600)]
doc: add license

Change-Id: Ia56fddf226c5cb8c9ce33bfa538fce1d866f622c

8 weeks agoCkloop-hybrid: add authorship 06/4906/4
Matthias Diener [Thu, 17 Jan 2019 21:45:17 +0000 (15:45 -0600)]
Ckloop-hybrid: add authorship

Change-Id: I412f51ff93491656e58ba27471aafd5827faea01

2 months agocharmrun: do not show help on -h|-?|--help 01/4901/2
Matthias Diener [Wed, 16 Jan 2019 21:16:51 +0000 (15:16 -0600)]
charmrun: do not show help on -h|-?|--help

These flags are undocumented and interfere with the application in case
it uses -h etc. for something else.
Help is still shown on ++help.

Change-Id: I5aed5492632f5d21127c514e434a136d3d663067

2 months agoAdd hello example for basic Kokkos interoperability 35/4735/3
Jaemin Choi [Fri, 26 Oct 2018 03:34:31 +0000 (23:34 -0400)]
Add hello example for basic Kokkos interoperability

Change-Id: I6d1b99178bde1da819ab36be3d5b81a0eda2b703

2 months agoUpdate hwloc to v1.11.12 97/4897/3
Evan Ramos [Fri, 11 Jan 2019 20:18:37 +0000 (14:18 -0600)]
Update hwloc to v1.11.12

Change-Id: Ia3acd06a3f740c87a95133c002852c6a8bdc86c3

2 months agobuild: Fix duplication of compiler flags during hwloc configure setup 96/4896/3
Evan Ramos [Fri, 11 Jan 2019 21:45:11 +0000 (15:45 -0600)]
build: Fix duplication of compiler flags during hwloc configure setup

Change-Id: I25ab465476ae60fa32829c86712d491be6f5627d

2 months agobuild: Fix --no-build-shared option to properly cancel --build-shared 94/4894/2
Evan Ramos [Fri, 11 Jan 2019 21:43:18 +0000 (15:43 -0600)]
build: Fix --no-build-shared option to properly cancel --build-shared

Change-Id: I005f87a658d964a193f464f85e9058d5436761a4

2 months agobuild #1968: Don't build hwloc or QuickThreads shared objects when --build-shared... 93/4893/2
Evan Ramos [Fri, 11 Jan 2019 20:27:03 +0000 (14:27 -0600)]
build #1968: Don't build hwloc or QuickThreads shared objects when --build-shared is not specified

Change-Id: Iff678d7b53017e754be867db95535d41ac6dd86f

2 months agoCleanup: Replace all uses of CDECL and FDECL with CLINKAGE and FLINKAGE 85/4885/5
Evan Ramos [Fri, 4 Jan 2019 22:49:35 +0000 (16:49 -0600)]
Cleanup: Replace all uses of CDECL and FDECL with CLINKAGE and FLINKAGE

Change-Id: I819b937eea1ae2a0fa65d2f860e27a9cdd988788

2 months agocharm4py: support setting usesAtSync at array element creation 89/4889/2
Juan Galvez [Fri, 11 Jan 2019 17:43:41 +0000 (11:43 -0600)]
charm4py: support setting usesAtSync at array element creation

Change-Id: Id538896acc0bb84e5215dc23a46289cc9c65c701

2 months agoDoc: Converting latex to rst 24/3624/20
Matthias Diener [Mon, 17 Dec 2018 00:14:19 +0000 (18:14 -0600)]
Doc: Converting latex to rst

Rendered as HTML:
https://charm-rtd-test.readthedocs.io/en/latest/

Rendered as PDF:
https://media.readthedocs.org/pdf/charm-rtd-test/latest/charm-rtd-test.pdf

Wiki with more infos:
https://github.com/UIUC-PPL/charm/wiki/RST-manual

Change-Id: I5c1a04cd4d5dc90da4e62c8e49e3d8a19e40ac3b

2 months agoBug #2026: Improve handling of shared objects as linker input to charmc 84/4884/2
Evan Ramos [Fri, 4 Jan 2019 21:38:41 +0000 (15:38 -0600)]
Bug #2026: Improve handling of shared objects as linker input to charmc

Change-Id: I7f90b50432717acdc8428457075782c92d549102

2 months agoAMPI: add deprecated MPI_COMBINER_{HVECTOR_HINDEXED,STRUCT}_INTEGER 88/4888/1
Matthias Diener [Tue, 8 Jan 2019 21:44:25 +0000 (15:44 -0600)]
AMPI: add deprecated MPI_COMBINER_{HVECTOR_HINDEXED,STRUCT}_INTEGER

Necessary for newer ROMIO versions.

Change-Id: I9dec2440a9a746b3e99b29fd0eaa1cf5fc819e63

2 months agoResolve unknown option warnings from GCC due to -Wunused-private-field 81/4881/1
Evan Ramos [Thu, 3 Jan 2019 22:38:52 +0000 (16:38 -0600)]
Resolve unknown option warnings from GCC due to -Wunused-private-field

Change-Id: Id9e4926a8b0897fb6986ee907cbc15a8490426ac

2 months agoCleanup various sources of compiler warnings 78/4878/3
Sam White [Thu, 20 Dec 2018 22:07:23 +0000 (16:07 -0600)]
Cleanup various sources of compiler warnings

Change-Id: I3332663a0c0ac1f2df2af3cbc2ec3a9d30337163

2 months agoShrink size of cond-conds members since CcdUSERMAX defines the max value 77/4877/2
Sam White [Thu, 20 Dec 2018 18:54:29 +0000 (12:54 -0600)]
Shrink size of cond-conds members since CcdUSERMAX defines the max value

Change-Id: I0d6b8821464000d3b9c19aa62128b57039fa34e7

2 months agoRemove unused member variables from ckhashtable that caused compiler warnings 76/4876/2
Sam White [Thu, 20 Dec 2018 18:52:30 +0000 (12:52 -0600)]
Remove unused member variables from ckhashtable that caused compiler warnings

Change-Id: I018dd19193c812371692226a227cf93a40dc7154

2 months agoCleanup: silence compiler warnings about unused member variables 75/4875/2
Sam White [Thu, 20 Dec 2018 18:51:51 +0000 (12:51 -0600)]
Cleanup: silence compiler warnings about unused member variables

Change-Id: I969f74c27e0a8750c15180605227486c32bbf6ba

2 months agoFix compilation of pup_stl.h by including <random> 74/4874/1
Sam White [Thu, 20 Dec 2018 18:50:41 +0000 (12:50 -0600)]
Fix compilation of pup_stl.h by including <random>

Change-Id: I6a668d436df68537ca5fc5c16fefeed3231b6a37

2 months agoPUPable Random Number Engines 12/4612/4
Nischay Singh [Mon, 24 Sep 2018 21:06:15 +0000 (16:06 -0500)]
PUPable Random Number Engines

C++ 11 provides random number engines and
engine adaptors that are widely used
(presumably in Charm Applications).

This commit adds functionality to PUP
these engines and engine adaptors so that
the user canpreserve the state of these
engines and engine adaptors during the
migration of chares.

The commit makes the following six engines
and engine adaptors in Charm++:

Engines
-linear_congruential_engine(C++11)
-mersenne_twister_engine(C++11)
-subtract_with_carry_engine(C++11)
Engine Adaptors
-discard_block_engine(C++11)
-independent_bits_engine(C++11)
-shuffle_order_engine(C++11)

Read more about these on
https://en.cppreference.com/w/cpp/header/random

Algorithm:
While packing an engine, we extract the
state of the engine (String) and PUP it.
While unpacking, we create a new engine
and feed it the unpacked state (String).

Change-Id: I5a670c92f579ef0a1b807266a2c55dbbe30fc7be

2 months agoCleanup #2028: replace usage of deprecated std::mem_fun with lambdas 97/4797/11
Sam White [Fri, 9 Nov 2018 00:24:57 +0000 (18:24 -0600)]
Cleanup #2028: replace usage of deprecated std::mem_fun with lambdas

This change enables building Charm with -std=c++17.

Co-authored-by: Evan Ramos <evan@hpccharm.com>
Change-Id: Iccde00c7dee21335d56cd3e3d136da95a8b71965