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

Running EnergyPlus on a server (RHEL)

asked 2014-12-11 09:10:52 -0600

psymo87's avatar

updated 2015-07-12 11:59:34 -0600

Dear All,

I am trying to run energyplus on a the Iridis server which is a shared facility used by UCL that runs on 64 bit Red Hat Enterprise Linux Server release 5 (Tikanga).

I first tried to run the installation script from https://github.com/nrel/EnergyPlusRel... This didn't work because it must have been built on a different version of linux and I got the following error when I tried to runenergyplus: /lib64/libc.so.6: version 'GLIBC2.14' not found I was wondering if there is a RHEL version like there was for version 7: https://groups.yahoo.com/neo/groups/E...Support/conversations/messages/27836

I also tried to compile the code myself from source but have had little luck with that. I'm trying to follow the instructions for linux from here: https://github.com/NREL/EnergyPlus The instructions aren't great because it doesn't tell you how to configure ccmake. I've tried compiling the Fortran bit and it gets to about 92% and then fails:

 File 'all' does not exist.
make[1]: Target 'all' not remade because of errors.
make: *** [all] Error 2
 File 'default_target' does not exist.
make: Target 'default_target' not remade because of errors.

I did manage to get it to compile with BUILD_PACKAGE turned on but that doesn't produce the ExpandObjects executable and so energyplus won't run.

Please help,

Phil

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
3

answered 2014-12-11 09:20:22 -0600

sanyalj's avatar

updated 2014-12-11 09:23:11 -0600

It looks like you probably have an older version of glibc installed. We faced a similar problem too. We tried a few things to solve it but in the end compiled from source because it was easier. You will however need a compiler that supports the new C11 standard. gcc 4.8 should work.

The CMake setting do not need any change for a straight forward build. Are you familiar with cmake? It is a two stage process…. If you are using the GUI (either the command line GUI or graphical), you’d hit ‘Configure’ and it will check your sustem, after which if it reports any missing dependencies or highlights issues, resolve them and repeat. If all is good, you should hit “generate” which creates the Makefiles. After that, running make should compile the source.

[Migrating the email chain]

Hi Jibo,

Thanks for your response. I'm not particularly familiar with ccmake. These are the settings I went with: BUILD_FORTRAN OFF
BUILD_PACKAGE OFF
BUILD_TESTING OFF
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /home/eisuc189/Software/EnergyPlusV82Build CMAKE_VERSION_BUILD e39e842e3f

It seemed to compile with no problem. But if I do this, it doesn't seem to produce the script: runenergyplus so I'm not sure how to run it exactly. Also, it doesn't seem to compile the ReadVarsESO or ExpandObjects parts of the code in the src/ folder. In fact, it only seemed to compile these bit of code if I turned BUILD_FORTRAN ON which seemed to work on my local (ubuntu machine) but not on the server.

No problem, i'll post the question to the group.

Thanks, Phil

Phil: I believe those scripts and additional files are added on when creating the installer package. You can take whatever you need from the installer package and use with your self compiled executable.

edit flag offensive delete link more

Comments

Thanks very much for your help. You're right it's just a case of copying the required files into the bin directory and adding it to the PATH.

psymo87's avatar psymo87  ( 2014-12-11 10:06:32 -0600 )edit

If you have a Fortran compiler, just switch on the BUILDFORTRAN flag, and you'll get ReadVarsESO, ExpandObjects, etc.

Edwin's avatar Edwin  ( 2014-12-11 10:10:50 -0600 )edit
4

answered 2014-12-11 09:43:28 -0600

long's avatar

updated 2014-12-11 09:53:49 -0600

I suggest using Chef when and where possible, but I don't think that will work for RHEL 5. We have had to create custom builds for that target in the past. Here is EnergyPlus 8.1 for RHEL 5 x86 or EnergyPlus 8.1 for RHEL 5 x64. I'm not sure about EnergyPlus 8.2.

edit flag offensive delete link more
3

answered 2014-12-11 09:21:11 -0600

We use Chef to provision EnergyPlus, Radiance, and OpenStudio on a variety of systems. Those recipes are located here: https://github.com/NREL-cookbooks/ene.... This Q&A may also be helpful. We've been having a lot of success with Docker as well.

I'll make Nick Long aware of this thread, as he's our guru on the topic.

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

Training Workshops

Careers

Question Tools

Stats

Asked: 2014-12-11 09:10:52 -0600

Seen: 798 times

Last updated: Dec 11 '14