summaryrefslogtreecommitdiffstats
path: root/fortran
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r20504] Purpose:Mike McGreevy2011-04-146-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General shared library improvements for CYGWIN / AIX Description: Shared libraries are disabled on both CYGWIN and AIX due to inability to build them correctly. Part of the problem in both of these situations is the lack of the libtool flag -no-undefined, which tells libtool that all needed symbols are defined at link time (a requirement on these systems) and that it's okay to build shared libraries. Another problem are lack of dependencies between wrapper libraries and core C HDF5 library. This patch addresses both of these by fixing configure to add in -no-undefined flag for libtool during linking and adds automake dependencies in the Makefile.am files. After testing, both CYGWIN and AIX now generate shared libraries, but there are still some test failures in each. (cache_api, dt_arith, and testerror.sh on CYGWIN, and fortran tests on AIX). Even though the shared libraries are not quite perfect, this is a general improvement to what we had before, so I'm applying the patch anyways. Note that default behavior of shared libraries on these systems being disabled has NOT been changed and requires the use of the --enable-unsupported to attempt to build them. We will need to address the test failures in each architecture prior to formally supporting shared libraries on each. Tested: h5committested & CYGWIN tested (on bangan) (AIX tested by Albert on bp-login2)
* [svn-r20502] Purpose:Mike McGreevy2011-04-145-55/+180
| | | | | | | | | | | | | | | | | | | | | | | | Add "silent make" mode configure option. Description: Automake 1.11 has a new option available that allows for a silent make mode. This functionality needs to be explicitly enabled in configure.in via the use of the automake macro AM_SILENT_RULES, which is what this commit is adding. This introduces a new configure option: --{en|dis}able-silent-rules This option is on by default, and simplies compile and link line outputs when building the library. Disabling this option will print full "verbose" output (i.e., full compile and linking lines for each target). Tested: This was tested on jam & h5committested
* [svn-r20487] Bug 1386 - allow dimension size to be zero even though it isn't ↵Raymond Lu2011-04-121-1/+7
| | | | | | | | | | | | unlimited. This is a follow-up checkin for r20440 and r20469: 1. The dataspace code has another bug - when the maximal dimension isn't passed in for H5Sset_extent_simple, it is supposed to be same as the dimension. The current library sets NULL to it. I corrected it and added a test case to it. 2. I corrected the tests of Fortran and C++ for this problem. Tested on heiwa, jam, and amani.
* [svn-r20482] Larry Knox2011-04-121-4/+18
| | | | | | | | | | | | | | | | Fixed issue HDFFV-5866 (BZ 2156). Changed scripts to run examples to use specific names for compiled executable files instead of a.out, which did not work on Cywin as it produces a.exe by default. Removed issue from known problems section of RELEASE.txt. Tested with Cygwin 1.7.8 on Windows 7. This line, and those below, will be ignored-- M release_docs/RELEASE.txt M hl/c++/examples/run-hlc++-ex.sh.in M hl/fortran/examples/run-hlfortran-ex.sh.in M hl/examples/run-hlc-ex.sh.in M c++/examples/run-c++-ex.sh.in M fortran/examples/run-fortran-ex.sh.in M examples/run-c-ex.sh.in
* [svn-r20475] Purpose:Mike McGreevy2011-04-115-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Revise shared Fortran library disabling scenarios in configure - Improve configure output summary Description: Shared Fortran libraries are not supported on Mac, but were being disabled by configure in a way that also forced the C libraries to be static-only. This has been fixed, so now only shared Fortran is disabled while shared C can remain. This prompted two additional changes: 1. While working on the check that addresses whether or not shared Fortran libraries are allowed, removed old and no longer needed check(s) that disable shared Fortran libraries with HP, Intel 8, PGI, and Absoft compilers. (Essentially, Mac is the only situation in which Fortran shared are disabled by configure.) 2. Having two different states of libraries (i.e. shared C library with static-only Fortran library) was not apparent in the configure summary, which labeled all libraries as either shared and/or static. I've added lines to both the C++ and Fortran output sections to list shared/static-ness of these libraries specifically. Additionally, I've made sure that the new --enable-unsupported configure option correctly overrides configure if it tries to disable a shared library. Tested: jam, fred, & h5committest
* [svn-r20405] Description:Quincey Koziol2011-04-041-1/+1
| | | | Bump patch release number, after giving out private snapshots.
* [svn-r20315] brought revisions 19868:20300 from the 1.8.6_vms branch to the ↵Raymond Lu2011-03-241-0/+6
| | | | trunk for VMS work
* [svn-r20201] Order fflush tests - fflush2 DEPENDS on fflush1Allen Byrne2011-03-081-0/+1
|
* [svn-r20153] Move ext lib handling for ext project building to a common ↵Allen Byrne2011-02-243-7/+7
| | | | | | macro. Update HDF5 project to use HDFMacros.cmake file. Add test properties for test ordering. Tested: local linux, windows
* [svn-r20141] Bring 1.8 r20139 cmake and windows changes to trunkAllen Byrne2011-02-225-154/+1
|
* [svn-r20061] Description:Quincey Koziol2011-02-082-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring changes from Coverity branch to trunk: r19930: Fix memory leaks involving VL attributes in h5repack and h5diff. The buffers in copy_attr and diff_attr were not checked for the presence of a vlen before being freed, and vlen storage was never reclaimed. Added checks and calls to H5D_vlen_reclaim(). r19933: Purpose: Fix memory leak in H5L_move_cb() Description: H5L_move_cb copied the source link using H5O_msg_copy() but freed it manually using H5MM_xfree(). Since H5O_link_copy allocates the link using H5FL_MALLOC, this causes the link to be allocated from the free list but is never put back on the free list when it is freed. This prevents the link free list from shutting down properly. Modified H5L_move_cb() and H5L_move_dest_cb() to free the link properly using H5O_msg_free(). r19973: Fix resource leaks by freeing string created by HD5f2string r19974: Issue #345: Inialize buf variable to null Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production (h5committested on Coverity branch)
* [svn-r20033] Porblem: A typo caused compilation failures with gfortran 4.6 ↵Elena Pourmal2011-02-031-3/+3
| | | | | | | | on fred. Fixed. Platforms tested: fred and jam (minor change)
* [svn-r19914] Correct format of empty parameterAllen Byrne2011-01-052-2/+2
| | | | bring r19913 from 1.8
* [svn-r19910] Change how LINK_FLAGS for fortran are appended on Windows - ↵Allen Byrne2011-01-052-6/+8
| | | | correct for just shared libs
* [svn-r19909] Change how LINK_FLAGS for fortran are appended on WindowsAllen Byrne2011-01-054-15/+9
| | | | bring r19908 from 1.8 branch
* [svn-r19907] Windows: Correct how fortran links in CRT library. Also correct ↵Allen Byrne2011-01-044-15/+15
| | | | | | macro use for checking libtype. bring r19906 from 1.8 branch
* [svn-r19870] Add tests for examples.Allen Byrne2010-12-031-0/+10
| | | | Tested: local linux
* [svn-r19839] Updated to libtool v 2.4, autoconf 2.68 and m4-1.4.15.Larry Knox2010-11-235-0/+15
| | | | Tested with h5committest on amani, heiwa, and jam.
* [svn-r19740] Snapshot version 1.9 release 79HDF Tester2010-11-071-1/+1
|
* [svn-r19701] Snapshot version 1.9 release 78HDF Tester2010-10-311-1/+1
|
* [svn-r19666] Snapshot version 1.9 release 77HDF Tester2010-10-241-1/+1
|
* [svn-r19654] Description:Quincey Koziol2010-10-2110-240/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Coverity revisions from branch back to trunk, and clean up some other misc. compiler warnings also. r19500: Fix coverity items 1446 and 1447. Moved up calls to memset in test_cont in ohdr.c so the test never tries to close uninitialized locations. r19501: Fix coverity items 1398-1445. Various uninitialized variable errors in fheap.c. r19502: Fixed coverity issue 579 and some additional warnings in the file as well. r19503: Bug fix: This fix addressed the "RESOURCE_LEAK" problems #789 and 790, run 26 r19504: minor mods to try to keep coverity from flagging false positives. r19505: Fixed coverity issues 566 - 571. Declared variables that are passed to functions that use them as arrays to be arrays of size 1. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug, production & parallel (h5committested on trunk)
* [svn-r19569] Snapshot version 1.9 release 76HDF Tester2010-10-101-1/+1
|
* [svn-r19532] Added line to config/examples.am to remove execute permission ↵Larry Knox2010-10-071-1/+2
| | | | | | | | from example source files tha t are installed in .../share/hdf5_examples/. This will address bugzilla #2025. Tested with h5committest on amani, heiwa, and jam.
* [svn-r19512] Snapshot version 1.9 release 75HDF Tester2010-10-051-1/+1
|
* [svn-r19509] Improve CMake support for CYGWIN.Allen Byrne2010-10-044-55/+41
| | | | | | Correct script comment in testh5diff.sh Tested: Windows Cygwin
* [svn-r19506] Bring changes from revisions 19408, 19421, and 19442 from ↵Larry Knox2010-10-048-35/+138
| | | | | | branches/hdf5_1_8 to trunk. These revisions reorganize the compile scripts using h5cc.in, h5fc.in, and h5c++.in, add checks for installed examples to the scripts that run them after installation, and add DESTDIR for install as needed for RPMs. Tested on amani, heiwa and jam by h5committest and with CYGWIN.
* [svn-r19434] Correct use of lib, include, bin in INSTALL commands to use ↵Allen Byrne2010-09-201-5/+5
| | | | | | proper variables. Tested: local linux
* [svn-r19366] Updated autoconf to version 2.6.7, libtool to version 2.2.10, ↵Larry Knox2010-09-105-5/+5
| | | | | | and m4 to version 1.4.14. Also added m4 directory for m4 macros according to autoconf suggestion. Tested with h5committest on amani, jam, and heiwa, and on linew.
* [svn-r19361] Move Windows specific compile and link flags to macrosAllen Byrne2010-09-093-94/+9
|
* [svn-r19325] Added parallel build commands.Allen Byrne2010-08-314-11/+95
| | | | | | | Corrected use/name of source folder aliases. Duplicated FindMPI.cmake so that non-c++ compiler is found first (recommemded commands did not work). Tested: local linux with mpich
* [svn-r19086] Snapshot version 1.9 release 74HDF Tester2010-07-181-1/+1
|
* [svn-r19064] Snapshot version 1.9 release 73HDF Tester2010-07-111-1/+1
|
* [svn-r19059] Brought changes from hdf5_1_8 to add version information for ↵Larry Knox2010-07-097-6/+137
| | | | | | fortran and c++ compilers in libhdf5.settings file and configure output (r18836), to install examples as part of make install (r18680), and to provide scripts to compile and run the examples after they are installed (r18817). Tested with new/h5committest on amani, heiwa, and jam.
* [svn-r19047] Snapshot version 1.9 release 72HDF Tester2010-07-041-1/+1
|
* [svn-r19037] Added executable Linker Flag for MSVC static builds: ↵Allen Byrne2010-06-292-0/+27
| | | | | | | | /NODEFAULTLIB:MSVCRT Added VERSION vars for inclusion into auto snapshot version update script Tested windows
* [svn-r19031] Snapshot version 1.9 release 71HDF Tester2010-06-281-1/+1
|
* [svn-r19022] Snapshot version 1.9 release 70HDF Tester2010-06-201-1/+1
|
* [svn-r18996] Updated config files and install commands per external ↵Allen Byrne2010-06-141-1/+1
| | | | | | developers recommendations. Tested: local linux
* [svn-r18925] Updated install of fortran mod filesAllen Byrne2010-05-281-0/+25
| | | | Tested: local linux
* [svn-r18915] Description:Quincey Koziol2010-05-271-23/+27
| | | | | | | | Clean up a couple of compiler warnings (in Windows). Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (too minor to require h5committest)
* [svn-r18898] Added fortran /dbglibs option to fortran compile flags for ↵Allen Byrne2010-05-251-1/+1
| | | | | | windows intel fortran case. Duplicated windows intel fortran flag block for hl/fortran
* [svn-r18890] Update CMake fortran configure/build with changes from community.Allen Byrne2010-05-251-0/+10
| | | | | | | | - Add an install rule to copy compiled fortran module files - Only build the xlatefile utility if testing and tools are enabled - Don't do MPI HAVE_XXX checks until MPI_FOUND is true - Install needs H5version.h & H5overflow.h to be copied - Add debug information flags to debug compile and link lines for win32 Intel compiler
* [svn-r18856] Added CPack commands for installtion programAllen Byrne2010-05-191-3/+3
| | | | Tested: local linux and Windows
* [svn-r18823] Snapshot version 1.9 release 69HDF Tester2010-05-161-1/+1
|
* [svn-r18793] Add files to support building library with CMakeAllen Byrne2010-05-134-0/+607
| | | | Tested: Local linux
* [svn-r18709] Purpose:Mike McGreevy2010-05-055-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Improve configure's large-file support control. Description: Modified configure to now attempt to add defines necessary for supporting largefiles on all systems, instead of solely on linux. This is in response to user requests to enable largefile support on Solaris by default, as well as to give extra control on AIX (instead of just jamming the necessary flag into the config files). The old --enable-linux-lfs flag has been removed in favor of the --enable-largefile flag (enabled by default), which can be used on all platforms. On systems where large files cannot be supported in this manner, configure will report as such. Tested: h5committest AIX (NCSA's blue_print machine) duty, liberty, and linew.
* [svn-r18684] Snapshot version 1.9 release 68HDF Tester2010-05-021-1/+1
|
* [svn-r18589] Snapshot version 1.9 release 67HDF Tester2010-04-181-1/+1
|
* [svn-r18579] Purpose:Mike McGreevy2010-04-155-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autotool Upgrade / Libtool Bug Fix Description: Updated autotools referenced in bin/reconfigure as follows: Autoconf 2.64 --> Autoconf 2.65 Automake 1.11 --> Automake 1.11.1 Libtool 2.2.6a --> Libtool 2.2.6b-mcg The referenced libtool version is a custom version of 2.2.6b. It has been tweaked to fix a bug in libtool that occurs when using PGI 10.0 compilers. A check incorrectly categorizes the C++ compiler as version 1.0 instead of 10.0, and the link line is subsequently set up incorrectly and fails to compile. A patch has been made available and will be included in the next release of libtool, but in the meantime I've applied the patch to a custom installation as indicated above. This bin/reconfigure now references the custom installation, and the resulting configure script will correctly categorize the PGI 10.0 C++ compiler. Ran bin/reconfigure to regenerate configure and makefiles. Tested: jam and amani with PGI 10.0 compilers. h5committest