Commit Graph

30 Commits

Author SHA1 Message Date
Scot Breitenfeld
9cd1a1bb60 [svn-r24986] Comparing REALs now converts all REALs to double precision and then compares if the two numbers are equivalent.
Tested: jam (gnu, intel)
2014-04-08 14:34:42 -05:00
Scot Breitenfeld
d1f2b1a682 [svn-r24985] reverted the r24984 update. 2014-04-07 20:00:24 -05:00
Scot Breitenfeld
ff9a10cfda [svn-r24984] Added overload operatorZ to compare REALs for tests.
Tested on jam (gfortran, (-r8))
2014-04-07 19:18:20 -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
Scot Breitenfeld
d7724485b0 [svn-r23475] added dll for verify_Fortran_INTEGER_4 2013-03-28 11:11:34 -05:00
Scot Breitenfeld
881cdef5f8 [svn-r23463] Added dllexport for verify_real_kind_7 2013-03-27 10:04:33 -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
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
Scot Breitenfeld
c9702f551c [svn-r15110] Description:
Changed the error output formatting so that the 
test status writes to standard out looks correct when using the
sun compiler (it did not correctly tab the output).
2008-05-30 15:30:11 -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
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
Scott Wegner
2fd80deb4d [svn-r14975] Purpose: Add Windows fixes for new Fortran code.
Description:
There were a number of small tweaks we needed to make to add the new fortran_1_8 code on Windows.  We create new project files, add new source to them, add the test to our test suite, and fix a few typos in the Windows-specific source code.

Tested:
VS2005 on WinXP
2008-05-12 13:14:12 -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
Scott Wegner
20be26bdc6 [svn-r14057] Purpose: Fixes for 64-bit Windows Intel Fortran 9.1
Description:

We are porting Fortran to 64-bit Windows, and need to make many syntactical changes to bring the code up to date.  We now go back to using "!DEC$" rather than "!MS$" in our "ATTRIBUTE" code.  Also, the naming conventions for mixed language is inconsistent from 32- to 64- bit Windows.  To make up with this, we use the "decorate" flag.  We also needed to change the "calling convention" in project settings from "CVF" to "default".

Also other minor cleanups on project files.

Tested:
32-bit: VS.NET and VS2005
64-bit: VS2005
2007-08-09 09:04:05 -05:00
Albert Cheng
42f1acfcd7 [svn-r13256] Updated fortran source code with new THG copyright.
Tested: kagiso.
2007-02-07 12:55:01 -05:00
Quincey Koziol
a6f6462541 [svn-r12700] Alert:
File format is not stable, don't keep files produced!

Description:
    First stage of checkins modifying the format of groups to support creation
order.  Implement "dense" storage for links in groups.

    Try to clarify some of the symbols for the H5L API.

    Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest
file format options (including "dense" link storage in groups)

    Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation
order tracking in groups (although no index on creation order yet).

    Remove --enable-group-revision configure flag, as file format issues are
now handled in a backwardly/forwardly compatible way.

    Clean up lots of compiler warnings and other minor formatting issues.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-v1.6 compa
    Mac OSX/32 10.4.8 (amazon)
    AIX 5.3 (copper) w/parallel & FORTRAN
2006-10-02 05:24:03 -05:00
Elena Pourmal
0742585e9a [svn-r12347] Purpose: Maintenance/bug fix
Description: When --enable-group-revision flag was used, h5fget_filesize_f
             function returned different value from expected one. Test failed
             with false negative result.


Solution: Added Fortran function h5_group_revision_f and its
          C stub to check if macro H5_GROUP_REVISION is defined.
          Expected value from h5fget_filesize_f is set up accordingly.

Platforms tested: copper, shanti and heping with and without
                  --enable-group-revision configuration flag

Misc. update:
2006-05-13 19:43:58 -05:00
Albert Cheng
c3e6571ea5 [svn-r9786] Purpose:
bug fix and document.

Description:
Unix and probably other systems too, has a small exit value range
such as 1 byte.  So, exit(256) may end up the same as exit(1).
Added caution message to the exit wrappers and changed test programs
to exit(1) when errors detected.

