Stephane,
That should have been my next question - the order of the fortran libraries
do matter. You'll need a fortran expert for an explanation.
I can answer your question about the new XXX_cstub.lib files - cmake had
trouble building combined C and fortran library on windows - so for simplicity
we just create two libraries on all platforms when using cmake.
Allen
> Hello,
>
> Do not ask me exactly why, but it seems that a part of my problem is solved:
> the linking.
>
> I changed the order of the libraries passed to the linker, with and without
> HL: -lhdf5_fortran -lhdf5 -lhdf5_f90cstub, or -lhdf5_fortran -lhdf5_f90cstub
> -lhdf5, or ... One combination works!
> I remember that this solves a so weird problem once... If someone knows why,
> I am very interested!
>
> However, the ctest fails, but I will look into that later: my code produces
> correct hdf5 files...
>
> ------------------------------------------------------------
> 99% tests passed, 12 tests failed out of 1979
>
> Total Test time (real) = 621.58 sec
>
> The following tests FAILED:
> 5 - lheap (Failed)
> 14 - dtypes (Failed)
> 67 - PERFORM_h5perf (Failed)
> 68 - PERFORM_mpi-perf (Failed)
> 69 - TEST_PAR_testphdf5 (Failed)
> 70 - TEST_PAR_t_mpi (Failed)
> 71 - TEST_PAR_t_cache (Failed)
> 72 - TEST_PAR_t_pflush1 (Failed)
> 73 - TEST_PAR_t_pflush2 (Failed)
> 74 - TEST_PAR_t_shapesame (Failed)
> 75 - TEST_PAR_t_posix_compliant (Failed)
> 80 - parallel_test (Failed)
> Errors while running CTest
> ------------------------------------------------------------
>
> Anyway, thanks for you support!
>
> Best,
>
> Stephane
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
>
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org