summaryrefslogtreecommitdiffstats
path: root/c++/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r27961] Purpose: Partial fix of issues HDFFV-9169 and HDFFV-9167Binh-Minh Ribler2015-10-061-19/+266
| | | | | | | | | | | | | | | | | | | | | | Description: Added wrappers for H5P[s/g]et_attr_phase_change and H5P[s/g]et_attr_creation_order // Sets attribute storage phase change thresholds. void setAttrPhaseChange(unsigned max_compact = 8, unsigned min_dense = 6) // Gets attribute storage phase change thresholds. void getAttrPhaseChange(unsigned& max_compact, unsigned& min_dense) // Sets tracking and indexing of attribute creation order. void setAttrCrtOrder(unsigned crt_order_flags) // Gets tracking and indexing settings for attribute creation order. unsigned getAttrCrtOrder() Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r27794] Reintegration merge of features/autotools_rework branch with trunkDana Robinson2015-09-151-1390/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTES: - Developers will have to run autogen.sh before building with the autotools. - autogen.sh takes the -p option to mimic the old bin/reconfigure behavior. - The generated error, overflow and version headers have been left in place. - The generated H5LT parser code has also been left in place. - There are no changes for CMake users at this time. Tested on: h5committest
| * [svn-r27638] Merged r27500-27631 from trunk.Dana Robinson2015-09-012-70/+3
| |\
| * \ [svn-r27507] Merge of r27237-27500 from the trunk.Dana Robinson2015-08-141-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested w/ h5committest NOTES: - The manifest may still be messed up. - Cmake fails since the dual binary work needs to be merged with this repo's CMake externals.
| * \ \ [svn-r27222] Merge of r27035-27221 from the trunk.Dana Robinson2015-06-172-7/+7
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Tested on 64-bit linux VM: Serial: C++ and Fortran 2003 Parallel: Fortran
| * \ \ \ [svn-r27038] Merge of r26393-27031 from the trunk.Dana Robinson2015-05-0710-107/+292
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Tested on 64-bit linux VM w/ C++ and Fortran 2003
| * | | | | [svn-r26422] Fixes autogen.sh errors caused by r26410 that produced:Dana Robinson2015-03-111-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CXX_SHARED_CONDITIONAL does not appear in AM_CONDITIONAL This was due to a removed AM_CONDITIONAL macro in configure.ac. The CXX_SHARED_CONDITIONAL code was removed from the Makefile.am files. Additionally, the C++ shared library build settings field in libhdf5.settings file was updated. Tested on: local linux VM w/ C++ --enable-shared --enable-static --enable-shared --disable-static --disable-shared --enable-static
| * | | | | [svn-r26274] Merge of r26096 to r26271 from trunk.Dana Robinson2015-02-221-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on: jam - serial: C++/Fortran parallel: Fortran
| * | | | | | [svn-r26097] Removed configure and Makefile.in files from version control.Dana Robinson2015-02-021-1380/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Developers will now have to run bin/reconfigure (deprecated, will be removed soon) or autogen.sh after checking out code. Part of: HDFFV-9120 Tested on: jam with Fortran and C++
| * | | | | | [svn-r26069] Removed the option to selectively disable internal filters like ↵Dana Robinson2015-01-291-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | n-bit at compile time. Fixes HDFFV-9086 Tested on: jam, both serial and parallel w/ fortran & C++
| * | | | | | [svn-r26051] Fix for HDFFV-9092Scot Breitenfeld2015-01-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change AC_TRY_RUN TO AC_TRY_COMPILE Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use AC_COMPILE_IFELSE and moved all the tests to new files in m4 directory: aclocal_cxx.m4 (for C++ tests) aclocal_fc.m4 (for Fortran tests) tested: jam
* | | | | | | [svn-r27768] Description:Quincey Koziol2015-09-143-3/+4
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* | | | | | [svn-r27625] Added preprocessor commands for PGI compiler.Scot Breitenfeld2015-08-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | tested: h5committest
* | | | | | [svn-r27572] Removed VMS-specific code from the library.Dana Robinson2015-08-242-70/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only remaining code consists of a few floating-point tests that rely on pre-generated and checked-in VMS files. These have been left alone, even though they will not be possible to recreate, since testing VMS float behavior is still important. Tested on: h5committest
* | | | | | [svn-r27517] Removed all perl scripts from configure.Scot Breitenfeld2015-08-171-1/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | Tested: h5committest
* | | | | [svn-r27493] Trying again to merge the F2003_v1.10 branch to the trunk.Scot Breitenfeld2015-08-111-5/+24
| | | | | | | | | | | | | | | | | | | | Tested: h5committest --PASSED--
* | | | | [svn-r27489] reverted merge of branchScot Breitenfeld2015-08-111-24/+5
| | | | |
* | | | | [svn-r27470] svn merge -r27425:27460 https://svn.hdfgroup.uiuc.edu/hdf5/trunkScot Breitenfeld2015-08-051-4/+1
|\ \ \ \ \ | | |_|_|/ | |/| | |
* | | | | [svn-r27469] Merge from trunk with dual-binary CMake code.Allen Byrne2015-08-052-3/+6
| | | | | | | | | | | | | | | | | | | | Tested: local linux with CMake
* | | | | [svn-r27221] Reworked Fortran autools REAL KIND detection.Scot Breitenfeld2015-06-161-0/+5
| | | | |
* | | | | [svn-r27186] added fix for jam with promoted reals and integersScot Breitenfeld2015-06-101-0/+1
| | | | |
* | | | | [svn-r27167] more DT fixesScot Breitenfeld2015-06-091-0/+1
| | | | |
* | | | | [svn-r27164] various bug fixes for DTScot Breitenfeld2015-06-081-0/+1
| | | | |
* | | | | [svn-r27154] fixed issue with mis-matching long double between Fortran and CScot Breitenfeld2015-06-051-0/+1
| | | | |
* | | | | [svn-r27151] fixed __float128 errorsScot Breitenfeld2015-06-041-0/+1
| | | | |
* | | | | [svn-r27140] fixed interger*16 supportScot Breitenfeld2015-06-031-0/+1
| | | | |
* | | | | [svn-r27137] svn merge -r27115:27135 https://svn.hdfgroup.uiuc.edu/hdf5/trunkScot Breitenfeld2015-06-022-7/+7
|\ \ \ \ \ | |/ / / /
| * | | | [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-012-7/+7
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* | | | [svn-r27122] removed dependency on generatored fortran source codeScot Breitenfeld2015-05-281-1/+0
| | | |
* | | | [svn-r27115] Moved testing KINDs and SIZEOFs to configure.Scot Breitenfeld2015-05-271-0/+11
| | | |
* | | | [svn-r26869] removed the --enable-fortran2003 option, it is now just ↵Scot Breitenfeld2015-04-211-3/+0
| | | | | | | | | | | | | | | | --enable-fortran
* | | | [svn-r26825] Added include for preprocessing fortran files with configure ↵Scot Breitenfeld2015-04-161-2/+3
|/ / / | | | | | | | | | definitions
* | | [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and ↵Larry Knox2015-04-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure. Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths. Tested with h5committest.
* | | [svn-r26695] Purpose: Fixed HDFFV-7947 (cont.)Binh-Minh Ribler2015-04-011-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: - Put back the UNUSED parameters in dsets test because the change to remove the warning last time caused failure in setting filter, in turn, caused failure in the test with such obscure/unrelated errors! - Added incRefCount() to other constructors that missed from last time. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* | | [svn-r26667] Purpose: Fixed HDFFV-8766Binh-Minh Ribler2015-03-301-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Per user Jason Newton request, the following constructor is added: H5File(hid_t existing_id); Also, fixed H5File::openFile to close current file first before re-using the object. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam gnu and Intel 15.0) SunOS 5.11 (emu)
* | | [svn-r26660] HDFFV-9131: autotols reworkAllen Byrne2015-03-302-12/+1
| | | | | | | | | | | | | | | | | | | | | Remove CXX_CONDITIONAL remove unneeded/obsolete sections. h5commtitest
* | | [svn-r26655] Purpose: Fixed HDFFV-7947Binh-Minh Ribler2015-03-302-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: When copy constructor or constructor that takes an existing id is invoked, the C ref counter stays the same but there is an extra C++ object which later is destroyed and may cause the HDF5 id to be closed prematurely. The C++ library needs to increment the ref counter in these situations, so that the C library will not close the id when it is still being referenced. However, the incrementing of ref count left some objects opened at the end of the program, perhaps, due to compiler's optimization on cons/destructors. The constructor, that takes an existing id, needs to increment the counter but it seems that the matching destructor wasn't invoked. The workaround is to have a function for each class that has "id" that only sets the id and not increment the ref count for the library to use in these situations. These functions are "friend" and not public. The friend functions are: void f_Attribute_setId(Attribute *, hid_t) void f_DataSet_setId(DataSet *, hid_t) void f_DataSpace_setId(DataSpace *, hid_t) void f_DataType_setId(DataType *, hid_t) Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam gnu and Intel 15.0) SunOS 5.11 (emu)
* | | [svn-r26643] Purpose: Adding new wrappers (HDFFR-9167 partially)Binh-Minh Ribler2015-03-291-0/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Added wrappers for C functions H5P[s/g]et_libver_bounds and wrappers for getting object header version // Sets bounds on versions of library format to be used when creating // or writing objects. void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high) const; // Gets the current settings for the library version format bounds. void getLibverBounds(H5F_libver_t& libver_low, H5F_libver_t& libver_high) const; // Returns the object header version of an object in a file or group, // given the object's name. unsigned childObjVersion(const char* objname) const; unsigned childObjVersion(const H5std_string& objname) const; Platforms tested: Linux/64 (platypus) Linux/32 2.6 SunOS 5.11
* | | [svn-r26640] Purpose: Fix bugsBinh-Minh Ribler2015-03-282-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: - Changed DataType::operator= to simply copy the id of rhs instead of calling H5Tcopy because, when the operator= is invoked, a different datatype id is created and it won't have the same characteristics as rhs', specifically, if the rhs represents a named datatype, "this" would still be a transient datatype. - Added a DataType constructor that takes a PredType object, and this constructor will cause H5Tcopy to generate another datatype id, from a predefined datatype. - Fixed various mistakes in tests. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam/gnu and jam/icc 15) SunOS 5.11 (emu development/production)
* | | [svn-r26594] Merge macros and fortran changes from dual_binary feature.Allen Byrne2015-03-251-1/+1
| | | | | | | | | | | | Tested: local linux
* | | [svn-r26509] Run reconfigure after merges from autotools_rework branch.Jerome Soumagne2015-03-201-2/+0
| | |
* | | [svn-r26458] Purpose: Fix warnings HDFFV-8658Binh-Minh Ribler2015-03-157-90/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Fixed many type conversion warnings and unused variables. Platforms tested: Linux/64 (platypus) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* | | [svn-r26329] Merge of r26069, r26070, and r26072 from the ↵Dana Robinson2015-02-271-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | features/autotools_rework branch. Removed the configure option that allows selective disabling of individual internal filters (fletcher32, shuffle, etc.). This feature mucked up the code with a lot of #ifdefs, saved very little space, and was not scalable to a general scheme for library size reduction. We've decided to remove the feature while we investigate a more general scheme for decreasing the library size. Part of: HDFFV-9086 Tested on: h5committest
* | | [svn-r26303] remove files with .clog2 extension generated by MPE when doing ↵Mohamad Chaarawi2015-02-251-3/+3
| |/ |/| | | | | make clean.
* | [svn-r26208] Update cmake minimumsAllen Byrne2015-02-181-1/+1
| |
* | [svn-r26188] Merged autotools fixes into the trunk:Scot Breitenfeld2015-02-161-1/+2
| | | | | | | | HDFFV-9089, HDFFV-9091, HDFFV-9092, HDFFV-9094, HDFFV-9095
* | [svn-r26180] merge configure fixes for HDFFV-9068,9069,9096,9097,9135 from ↵Mohamad Chaarawi2015-02-161-1/+0
|/ | | | | | | | | | | | autotools_rework branch: - Remove Infering parallel compilers (C and Fortran) from configure.ac - Remove restriction to build shared with parallel - Cleanup parallel sections in configure.ac - remove large file support checks - MPE fixes. tested with h5committest.
* [svn-r25644] Purpose: Fixed HDFFV-8928Binh-Minh Ribler2014-10-011-1/+1
| | | | | | | | | | Description: Followed hints on the JIRA issue to remove several potential memory leaks. Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25632] Purpose: Fixed HDFFV-8852Binh-Minh Ribler2014-09-294-4/+5
| | | | | | | | | | | | | | | | Description: H5F_ACC_CREAT was included in the C++ API while the C library doesn't allow it yet. Possibly, in the future, but not now. In addition, the two flags H5F_ACC_RDONLY and H5F_ACC_RDWR were missing from the documentation, causing confusion that appending is not supported. Solution: - Removed H5F_ACC_CREAT from the function until the C library support it - Added H5F_ACC_RDONLY and H5F_ACC_RDWR to the comments to update the documentation Platforms tested: Linux/ppc64 (ostrich) Linux/32 2.6 (jam) SunOS 5.11 (emu)
* [svn-r25397] - remove configure checks for MPI_File_get_size and BigMohamad Chaarawi2014-07-071-1/+0
| | | | | MPI_File_set_size as they are supported by most MPI implementations. - fix bug in t_mpi.c (HDFFV-8856)