Commit Graph

27 Commits

Author SHA1 Message Date
Scot Breitenfeld
c26d21bb63 [svn-r26481] Removed compiler warnings. HDF5-239
Tested: h5committest.
2015-03-19 14:14:19 -05:00
Scot Breitenfeld
8f8cbb6225 [svn-r26479] Fix for: HDFFV-9162
h5pget_class_f should return hid_t for classtype

Also removed all left over C comment artifacts /* and */ in the Fortran comments.

Tested: h5committest
2015-03-19 12:11:47 -05:00
Scot Breitenfeld
fb7e8562e2 [svn-r25169] Removed duplicate tests in fortranlib_test_1_8.f90 and fortranlib_test.f90. Thus removing the dependency on tH5F.f90, which was causing compilation race-conditions in cmake.
Tested: jam (gnu)
2014-05-06 09:18:30 -05:00
Elena Pourmal
70daa61a87 [svn-r24967] Maintenance: Reorganized and cleaned the code to remove compiler warnings in the Fortran test code
and examples. 

Platforms tested: Manual testing in place and using srcdir on jam, platypus, and emu with default and 
                  PGI, Intel and new GNU compilers. ifort compiler was also tested with -i8 and -r8 flags
                  on jam.  CMake tested on jam.
2014-04-06 10:56:21 -05:00
Larry Knox
2c6fc585fd [svn-r24114] Reverting the changes in r24113 for now because they break parallel make fortran. The changes aren't incorrect, but more work in needed on dependencies and also for enable-parallel.
Reverted to r24112.
2013-09-06 17:42:10 -05:00
Quincey Koziol
f825256c87 [svn-r24113] Description:
Reduce warnings w/gfortran in FORTRAN build by declaring interface for
utility test routines.

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc/g++/gfortran 4.8
2013-09-06 15:27:13 -05:00
Quincey Koziol
5b876c929f [svn-r24101] Description:
Clean up warnings, enable new compiler warning flag(s) and bring back
changes from Coverity branch:

r20813:
Remove the dead code as listed for coverity bug #1722. h5committested.

r20814:
Issue 69: Check return value and throw error if negative return. Also free datatype id on error

r20815:
Use HDstrncpy. --gh

r20816:
Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832.

r20817:
Use HDstrncpy and HDstrncat. --gh

r20818:
Purpose: Fix valgrind issues with h5jam

Description:
Modified h5jam to free strings strdup'd in parse_command_line before exit. Note
that they may still not be freed in case of error, due to the widespread use of
exit().

r20819:
Issue 80: change loop to use int as loop index.

r20820:
Maintenance: Fixed the bug found by coverity CID 788
There were two problems with this function:
    1) it tried to unnecessary free NULL pointer
    2) it tried to allocate c_name buffer that is done by H5Pget_class_name


Tested on:
    Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN
    (too minor to require h5committest)
2013-09-05 15:44:14 -05:00
Scot Breitenfeld
a81cc2ac7e [svn-r22824] FIX: HDFFV-8118: Support Fortran compiler flags that change the default size of integer and real
Tested: jam(gnu,intel), machine with gcc 4.7 and C long double = 16 bytes.
2012-09-27 14:13:13 -05:00
Scot Breitenfeld
c65c53afcb [svn-r21690] Albert noted on AIX:
> make failed:
> "../../../hdf5/fortran/test/fortranlib_test_1_8.f90", line 642.15: 
> 1513-041 (S) Arguments of the wrong type were specified for the 
> INTRINSIC procedure "mod".

Fixed by defining both arguments in MOD as integer size_t

Tested: jam (gfortran, intel)
2011-10-29 14:16:20 -05:00
Scot Breitenfeld
a9c065c5ce [svn-r21248] Mereged the F2003 branch into the trunk.
Items merged: fortran directory, 
              src/libhdf5.settings.in 
              configure.in configure 
              MANIFEST

Tested: (all platforms used by daily tests, both with --enable-fortran and --enable-fortran2003)
2011-08-18 09:32:47 -05:00
Quincey Koziol
fd70b2afa8 [svn-r18197] Description:
Trim trailing whitespace from source code files with this command:

find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//'

Tested on:
    None - eyeballed only