Platforms tested:
tested in copper.  verified here that exit(256) was treated just like
exit(0).
2005-01-09 01:19:16 -05:00
Quincey Koziol
427ff7da28 [svn-r9727] Purpose:
Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-)

Description:
    Generally speaking, this is the "signed->unsigned" change to selections.
However, in the process of merging code back, things got stickier and stickier
until I ended up doing a big "sync the two branches up" operation.  So... I
brought back all the "infrastructure" fixes from the development branch to the
release branch (which I think were actually making some improvement in
performance) as well as fixed several bugs which had been fixed in one branch,
but not the other.

    I've also tagged the repository before making this checkin with the label
"before_signed_unsigned_changes".

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
    FreeBSD 4.10 (sleipnir) w/threadsafe
    FreeBSD 4.10 (sleipnir) w/backward compatibility
    Solaris 2.7 (arabica) w/"purify options"
    Solaris 2.8 (sol) w/FORTRAN & C++
    AIX 5.x (copper) w/parallel & FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN
    Linux 2.4 (heping) w/FORTRAN & C++


Misc. update:
2004-12-29 09:26:20 -05:00
MuQun Yang
a457cd03e7 [svn-r9475] Purpose:
New feature: support fortran DLL on windows.
small bug fix.

Description:
1. Need to add macro for some functions in order to make fortran DLL work.
2. One routine(verify) missed the special macro DEC FORTRAN needs. Added.

Solution:

Platforms tested:
windows XP with MC VC6.0+Dec 6.6c.
Linux 2.4
and h5committest not finished yet.

Misc. update:
2004-10-27 17:46:14 -05:00
Quincey Koziol
16be9e3b5a [svn-r7935] Purpose:
Add new feature

Description:
    Add FORTRAN wrappers for new H5I routines.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-12-11 13:29:36 -05:00
Elena Pourmal
f484aafef4 [svn-r7348]
Purpose: Bug fix

Description: Somehow line DEC$if defined(BUILD_HDF4_DLL) was inserted
             to the file. It should be HDF5!!!!!!!!!!!!!!!

Solution: Fixed the typo.
          Quincey, Thank you for noticing that.

Platforms tested: Will be tested on Windows.

Misc. update:
2003-08-12 09:22:39 -05:00
Albert Cheng
641f9f2fea [svn-r7341] Purpose:
Updated, cleanup or added Copyright notice.

Platforms tested:
"h5committested"

Misc. update:
2003-08-11 14:37:59 -05:00
Elena Pourmal
0d5bd9fe3a [svn-r6685]
Purpose: Added copyright statement; cleaned code and fixed bugs for
         Windows and Cray T90IEEE

Description:  Windows and Cray ports exposed few typos in the source code
              that caused tests to fail

Solution: Added copyright statement and clean the code.

Platforms tested: CRAY T90IEEE, arabica, modi4 with parallel, Windows 2000
                  Only static tests (both debug and release) passed on Windows.
                  DLLs have multiple problems ;-)

Misc. update:
2003-04-15 17:34:43 -05:00
Elena Pourmal
f5096c2000 [svn-r5940]
Purpose:
    Bug fix, code improvement
Description:
    Fortran tests didn't cleanup created files. Also HDF5_PREFIX and
    HDF5_PARAPREFIX were not used to specify location of the files.
    There was a redundant file in the testpar directory that contained
    an error reporting function used by both serial and parallel tests.
Solution:
    Created library h5test_fortran.a that contains functions used by the
    serial and parallel tests. It includes Fortran and C functions that
    may be called from Fortran programs to report errors, to modify
    file names and to cleanup files after run. Modified test code to
    use new functions.
Platforms tested:
    Linux 2.2 (eirene) serial
    IRIX64 (modi4) parallel with HDF5_PREFIX and HDF5_PARAPREFIX set to $SCR
    Solris 2.7 with mpich 1.2.4 with HDF5_PARAPREFIX set to /tmp/epourmal
2002-09-23 17:06:01 -05:00