Closed Paopasatiht closed 2 years ago
Hi @Paopasatiht,
Thank you for reporting this issue. Can you share the error trace you get when you use docker build
?
this is the picture @antoine-galataud
Ok the problem is that dependencies now listed in requirements.txt
are not available on ubuntu 18.04, which is used as base docker image.
I have to upgrade the build. Note that it also requires an upgrade of default EnergyPlus version used in the image (Ubuntu 20.04 supported only from EnergyPlus 9.4.0 and onwards).
I config the Dockerfile like this to make it become version 9.5 link is down below but I still find the error like this: https://github.com/NREL/EnergyPlus/releases/download/v9.5.0/EnergyPlus-9.5.0-de239b2e5f-Linux-Ubuntu20.04-x86_64.sh
this is my error.
@Paopasatiht I've worked on a new version of the Dockerfile that uses EnergyPlus 9.5 and Ubuntu 20.04. I've been able to successfully build it and run an experiment in a container.
Please give it a try:
cd rl-testbed-for-energyplus
git pull
docker build . -f docker/Dockerfile -t rl-testbed-for-energyplus
now i found this error after use your code @antoine-galataud :
@Paopasatiht are you sure this was built only from master sources? Or did you use a special EnergyPlus version / download url? The error message isn’t very explicit so hard to tell what failed.
@antoine-galataud I make a little vdo to show you what I have done you can click the link down below to watch it https://drive.google.com/file/d/1k_ZCnD36bqxIIcRP3pRSI0AfNxKVdFnx/view?usp=sharing
key point:
@Paopasatiht thank you for taking some time to reproduce.
I believe the problem is because we try to install mpi4py both as a distribution package and a pip package. I’ll test a fix tomorrow but removing python-mpi4py
package from apt install
in stage 2 should be enough.
I’ll keep you posted.
@Paopasatiht Hi! I've fixed the Dockerfile
, would you mind giving it a new try? (don't forget to pull the master branch first)
@antoine-galataud it's finally work now. thankyou so much for your help.
@Paopasatiht great news!
numpy -> 1.21.0 is not work scipy 1.8.0
what i did:
problem
docker build . -f docker/Dockerfile -t rl-testbed-for-energyplus