2010-01-29 23:29:13 -05:00
Scot Breitenfeld
2bb5d04019 [svn-r17222] Description:
Added filename argument to file_space routine to avoid conflicts of the files when running fortranlib_test_1_8.f90 and fortranlib_test.f90 at the same time (i.e. when running the tests in parallel).

tested: smirom (ifort, pgf90, g95, gfortran), linew
2009-07-22 10:25:03 -05:00
Scot Breitenfeld
4336eea98e [svn-r16797] Changed
H5D_CHUNK_CACHE_NSLOTS_DEFAULT_F
H5D_CHUNK_CACHE_NBYTES_DEFAULT_F
H5D_CHUNK_CACHE_W0_DEFAULT_F

to

H5D_CHUNK_CACHE_NSLOTS_DFLT_F
H5D_CHUNK_CACHE_NBYTES_DFLT_F
H5D_CHUNK_CACHE_W0_DFLT_F

to get under the 31 limit for variable names
2009-04-20 11:00:09 -05:00
Scot Breitenfeld
393100b2b6 [svn-r15737] Description:
Changed the tests so that the *.h5 test files are removed depending on the HDF5_NOCLEANUP environment variable.
bug 696
2008-09-30 16:05:39 -05:00
Elena Pourmal
f15c901b8f [svn-r15074] Maintenance: This check-in should fix daily tests failures:
Uninstall target had non-existant file to remove; error_handler module triggered
             a race condition for parallel make with Intel and PGI compilers, therefore we
             removed the module and created a subroutine instead.

Platforms tested: kagiso with GNU, Intel and PGI compilers.
2008-05-27 11:06:23 -05:00
Scot Breitenfeld
e8e47591f7 [svn-r15065] Description:
Broke-up longer lines over multiple lines

Removed unused variables.
2008-05-21 15:08:24 -05:00
Scot Breitenfeld
fcf8a9a2cb [svn-r15054] Purpose:
Made reporting of the test status  global by handling the output
via a module. Cleaned-up output to the terminal.


Description:
Put writing the test status as a call to a subroutine
instead of on a per account basis. 
Added the dependency of compiling in the correct order
in the Makefiles for use of the Module.
2008-05-21 10:02:24 -05:00
Scot Breitenfeld
5c122eeb8b [svn-r15025] Purpose:
Cleaned up unused code (i.e. commented out) and removed extraneous output to standard out.

Tested:
N/A - No critical executable source lines were modified, only comments and write statements.
2008-05-16 15:46:10 -05:00
Elena Pourmal
ec4ae5213b [svn-r14991] Maintenance: Fixed some bugs discovered by daily testing and by manual testing using -i8 flag
Platforms tested: linew (as for daily tests), icc and pgf90 with -i8 on kagiso; g95 has the problem
                  with -i8 (will be looking into the problem)
2008-05-13 13:23:35 -05:00
Scot Breitenfeld
90205aa02c [svn-r14972] Purpose:
Corrected the way the total number of errors are summed up.
2008-05-12 12:48:23 -05:00
Elena Pourmal
31b3c34908 [svn-r14927] Maintenance: Enabled all tests that pass on linew. Disabled tests are commented with !!EP for now. 2008-05-04 00:24:04 -05:00
Elena Pourmal
c08112a0c0 [svn-r14926] Maintenance: More cleanup in the test output and enabled another test for linew before daily tests start. 2008-05-03 23:54:06 -05:00
Elena Pourmal
f162bead9a [svn-r14925] Maintenance: Cleaned up reporting of the tests nd enable some tests that pass on linew. 2008-05-03 23:44:26 -05:00
Elena Pourmal
102bd35402 [svn-r14924] Commented out new tests since they failcompletely on linew while passing on smirom and kagiso. 2008-05-03 23:28:05 -05:00
Elena Pourmal
dcad778b42 [svn-r14923] Maintenance: This check-in merges changes from the fortran_1_8 branch back into the trunk (up to revision 14921)
Platforms tested: kagiso with g95 and Intel compilers; more testing will be done after checking in a fresh
                  copy from the trunk. New code itself was tested with all Fortran compilers available at THG
2008-05-03 18:39:37 -05:00
Scot Breitenfeld
aec106e324 [svn-r14903] Undoing change committed in r14902. 2008-04-30 14:51:13 -05:00
Scot Breitenfeld
5773fd34bc [svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. New fortran wrappers added. 2008-04-30 14:23:26 -05:00