3

How to compile Energyplus in Ubuntu 14.04 after souce code modifying?

i modified some part of the source code of EnergyPlus, and i need to recompile them. i am using Ubuntu 14.04. How to recompile them? what environment/libraries will be needed for recompiling? Thanks

building_performance's avatar
441
building_performance
asked 2017-03-02 10:03:23 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-04-20 13:44:00 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

4

The best place to find information on how to compile EnergyPlus is probably on the GitHub wiki for EnergyPlus on the page for BuildingEnergyPlus. There is also a link to this page on the bottom of the main EnergyPlus GitHub page.

JasonGlazer's avatar
6.8k
JasonGlazer
answered 2017-03-02 10:32:58 -0500
edit flag offensive 0 remove flag delete link

Comments

thanks. what does this paragraph mean as below for compiling?

Navigate in the terminal to the root of the build tree. You will launch the cmake GUI from this location. The program must be passed an argument that specifies the location of the root of the source tree. For example, if the build directory is directly next to the source directory, the command could be called for the default build environment by calling the GUI as such: ccmake ../EnergyPlusTeam

I did not find a executable named: EnergyPlusTeam

building_performance's avatar building_performance (2017-03-02 20:53:47 -0500) edit

I think that is just the name of the directory that holds the source.

JasonGlazer's avatar JasonGlazer (2017-03-03 08:29:13 -0500) edit

Yes, it is the source directory. I've been doing Linux builds lately, so I'll try to clarify that paragraph a little.

Jason DeGraw's avatar Jason DeGraw (2017-03-03 09:09:15 -0500) edit

Thanks a lot. what does the mean of EnergyPlusTeam as in the sentence: "ccmake ../EnergyPlusTeam"? I did not find file name of EnergyPlusTeam.

building_performance's avatar building_performance (2017-03-03 10:46:30 -0500) edit

You should use the directory that contains your source. So use what ever name that you are using after the "ccmake". The "../EnergyPlusTeam" is just an example that uses an old name for the source code repository.

JasonGlazer's avatar JasonGlazer (2017-03-03 11:29:04 -0500) edit
add a comment see more comments