Gilles Gouaillardet
5932287cef
datatype/[un]pack_external[_size]: move subroutines down to ompi/datatype
...
so it can be directly used by test/datatype/external32
2016-03-30 13:01:33 +09:00
Gilles Gouaillardet
63eec552b2
datatype/external32: fix test
2016-03-30 11:40:18 +09:00
Gilles Gouaillardet
0f9ddbe02e
test/datatype/external32: make it a non MPI application
2016-03-30 11:40:18 +09:00
George Bosilca
383b78d8a6
Validate the packed data
...
Use htonl and htons to check that the packed data is
indeed the correct data.
2016-03-30 11:40:18 +09:00
George Bosilca
8da67f5ef8
Add a test to validate the support for external32.
2016-03-30 11:40:18 +09:00
Ralph Castain
06f0322f7b
Enable the ability to make tarballs on the Mac tarball by ensuring that "make distclean" completely cleans up the test directories
...
Add one more thing to be cleaned
2015-11-24 21:14:38 -08:00
Jeff Squyres
447eb4238a
unpack_ooo: fix empty initializer
2015-08-29 04:57:02 -07:00
Jeff Squyres
ea935df632
test Makefile.am: fix flags
...
WRAPPER_EXTRA_LDFLAGS is both no longer used, and even if we fixed to
use the new names (i.e., <PACKAGE>_WRAPPER_EXTRA_LDFLAGS), it contains
a token that will not be understandable in Makefile.ams: @{libdir}.
Hence, update all instances to use <PACKAGE>_PKG_CONFIG_LDFLAGS, which
does not contain the @{libdir} token. See comment in
opal_setup_wrappers.m4 for an explanation.
2015-08-25 14:04:51 -07:00
Jeff Squyres
42b9a966d6
Makefile.am's: if calling OPAL functions, must link to it
...
On some OSs (e.g., Ubuntu 14.04.2 LTS), the linker is configured such
that the symbols of library dependencies are not available to the
application. Hence, we need to explicitly list such dependencies when
creating the executable.
For this commit, these tests are use OPAL function calls, so we must
explicitly link in libopen-pal.so.
2015-08-14 07:51:55 -07:00
Nathan Hjelm
ee36d813dc
Merge pull request #657 from hjelmn/c99
...
more c99 updates
2015-06-25 11:21:09 -06:00
Nathan Hjelm
4d92c9989e
more c99 updates
...
This commit does two things. It removes checks for C99 required
headers (stdlib.h, string.h, signal.h, etc). Additionally it removes
definitions for required C99 types (intptr_t, int64_t, int32_t, etc).
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
2015-06-25 10:14:13 -06:00
rhc54
1a767ed47c
Merge pull request #654 from rhc54/topic/config
...
Remove internal bool type definitions
2015-06-25 09:10:21 -07:00
Ralph Castain
57b7c44aec
Cleanup the rest of the no-longer-required bool configury
2015-06-24 08:25:49 -07:00
Ralph Castain
869041f770
Purge whitespace from the repo
2015-06-23 20:59:57 -07:00
Gilles Gouaillardet
89882f11bd
rewrite ddt_pack test
...
so make check works without make install
2015-05-07 18:14:32 +09:00
Jeff Squyres
98943d3c8b
test/datatype: move ddt_pack to MPI_CHECKS
...
This still leaves the test disabled (per
b25a7bfe14ea516550c77d4ced84e8d828a6bf0f), but it does still build the
test.
2015-05-02 03:57:19 -07:00
Jeff Squyres
b25a7bfe14
test/datatype: temporarily disable ddt_pack test
...
This test needs to be tweaked to not use MPI_Init (and only use
opal_init_util(), per #568 ). @ggouaillardet can't get to this until
next week sometime, so we're just temporarily disabling it for now.
Fixes #568
2015-05-02 03:53:08 -07:00
George Bosilca
53e9543be4
This test should pass.
2015-04-30 22:51:27 -04:00
George Bosilca
27c3631466
Correctly free the temporary datatypes
2015-04-30 22:51:01 -04:00
George Bosilca
267fdfe435
Add a corner case for struct with multiple predefined types.
...
Cleanup the datatypes once they are not useful.
Other minor fixes.
2015-04-30 22:06:49 -04:00
Gilles Gouaillardet
06ee9f9ddf
enhance test/datatype/ddt_pack
...
* add a simple test with MPI_Type_vector
* add some extra checks : (true)lower_bound and (true)extent
of original and unpacked ddt should match
2015-04-30 15:04:53 +09:00
Gilles Gouaillardet
ed0c48de74
test/datatype/ddt_pack fix
...
unpacking a packed MPI_INT returns MPI_INT32T instead of MPI_INT
2015-04-30 15:04:53 +09:00
George Bosilca
98cca1b6b3
Remove all uninitialized common symbols in the test directory.
2015-04-25 13:54:45 -04:00
Jeff Squyres
4f1139590f
datatypes: trivial spelling fix
...
s/commited/committed/gi
2015-02-27 18:16:01 -08:00
George Bosilca
82c02b471e
Take in acount the lower bound of the data.
2014-12-20 21:28:58 -05:00
George Bosilca
4f9a3bdbab
Correctly compute the size of the needed memory for the datatype tests.
...
Fixes open-mpi/ompi#294 .
2014-12-20 01:30:37 -05:00
George Bosilca
cf3ff3fe58
This was not supposed to be part of the 1895f29 commit.
2014-12-19 09:55:18 -05:00
George Bosilca
1895f29537
Remove all warnings from the datatype tests.
2014-12-18 02:58:21 -05:00
Ralph Castain
91bec7e9dd
Fix some type declarations so make check works for SPARC. Thanks to Paul Hargrove for the report and correction
2014-12-15 06:44:51 -08:00
George Bosilca
8ee501350b
Implement strict validation for the packing/unpacking of the data.
2014-12-02 16:22:18 +09:00
Ralph Castain
53af0f1594
Temporarily turn off a specific datatype test that is preventing the nightly tarball from running
2014-12-01 19:52:37 -08:00
George Bosilca
59b739ee90
Add a resized datatype to the test. Implement generic
...
data corectness for most of the conversion functions.
2014-11-29 19:47:25 -05:00
George Bosilca
ee3d1ed5fd
Add tests for vector type.
2014-11-24 01:52:49 -05:00
Jeff Squyres
01fd96bfa5
Revert "Provide a mechanism by which an upstream project can rename
...
the OPAL and ORTE libraries. This is required by projects such as ORCM
that have their own ORTE and OPAL libraries in order to avoid library
confusion. By renaming their version of the libraries, the OMPI
applications can correctly dynamically load the correct one for their
build."
This reverts commit 63f619f8719fb853d76130d667f228b0a523bd60.
2014-10-22 10:32:11 -07:00
Ralph Castain
63f619f871
Provide a mechanism by which an upstream project can rename the OPAL and ORTE libraries. This is required by projects such as ORCM that have their own ORTE and OPAL libraries in order to avoid library confusion. By renaming their version of the libraries, the OMPI applications can correctly dynamically load the correct one for their build.
2014-10-10 11:39:08 -07:00
Gilles Gouaillardet
90c2f4a10a
Fix unpack_ooo test
...
The test fails on a 32 bits system.
The root cause is a rounding error when testing double numbers.
This commit was SVN r31958.
2014-06-06 07:53:28 +00:00
George Bosilca
40d2c75046
Add a slightly modified version of Gilles test for the
...
irregular packing/unpacking of datatypes.
This commit was SVN r31952.
2014-06-04 18:33:30 +00:00
George Bosilca
ba211d97ef
Remove a double const warning.
...
This commit was SVN r31879.
2014-05-22 06:09:45 +00:00
Jeff Squyres
09f98cb165
Fix a bunch of compiler warnings in the tests, including:
...
* Resolve set-but-not-used issues
* Resolve incorrect const notation (I checked with George first to see
what const notation he actually wanted)
* Comment out unused code (didn't delete it because it's useful
debugging code)
* Resolve int<-->void* casting
* Resolved signed / unsigned comparisons
This commit was SVN r30225.
2014-01-10 13:36:33 +00:00
Jeff Squyres
f026bdb68b
Remove unused variable
...
Refs trac:4004
This commit was SVN r30021.
The following Trac tickets were found above:
Ticket 4004 --> https://svn.open-mpi.org/trac/ompi/ticket/4004
2013-12-20 16:16:24 +00:00
George Bosilca
a85194ae96
Cleanup all the datatype test to avoid any memory leaks or RUI from valgrind.
...
This commit was SVN r30018.
2013-12-20 15:55:09 +00:00
Dave Goodell
002ba95deb
regression test for r29285 (convertor_set_position)
...
This commit was SVN r29296.
The following SVN revision numbers were found above:
r29285 --> open-mpi/ompi@43b4d76913
2013-09-30 16:21:19 +00:00
George Bosilca
ceb75eae75
Welcome in the wonderful world of MPI 3.0.
...
This commit was SVN r28106.
2013-02-26 10:22:12 +00:00
Ralph Castain
ebe45b4b9c
Cleanup warnings that may be messing up older compilers, remove unused variables
...
cmr:v1.7
This commit was SVN r27542.
2012-10-31 14:42:44 +00:00
Jeff Squyres
ddcbfa6af0
Fix some fairly-important typos (!)
...
This commit was SVN r24328.
2011-02-01 13:18:01 +00:00
Jeff Squyres
f015f885f6
Fix datatype variable names so that PGI builds stop failing in MTT.
...
This commit was SVN r24327.
2011-01-31 19:12:33 +00:00
George Bosilca
fc9133cc7f
Correctly initialize the convertor to be used.
...
Don't forget to initialize the OPAL datatype module.
This commit was SVN r24279.
2011-01-20 20:05:21 +00:00
George Bosilca
29c7f2fba5
Update the tests to match the new datatype engine.
...
This commit was SVN r24252.
2011-01-14 07:58:50 +00:00
Rainer Keller
63e540366b
- Include the datatype tests again
...
make distcheck works
contrib/dist/make_tarball succeeds too
make checks shows all 5 tests passing.
This commit was SVN r22163.
2009-10-28 23:19:04 +00:00
Rainer Keller
ddaee48680
- Hmm, make check ran, but make distcheck did not know about opal_ddt_lib.c.
...
This commit was SVN r21665.
2009-07-14 14:45:55 +00:00