charm.git
2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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 years 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 years 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 years 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 years 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 years agoCleanup cmitls 57/4957/6
Evan Ramos [Mon, 18 Feb 2019 19:22:54 +0000 (13:22 -0600)]
Cleanup cmitls

Change-Id: Ibf37d137a42cc5a262da4324490aeb2dab418ede

2 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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 years 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

2 years agoDocumentation #1302: Explain how to pass arbitrary arguments to mpiexec via charmrun 72/4872/2
Evan Ramos [Wed, 19 Dec 2018 20:15:51 +0000 (14:15 -0600)]
Documentation #1302: Explain how to pass arbitrary arguments to mpiexec via charmrun

Change-Id: Ic5283c461e4ee3984a4e19a576155171504c7367

2 years agoRemove unused previous ZC EM API code that is causing compilation errors 70/4870/2
Nitin Bhat [Wed, 19 Dec 2018 17:36:30 +0000 (09:36 -0800)]
Remove unused previous ZC EM API code that is causing compilation errors

This commit fixes the gni-cray{xc,xe} autobuild failures.

Change-Id: Ie809de6ca8bfc62593d768544b20208c22465f92

2 years agosupport: handle file rename s/convcore.c/convcore.C/ 51/4851/2
Eric Bohm [Thu, 6 Dec 2018 21:26:37 +0000 (15:26 -0600)]
support: handle file rename s/convcore.c/convcore.C/

Change-Id: If4bdbf59975e0d6d12d44a5717c982044965f88a

2 years agoCleanup #1980: Remove old RDMA API (CkDirect/CmiDirect) from charm and converse 03/4603/9
Nitin Bhat [Fri, 21 Sep 2018 19:47:36 +0000 (19:47 +0000)]
Cleanup #1980: Remove old RDMA API (CkDirect/CmiDirect) from charm and converse

Change-Id: Ic29c5e12d1b802e16be59def2c834285ca98c4b7

2 years agoCleanup #1980: Remove old RDMA API from Converse, netlrts & verbs 62/4662/4
Nitin Bhat [Mon, 8 Oct 2018 16:57:37 +0000 (12:57 -0400)]
Cleanup #1980: Remove old RDMA API from Converse, netlrts & verbs

This patch removes conv-onesided.{h,c} and its dependencies

Change-Id: Ie5449c6d930a6d55f4d6234eac01238bd2bf60c8