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

OpenStudio app won't open, briefly opens the command prompt instead

asked 2023-06-23 09:51:19 -0500

danielsalinas96's avatar

updated 2023-06-28 07:25:11 -0500

I've downloaded OpenStudio 3.6.0 and 3.6.1 on both an M1 Macbook and Surface 8 running Windows 11, but I've yet to open the openstudio.exe app successfully from the /bin. Whenever I try to open it, the command prompt window opens and immediately closes. I've managed to screenshot the text in the window, shown below: image description

When it run it on the Macbook, I'm able to copy the text from the command prompt:

Last login: Fri Jun 23 16:36:04 on ttys000 /Applications/OpenStudio-3.6.0/bin/openstudio ; exit;
danielsalinas@Daniels-MacBook-Pro-2 ~ % /Applications/OpenStudio-3.6.0/bin/openstudio ; exit; Usage: openstudio [options] <command> [<args>] -h, --help Print this help. --verbose Print the full log to STDOUT -I, --include DIR Add additional directory to add to front of Ruby $LOAD_PATH (may be used more than once) -e, --execute CMD Execute one line of script (may be used more than once). Returns after executing commands. --gem_path DIR Add additional directory to add to front of GEM_PATH environment variable (may be used more than once) --gem_home DIR Set GEM_HOME environment variable --bundle GEMFILE Use bundler for GEMFILE --bundle_path BUNDLE_PATH Use bundler installed gems in BUNDLE_PATH --bundle_without WITHOUT_GROUPS Space separated list of groups for bundler to exclude in WITHOUT_GROUPS. Surround multiple groups with quotes like "test development".

Common commands: energyplus_version
Returns the EnergyPlus version used by the CLI list_commands Lists the entire set of available commands measure Updates measures and compute arguments openstudio_version Returns the OpenStudio version used by the CLI run Executes an OpenStudio Workflow fill update Updates OpenStudio Models to the current version

For help on any individual command run openstudio COMMAND -h

Additional commands are available, but are either more advanced or not commonly used. To see all commands, run the command openstudio list_commands.

Saving session... ...copying shared history... ...saving history...truncating history files... ...completed. [Process completed]

I also get this message occasionally: "The code execution cannot proceed because openstudiolib.dll was not found. Reinstalling the program may fix this problem." image description

This is strange because I can see the openstudio.lib.dll file in the /bin folder. Maybe it's corrupted?

I've tried many things, such as those listed on this site: [https://windowsreport.com/exe-files-n...] but to no avail. Can someone provide some insight into what might be going wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-23 19:15:00 -0500

You downloaded the OpenStudio software development kit, not the graphical interface application. The latter can be obtained from https://openstudiocoalition.org/.

edit flag offensive delete link more

Comments

Ahhh I see now. That worked. Thank you!

danielsalinas96's avatar danielsalinas96  ( 2023-06-26 03:53:07 -0500 )edit
1

@danielsalinas96 please click the check mark below the upvote/downvote buttons to mark the answer as accepted so the thread is marked as resolved, thanks!

Julien Marrec's avatar Julien Marrec  ( 2023-06-27 02:08:49 -0500 )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-23 09:51:19 -0500

Seen: 164 times

Last updated: Jun 27 '23