First time here? Check out the Help page!
1 | initial version |
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.
2 | No.2 Revision |
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.