Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
2

Question of hash mismatch when installing OS

asked 2017-09-12 15:56:28 -0500

Yunyang Ye gravatar image

updated 2017-09-13 03:22:27 -0500

I tried to install the OpenStudio 2.2.1 in Linux, but for some reasons, I failed to install it. Could you tell me the reasons?

Error Message:

-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- Downloading EnergyPlus 8.7.0 (Redhat-x86_64)
CMake Error at CMakeLists.txt:354 (file):
  file DOWNLOAD HASH mismatch

    for file: [/projects/omra5906/openstudio/OpenStudio-2.2.1/build/EnergyPlus-8.7.0-78a111df4a-Redhat-x86_64.tar.bz2]
      expected hash: [cdda9c86e3fc2b7653a57d74fe2dbc7c]
        actual hash: [d41d8cd98f00b204e9800998ecf8427e]
             status: [22;"HTTP response code said error"]
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2017-09-13 03:37:49 -0500

updated 2017-09-13 03:42:21 -0500

I'm not familiar with installing OpenStudio on Linux, but are you trying to build OpenStudio from source or did you use the *.deb package from Github release?

Anyways, you're running in a problem with the openstudiocore/CMakeLists.txt, it's trying to download EnergyPlus at the URL openstudio-resources.s3.amazonaws.com/dependencies/EnergyPlus-8.7.0-78a111df4a-Redhat-x86_64.tar.bz2 which doesn't exists. The line where it fails is #L354 because the hash doesn't match (the file doesn't exist so that's obvious...) the expected hash that was set - for Redhat - on #L338.

FYI, the CMakeLists.txt has been changed in the latest develop branch, and some of these changes are not only because the next release of OpenStudio will support E+ 8.8.0, but now it downloads E+ from the NREL/EnergyPlus githug (see latest CMakeLists.txt).

I would go open an issue on GitHub.

If you're feeling adventurous, you can also build the source code yourself, and point to your locally installed EnergyPlus 8.7.0-78a111d in ccmake.

edit flag offensive delete link more
1

answered 2017-09-13 11:37:15 -0500

eweaver gravatar image

updated 2017-09-13 11:54:28 -0500

What is the full name of your 2.2.1 package? We generated many internal 2.2.1 packages, before finally publishing OpenStudio-2.2.1.92a7ed37f1-Linux.deb. Older versions of 2.2.1 may no longer work.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2017-09-12 15:56:28 -0500

Seen: 62 times

Last updated: Sep 13