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

Run-on-Cloud Analysis Error

asked 2023-06-26 08:07:16 -0600

Om's avatar

updated 2023-06-28 07:23:18 -0600

Hi,

I am examining the algorithmic analysis on PAT 3.0 using the SEB PSO example and am new to the framework. Could anyone please advise on troubleshooting the Analysis Error as shown in the image? Is there any error log stored locally or on the OpenStudio Cloud Management Console?

Besides, would the error be related to the following message?

Thank you very much,

P.S. Asked in the comment, I added a couple of screenshots to show whether the analysis is running on AWS or locally. I hope they are helpful.

Version of OpenStudio Server: 3.0.0

Version of OpenStudio (CLI): Error executing argv: ["--bundle", "/var/oscli/Gemfile", "--bundle_path", "/var/oscli/gems", "openstudio_version"] Error: cannot load such file -- tmpdir in :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:769:in require' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:769:intmp_home_path' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:339:in user_home' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:351:inblock in user_bundle_path' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:363:in fetch' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:363:inuser_bundle_path' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:355:in block in user_bundle_path' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:363:infetch' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:363:in user_bundle_path' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler/settings.rb:390:inglobal_config_file' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler/settings.rb:88:in initialize' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:423:innew' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:423:in settings' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:205:inconfigured_bundle_path' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:561:in use_system_gems?' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:751:inconfigure_gem_path' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:744:in configure_gem_home_and_path' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:187:inconfigure' :/ruby/2.5.0/gems/bundler-2.1.0/lib/bundler.rb:300:in definition' :/openstudio_cli.rb:541:inparse_main_args' :/openstudio_cli.rb:727:in execute' :/openstudio_cli.rb:1757:in<main>' eval:149:in eval' eval:149:inrequire_embedded_absolute' eval:123:in block in require' eval:117:ineach' eval:117:in require' eval:3:in<main>'

image description

image description

image description

edit retag flag offensive close merge delete

Comments

are you running in the local PAT server? or using a cluster stood up by using the helm charts (or your own docker swarm locally)?

BrianLBall's avatar BrianLBall  ( 2023-06-26 14:52:57 -0600 )edit

I have followed the Algorithmic Mode example, the PSO use case, found on https://nrel.github.io/OpenStudio-use.... I downloaded the SEB example files from GirHub, and then ran the project on PAT3.0. I successfully created the AWS account. I can connect, start, and stop servers and workers via PAT. I guess it would be the cluster shoot up you mentioned. Is this about solving gem dependencies? Thanks a lot.

Om's avatar Om  ( 2023-06-26 20:58:31 -0600 )edit

To make sure, since I can connect, start, and terminate servers and workers via PAT, would there be a region limitation running the analysis as I am not located in the US?

Om's avatar Om  ( 2023-06-27 05:34:22 -0600 )edit

okay, that method to start/stop AWS resources was deprecated. That relied on older EC2 instances which are increasingly harder to find. The newer method is helm which allows for use on more providers than just AWS.

BrianLBall's avatar BrianLBall  ( 2023-06-27 07:42:16 -0600 )edit

you can ignore that CLI version error, that was fixed in later updates

BrianLBall's avatar BrianLBall  ( 2023-06-27 07:43:22 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2023-06-27 07:46:08 -0600

updated 2023-06-30 13:29:27 -0600

That error message on the Admin page was just cosmetic and is safe to ignore. It was fixed a few versions ago issue

here are some slides on PAT. Later in the deck are some tips on how to debug and where to look.

edit flag offensive delete link more

Comments

I see. How about the first screenshot with “Run Entire Workflow”? Could the message “Analysis Error” on the green status bar be ignored as well? How can I detect and fix the error (e.g., error log or detailed error messages)?

Thanks again.

Om's avatar Om  ( 2023-06-27 18:08:48 -0600 )edit

I have followed your advice on using the newer framework of PAT and OpenStudio Server (helm) and got the SEB PSO example outcomes. I will give up the old framework and try to keep up with newer developments. Thanks tremendously.

Om's avatar Om  ( 2023-06-28 04:29:03 -0600 )edit

the analysis error can be debugged on the Analysis GUI page. theres a link to see the 'log' just to the right of the link to the OSA JSON

BrianLBall's avatar BrianLBall  ( 2023-06-28 07:35:43 -0600 )edit

just added a link to some slides which include tips on how to debug

BrianLBall's avatar BrianLBall  ( 2023-06-30 13:29:54 -0600 )edit

Thank you so much. The PPT seems to be a crucial tool for a beginner like me. It helps me learn constructively about the framework.

Om's avatar Om  ( 2023-07-02 06:07:28 -0600 )edit

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

1 follower

Stats

Asked: 2023-06-26 08:07:16 -0600

Seen: 152 times

Last updated: Jun 30 '23