0

I installed successfully WindSE from here, then I tried to run a demo by using the steps below: Quick Demo Instructions: here is the code I wrote and the problems I faced:

    (base) [root@localhost ~]# conda activate wera
(wera) [root@localhost ~]# ls
anaconda3                          anaconda-ks.cfg       WindSE
Anaconda3-2022.05-Linux-x86_64.sh  initial-setup-ks.cfg
(wera) [root@localhost ~]# cd WindSE
(wera) [root@localhost WindSE]# cd demo
(wera) [root@localhost demo]# cd documented
(wera) [root@localhost documented]# cd Yaml_examples
-bash: cd: Yaml_examples: No such file or directory
(wera) [root@localhost documented]# ls
Driver_Example  Yaml_Examples
(wera) [root@localhost documented]# Yaml_Examples
bash: Yaml_Examples: command not found...
(wera) [root@localhost documented]# cd Yaml_Examples
(wera) [root@localhost Yaml_Examples]# ls
0-wind_farm_2D.yaml             5-yaw_optimization.yaml       airfoil_polars
1-wind_farm_2D_layout_opt.yaml  6-alm_turbine.yaml            Input_Data
2-wind_farm_3D.yaml             7-wind_farm_2D_OM.yaml        Input_Data.zip
3-multiangle_solve.yaml         8-spacing-and-shear.yaml
4-multiangle_optimization.yaml  9-save_objective_output.yaml
(wera) [root@localhost Yaml_Examples]# windse run 0-wind_farm_2D.yaml
Traceback (most recent call last):
  File "/root/anaconda3/envs/wera/bin/windse", line 33, in <module>
    sys.exit(load_entry_point('windse', 'console_scripts', 'windse')())
  File "/root/anaconda3/envs/wera/bin/windse", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/root/anaconda3/envs/wera/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/root/anaconda3/envs/wera/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/root/WindSE/windse_driver/__init__.py", line 1, in <module>
    import windse_driver.driver
  File "/root/WindSE/windse_driver/driver.py", line 19, in <module>
    import dolfin
  File "/root/anaconda3/envs/wera/lib/python3.8/site-packages/dolfin/__init__.py", line 34, in <module>
    from .cpp import __version__
ImportError: /root/anaconda3/envs/wera/lib/python3.8/site-packages/dolfin/../../../libdolfin.so.2019.1: undefined symbol: _ZN5boost9iostreams4zlib6finishE

if you want me to add any information, please let me know

0 Answers0