Dear NREL Team,
I recently downloaded OpenFAST and ROSCO by following the documentation, and I am able to run OpenFAST fine as long as Bladed-style DLL is unused. When a introduce the bladed interface I get the following error:
Running ServoDyn.
Running ServoDyn Interface for Bladed Controllers (using GNU Fortran for Linux).
FAST_InitializeAll:SrvD_Init:BladedInterface_Init:The dynamic library
/Users/fredrikfleslandselheim/Library/CloudStorage/OneDrive-NTNU/MASTER_UMAINE/ROSCO-main/Examples
/rosco/lib/libdiscon.dylib could not be loaded. Check that the file exists in the specified
location and that it is compiled for 64-bit applications.
First of all, Im working on macOS M1 (aarch64), and I suspect this might be the cause of my difficulties. Also, I saw from an earlier topic that avoiding relative path could solve the issue, but it did not change any in my case.
When installing 2.1. Complete ROSCO Installation, the “pip install -e .” did not work, due to issues with “pip install wisdem” and meson.build (see error message below). However, I managed to run the setup.py, which after reading WISDEM github page was stated to be more reliable then pip install -e .
Since the error states that the libdiscon file could not be loaded, it’s likely that this originates from the compiling of the libdiscon.dylib.
I would really appreciate some guidance on how to overcome this issue! Thanks
Here are my compiler details:
OpenFAST-v3.5.2-dirty
OpenFAST-HEAD-HASH-NOTFOUND
Compile Info:
- Compiler: GCC version 13.2.0
- Architecture: 64 bit
- Precision: single
- OpenMP: No
- Date: Jan 19 2024
- Time: 03:09:38
Execution Info: - Date: 02/15/2024
- Time: 10:13:12-0500
Error message from terminal (pip install -e .)(pip install wisdem):
(base) fredrikfleslandselheim@host-0800-c4910cb0fd22 ROSCO-main % pip install -e .
Obtaining file:///Users/fredrikfleslandselheim/Library/CloudStorage/OneDrive-NTNU/MASTER_UMAINE/ROSCO-main
Installing build dependencies … done
Checking if build backend supports build_editable … done
Getting requirements to build editable … error
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 353, in
main()
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 335, in main
json_out[‘return_val’] = hook(**hook_input[‘kwargs’])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py”, line 132, in get_requires_for_build_editable
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File “/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-7jlxl5vc/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 441, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-7jlxl5vc/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[‘wheel’])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-7jlxl5vc/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 295, in _get_build_requires
self.run_setup()
File “/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-7jlxl5vc/overlay/lib/python3.11/site-packages/setuptools/build_meta.py”, line 311, in run_setup
exec(code, locals())
File “”, line 58, in
File “/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-7jlxl5vc/overlay/lib/python3.11/site-packages/cmake_build_extension/cmake_extension.py”, line 46, in init
raise ValueError(f"Directory ‘{source_dir}’ does not exist")
ValueError: Directory ‘/Users/fredrikfleslandselheim/Library/CloudStorage/OneDrive-NTNU/MASTER_UMAINE/ROSCO-main/rosco/controller’ does not exist
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
(base) fredrikfleslandselheim@host-0800-c4910cb0fd22 ROSCO-main % pip install wisdem
Collecting wisdem
Using cached wisdem-3.13.0.tar.gz (5.4 MB)
Installing build dependencies … done
Getting requirements to build wheel … error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
[‘/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-5ju55d4j/overlay/bin/meson’, ‘setup’, ‘meson_build’, ‘–wipe’, ‘–prefix=/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-install-a_om9yrk/wisdem_2c273793e3d94914af3f2f982d694a9c/meson_build’, ‘-Dpython.purelibdir=.’, ‘-Dpython.platlibdir=.’]
ERROR: Neither source directory 'meson_build' nor build directory None contain a build file meson.build.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-5ju55d4j/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-5ju55d4j/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-5ju55d4j/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 102, in <module>
File "<string>", line 62, in run_meson_build
OSError: [Errno ['/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-build-env-5ju55d4j/overlay/bin/meson', 'setup', 'meson_build', '--wipe', '--prefix=/private/var/folders/_j/v3f4kf2n3cx74jmz1_c4q0z40000gn/T/pip-install-a_om9yrk/wisdem_2c273793e3d94914af3f2f982d694a9c/meson_build', '-Dpython.purelibdir=.', '-Dpython.platlibdir=.']] The meson setup command failed! Check the log at meson_build/setup.log for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
(base) fredrikfleslandselheim@host-0800-c4910cb0fd22 ROSCO-main %