RAFT
RAFT copied to clipboard
Cannot create the raft environment on MacOS from raft-env.yaml
The error is: ` (base) MacBook-Air-2:xxx$ conda env create -f raft-env.yaml Collecting package metadata (repodata.json): done Solving environment: failed
ResolvePackageNotFound:
- m2w64-headers-git==5.0.0.4636.c0ad18a=2
- m2w64-pkg-config==0.29.1=2
- setuptools==68.0.0=py39haa95532_0
- m2w64-gcc-libgfortran==5.3.0=6
- ca-certificates==2023.05.30=haa95532_0
- mkl==2023.1.0=h8bd8f75_46356
- intel-openmp==2023.1.0=h59b6b97_46319
- m2w64-libiconv==1.14=6
- msys2-conda-epoch==20160418=1
- m2w64-bzip2==1.0.6=6
- pyhams==1.2.1=py39hab42cac_0
- m2w64-gcc==5.3.0=6
- m2w64-tools-git==5.0.0.4592.90b8472=2
- m2w64-libwinpthread-git==5.0.0.4634.697f757=2
- libflang==5.0.0=h6538335_20180525
- libblas==3.9.0=1_h8933c1f_netlib
- openmp==5.0.0=vc14_1
- m2w64-libmangle-git==5.0.0.4509.2e5a9a2=2
- sqlite==3.41.2=h2bbff1b_0
- openssl==3.0.10=h2bbff1b_0
- m2w64-gcc-ada==5.3.0=6
- vc==14.2=h21ff451_1
- vs2015_runtime==14.27.29016=h5e58377_2
- m2w64-mpfr==3.1.4=4
- m2w64-binutils==2.25.1=5
- numpy==1.25.0=py39h055cbcc_0
- m2w64-gcc-libs==5.3.0=7
- mkl_random==1.2.2=py39hf11a4ad_1
- m2w64-mpc==1.0.3=3
- libopenblas==0.3.21=pthreads_h02691f0_2
- openblas==0.3.21=pthreads_ha35c500_2
- mkl-service==2.4.0=py39h2bbff1b_1
- wheel==0.38.4=py39haa95532_0
- m2w64-gcc-libs-core==5.3.0=7
- m2w64-gcc-objc==5.3.0=6
- tbb==2021.8.0=h59b6b97_0
- pip==23.2.1=py39haa95532_0
- m2w64-zlib==1.2.8=10
- m2w64-windows-default-manifest==6.4=3
- m2w64-toolchain==5.3.0=7
- m2w64-winpthreads-git==5.0.0.4634.697f757=2
- numpy-base==1.25.0=py39h65a83cf_0
- libpython==2.1=py39haa95532_0
- m2w64-isl==0.16.1=2
- m2w64-crt-git==5.0.0.4636.2595836=2
- m2w64-gmp==6.1.0=2
- m2w64-gcc-fortran==5.3.0=6
- python==3.9.17=h1aa4202_0
- m2w64-make==4.1.2351.a80a8b8=2
- liblapack==3.9.0=5_hd5c7e75_netlib
- mkl_fft==1.3.6=py39hf11a4ad_1 ` Is this because the raft-env.yaml file only works for the linux system?
Thanks, Ying
The environment variable yaml-file and install instructions were mistakenly Windows-only. Please try these install instructions instead: https://github.com/WISDEM/RAFT/blob/install_readme/README.md
The environment variable yaml-file and install instructions were mistakenly Windows-only. Please try these install instructions instead: https://github.com/WISDEM/RAFT/blob/install_readme/README.md Thanks for your reply! I have installed WEIS on my pc, and it includes RAFT. Is there any way to run the standalone mode of RAFT within WEIS, like create an RAFT environment and run the RAFT folder in WEIS. Or I have to download the whole RAFT files separately and then run the RAFT? Thanks!
If you have WEIS installed, then you have RAFT installed. You do not need to install it twice. There may still be a benefit to having a local git clone so that you can see the source code and understand any error messages (but the installed RAFT would be from some other directory).
Hi Garrett,
I installed a local RAFT according to the instructions, but met some problems when running the examples.
In the RAFT/examples folder, I run the VolturnUS-S case but receive the following error:
(raft-env) MacBook-Air-2:examples wuying$ python example_from_yaml.py
Traceback (most recent call last):
File "/Users/wuying/RAFT/examples/example_from_yaml.py", line 6, in
import raft
ModuleNotFoundError: No module named 'raft'
Can you help to solve this problem?
Thanks,
Ying
发件人: Garrett Barter @.> 答复: WISDEM/RAFT @.> 日期: 2024年4月1日 星期一 上午10:13 收件人: WISDEM/RAFT @.> 抄送: Ying Wu @.>, Author @.***> 主题: Re: [WISDEM/RAFT] Cannot create the raft environment on MacOS from raft-env.yaml (Issue #46)
If you have WEIS installed, then you have RAFT installed. You do not need to install it twice. There may still be a benefit to having a local git clone so that you can see the source code and understand any error messages (but the installed RAFT would be from some other directory).
— Reply to this email directly, view it on GitHubhttps://github.com/WISDEM/RAFT/issues/46#issuecomment-2029038991, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZSBNPWW5A7RWLZB2MPQ7TY3C7FBAVCNFSM6AAAAABFILCIDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRZGAZTQOJZGE. You are receiving this because you authored the thread.Message ID: @.***>
If you received the error no module named, 'raft'
, then the install was not successful. You might have to post the log or screenshot of your terminal with the installation commands you used.
Hi Garrett,
I run the example case IEA-15-240-RWT-UMaineSemi by RAFT, and I have a question. I notice that the ‘platform’in yaml file include qtfPath : 'IEA-15-240-RWT-UMaineSemi.12d'.
-
Why we need this file to run RAFT?
-
How to generate this file?
-
What’s the information in the file refers to?
Thanks, Ying
发件人: Garrett Barter @.> 答复: WISDEM/RAFT @.> 日期: 2024年4月4日 星期四 上午11:26 收件人: WISDEM/RAFT @.> 抄送: Ying Wu @.>, Author @.***> 主题: Re: [WISDEM/RAFT] Cannot create the raft environment on MacOS from raft-env.yaml (Issue #46)
If you received the error no module named, 'raft', then the install was not successful. You might have to post the log or screenshot of your terminal with the installation commands you used.
— Reply to this email directly, view it on GitHubhttps://github.com/WISDEM/RAFT/issues/46#issuecomment-2036104725, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZSBNPPSONVOIVKXIBCWETY3TB7JAVCNFSM6AAAAABFILCIDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZWGEYDINZSGU. You are receiving this because you authored the thread.Message ID: @.***>
@mattEhall - I'll hand this off to you
Thanks Garrett. Hi Ying, That line relates to a second-order wave excitation difference-frequency QTF file. It's an option with some capabilities under development and was included there accidentally. You should be able to just remove that line from the input file. If there is still a problem, there may also be a qtf or hydro mod input line that you could also remove to use the default options. Let me know if there's still an issue and I can look in detail. Matt
Hi Matt,
Thanks for your detailed reply. I remove that line and it works using the default options.
I also have another two general questions about RAFT.
-
How to implement the frequency-domain simulation of wind turbine in RAFT? Can RAFT generate some physical quantities of wind turbine (e.g. stress of key components) for fatigue analysis?
-
As far as I know, the commercial software Sesam – HydroD by DNV is also a frequency-domain tool for floating structure. So what’s the difference between RAFT and HydroD?
Thanks, Ying
发件人: Matt Hall @.> 答复: WISDEM/RAFT @.> 日期: 2024年4月12日 星期五 下午10:07 收件人: WISDEM/RAFT @.> 抄送: Ying Wu @.>, Author @.***> 主题: Re: [WISDEM/RAFT] Cannot create the raft environment on MacOS from raft-env.yaml (Issue #46)
Thanks Garrett. Hi Ying, That line relates to a second-order wave excitation difference-frequency QTF file. It's an option with some capabilities under development and was included there accidentally. You should be able to just remove that line from the input file. If there is still a problem, there may also be a qtf or hydro mod input line that you could also remove to use the default options. Let me know if there's still an issue and I can look in detail. Matt
— Reply to this email directly, view it on GitHubhttps://github.com/WISDEM/RAFT/issues/46#issuecomment-2051831670, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZSBNIAY6PWWPBXIHFRKTTY47TATAVCNFSM6AAAAABFILCIDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRHAZTCNRXGA. You are receiving this because you authored the thread.Message ID: @.***>
Hi Matt,
If I understand correctly, the default options (without QTF file) do not calculate the 2nd-order wave force, while specifying QTF file means the calculation of the 2nd-order wave force. I run the example case (IEA 15MW + VolturnUS-Semi) in the two different ways, but they seems generate the same results in terms of the PSD of 6-DOF motions.
Is there any substantive differences between the activation or deactivation of QTF file when running RAFT?
Thanks, Ying
发件人: Matt Hall @.> 答复: WISDEM/RAFT @.> 日期: 2024年4月12日 星期五 下午10:07 收件人: WISDEM/RAFT @.> 抄送: Ying Wu @.>, Author @.***> 主题: Re: [WISDEM/RAFT] Cannot create the raft environment on MacOS from raft-env.yaml (Issue #46)
Thanks Garrett. Hi Ying, That line relates to a second-order wave excitation difference-frequency QTF file. It's an option with some capabilities under development and was included there accidentally. You should be able to just remove that line from the input file. If there is still a problem, there may also be a qtf or hydro mod input line that you could also remove to use the default options. Let me know if there's still an issue and I can look in detail. Matt
— Reply to this email directly, view it on GitHubhttps://github.com/WISDEM/RAFT/issues/46#issuecomment-2051831670, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZSBNIAY6PWWPBXIHFRKTTY47TATAVCNFSM6AAAAABFILCIDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJRHAZTCNRXGA. You are receiving this because you authored the thread.Message ID: @.***>