All.

This year The HDF Group will be moving HDF software from CMake 3.2.* to CMake 
3.10.1.

The reason is we are having too many issues reported with the current CMake 
version required to build HDF (HDF5, HDF4, HDFView, misc. tools, etc.)

Originally CMake was supported only for Windows, but now we have more and more 
users using CMake for building parallel, and Fortran configurations on 
non-Windows platforms. I.e., we need to come up with the solution that covers 
not only Windows and basic configurations of HDF. Said this we are welcoming 
any patches that will help us to finish the task.

We will keep you updated on our progress, and as usual, we will have updated 
software available for testing before the releases.

Thank you!

Elena
On Jan 7, 2018, at 7:05 PM, Michael Jackson 
<mike.jack...@bluequartz.net<mailto:mike.jack...@bluequartz.net>> wrote:

Sorry, but I jumped too soon on sending that email. There is still an issue 
when trying to install with a Visual Studio built HDF5. Once I actually work it 
out I’ll post to the list.

--
Mike Jackson
BlueQuartz Software
[e]: mike.jack...@bluequartz.net<mailto:mike.jack...@bluequartz.net>


From: Hdf-forum 
<hdf-forum-boun...@lists.hdfgroup.org<mailto:hdf-forum-boun...@lists.hdfgroup.org>>
 on behalf of Elena Pourmal 
<epour...@hdfgroup.org<mailto:epour...@hdfgroup.org>>
Reply-To: HDF Users Discussion List 
<hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>>
Date: Sunday, January 7, 2018 at 5:22 PM
To: HDF Users Discussion List 
<hdf-forum@lists.hdfgroup.org<mailto:hdf-forum@lists.hdfgroup.org>>
Subject: Re: [Hdf-forum] Issues with INSTALL using NMake Makefiles & CMake 
(1.8.19, 1.8.20)

Hi Mike and All,

Happy New Year!

HDF5 repository is 
https://bitbucket.hdfgroup.org/projects/HDFFV/repos/hdf5/browse. You may also 
send the patch to h...@hdfgroup.org<mailto:h...@hdfgroup.org>.

We will discuss the problem tomorrow during our developers meeting.

Thank you!

Elena



On Jan 7, 2018, at 2:58 PM, Michael Jackson 
<mike.jack...@bluequartz.net<mailto:mike.jack...@bluequartz.net>> wrote:

I’m having an issue configuring HDF5 1.8.19 and 1.8.20. My configuration 
environment is:
+ Visual Studio 14 2015 Win64
+ Intel Visual Fortran 17
+ CMake 3.8.x
+ NMake Makefiles

When I try the install the install script will complain that it cannot find a 
few files. After some debugging through the CMake code I have determined that 
the issue is in places like the hl/fortran/src/CMakeLists.txt

  if (WIN32)
    set (MODSH_BUILD_DIR 
${CMAKE_Fortran_MODULE_DIRECTORY}/shared/${CMAKE_BUILD_TYPE})
  else ()
    set (MODSH_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared)
  endif ()

That “WIN32” logic assumes a Visual Studio build. When using NMake (or most 
likely anything OTHER than Visual Studio) the trailing /${CMAKE_BUILD_TYPE} 
folder will NOT be present. The fix is to do:

  if (MSVC_IDE)
    set (MODSH_BUILD_DIR 
${CMAKE_Fortran_MODULE_DIRECTORY}/shared/${CMAKE_BUILD_TYPE})
  else ()
    set (MODSH_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared)
  endif ()


Which will ONLY use that subfolder logic for Visual Studio builds. Where is the 
Git repository for HDF5? I can get a patch together and submit a pull request 
with the full fixes. I have not had the time to try out the 1.10.x sources so I 
do NOT know if this was found and fixed for those releases.

Thanks
--
Michael A. Jackson                 400 S. Pioneer Blvd
Owner, President                   Springboro, Ohio 45066
BlueQuartz Software, LLC           EMail: 
mike.jack...@bluequartz.net<mailto:mike.jack...@bluequartz.net>
Voice: 937-790-1601                Web: 
http://www.bluequartz.net<http://www.bluequartz.net/>
Fax: 937-746-0783

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org<mailto:Hdf-forum@lists.hdfgroup.org>
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

_______________________________________________ Hdf-forum is for HDF software 
users discussion. 
Hdf-forum@lists.hdfgroup.org<mailto:Hdf-forum@lists.hdfgroup.org>http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
 Twitter: https://twitter.com/hdf5
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org<mailto:Hdf-forum@lists.hdfgroup.org>
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to