Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic writing of various DLC input files #183

Closed
kpramng opened this issue Aug 9, 2022 · 32 comments
Closed

Automatic writing of various DLC input files #183

kpramng opened this issue Aug 9, 2022 · 32 comments

Comments

@kpramng
Copy link

kpramng commented Aug 9, 2022

Description of feature

Already, Is there any Python based script available that can be used to run a set of DLC's at one shot. For example, a script that can run NTM simulations from 3m/s to 25 m/s (basically create the input files for such a simulation) along with the cases like idling, idling above cut out etc.

Potential solution

A Python script that can create multiple input files or point to various files like controllers, brakes etc. for each of the simulations.

Best,
Karthik

@dzalkind
Copy link
Collaborator

dzalkind commented Aug 9, 2022

Hi Karthik,

Yes, in the develop branch, this script will run these DLCs for this OpenFAST model.

If you uncomment this line it should run DLC 1.1 from cut-in to cut-out, with 6 seeds each. You can also select certain wind speeds and number of seeds.

I hope this helps.

Best, Dan

@kpramng
Copy link
Author

kpramng commented Aug 9, 2022

Hi Dan,

Thanks a lot for getting back, this really helps. I am not that great with programming and hence pardon me for my naïve questions.

The *.yaml files, are they Python scripts that I can run in Anaconda etc. and can I use the script to run a Open fast model that I have.

Best,
Karthik

@dzalkind
Copy link
Collaborator

dzalkind commented Aug 9, 2022

Hi Karthik,

You run python scripts with .py extensions in an Anaconda environment using python weis_driver_loads.py, for example.

The .yaml files are inputs to WEIS. If you look in weis_driver_loads.py, you will see they are set as the geometry, modeling, and analysis inputs to WEIS.

@kpramng
Copy link
Author

kpramng commented Aug 9, 2022

Hi Dan,

So, can I run the python script 'weis_driver_loads.py' in Python as is separately & if so is it so that I have to point to the path of .yaml file in the Python script.

Again, excuse me for my naive queries in coding.

Best,
Karthik

@dzalkind
Copy link
Collaborator

dzalkind commented Aug 9, 2022

Yes, right around here:

fname_wt_input = run_dir + os.sep + 'IEA-15-240-RWT.yaml'

@kpramng
Copy link
Author

kpramng commented Aug 9, 2022

Thanks a lot Dan. I will git a shot and update.

Best,
Karthik

@kpramng
Copy link
Author

kpramng commented Sep 6, 2022

Hi Karthik,

Yes, in the develop branch, this script will run these DLCs for this OpenFAST model.

If you uncomment this line it should run DLC 1.1 from cut-in to cut-out, with 6 seeds each. You can also select certain wind speeds and number of seeds.

I hope this helps.

Best, Dan

Hi Dan,

Do I need to install WEIS to run this script for a Onshore Wind turbine. Is there a similar file for Onshore turbines.

Regards,
Karthik

@dzalkind
Copy link
Collaborator

dzalkind commented Sep 6, 2022

Hi Karthik,

Yes, you need to install WEIS to run scripts that import weis.*.

Here is an onshore example. Note that it does not have platform or mooring geometry options, and the floating DOFs are set to False in the modeling options.

Best, Dan

@kpramng
Copy link
Author

kpramng commented Sep 26, 2022

Hi Dan,

Thanks a lot for the reply. Is there a way to create one .fst file that will have the wind speeds from cut-in to cut-out or separete .fst files are needed for running simulations from cut-in to cut-out. For example from 3m/s to 25 m/s, do I need to create 23 .fst files?

Best regards,
Karthik

@dzalkind
Copy link
Collaborator

Each .fst file will need to point to a different InflowWind file that will specify each wind speed. I'd recommend a full set of OpenFAST inputs for each case. That is our regular practice.

Running this example will set up the cases, generate the wind inputs, and run the simulations.

You will need to edit the DLCs in the modeling options. The DLCs in this example are close to what you are looking for, if you set ws_bin_size to 2.

@kpramng
Copy link
Author

kpramng commented Oct 3, 2022

Hi Dan,

Probably a dumb question. If I want to run https://github.com/WISDEM/WEIS/blob/develop/examples/02_control_opt/modeling_options_loads.yaml, (will set up the cases, generate the wind inputs, and run the simulations.)does that mean that I have to run WEIS so that it generates all the .fst files and the corresponding inputs, for example like. -dat files etc. needed to run an OpenFast Aeroelastic simulation? If so, can you help me find the instructions on how to run WEIS so that those inputs will be created.

Best regards,
Karthik

@dzalkind
Copy link
Collaborator

dzalkind commented Oct 3, 2022

Yes, you will need to run WEIS. I added some documentation here:

https://github.com/WISDEM/WEIS/tree/develop/examples/02_control_opt

Running the weis_driver.py files will load modeling, geometry, and analysis options to run WEIS.

More info can be found here: https://github.com/WISDEM/WEIS/blob/develop/docs/how_weis_works.rst

@kpramng
Copy link
Author

kpramng commented Oct 4, 2022

Hi @dzalkind ,

I got the below error while trying to run WEIS with the command python weis_driver.py

When I first installed WEIS, I used the instructions mentioned here https://github.com/WISDEM/WEIS

image

@gbarter
Copy link
Member

gbarter commented Oct 4, 2022

It looks like WEIS isn't installed in the weis-env environment. Make sure you have installed WEIS there by doing python setup.py develop in your Users\prakakar\source\WEIS directory. It is also a good idea to do a git pull before that to ensure you are current with the repository.

@kpramng
Copy link
Author

kpramng commented Oct 4, 2022

I will try that out. Should I clone the develop branch or the main would suffice?

@gbarter
Copy link
Member

gbarter commented Oct 4, 2022

Aim for the develop branch, as that will be released into main shortly.

@kpramng
Copy link
Author

kpramng commented Oct 4, 2022

I followed the instructions (as well as tried python setup.py develop in your Users\prakakar\source\WEIS directory.) https://github.com/WISDEM/WEIS/tree/develop
But the same error is popping up

(base) C:>cd C:\Users\prakakar\source\WIES_Develop\WEIS\examples\02_control_opt

(base) C:\Users\prakakar\source\WIES_Develop\WEIS\examples\02_control_opt>conda activate weis-env

(weis-env) C:\Users\prakakar\source\WIES_Develop\WEIS\examples\02_control_opt>python weis_driver.py
Traceback (most recent call last):
File "weis_driver.py", line 2, in
from weis.glue_code.runWEIS import run_weis
ModuleNotFoundError: No module named 'weis'

(weis-env) C:\Users\prakakar\source\WIES_Develop\WEIS\examples\02_control_opt>python weis_driver.py
Traceback (most recent call last):
File "weis_driver.py", line 2, in
from weis.glue_code.runWEIS import run_weis
ModuleNotFoundError: No module named 'weis'

(weis-env) C:\Users\prakakar\source\WIES_Develop\WEIS\examples\02_control_opt>python weis_driver.py
Traceback (most recent call last):
File "weis_driver.py", line 2, in
from weis.glue_code.runWEIS import run_weis
ModuleNotFoundError: No module named 'weis'

(weis-env) C:\Users\prakakar\source\WIES_Develop\WEIS\examples\02_control_opt>

@gbarter
Copy link
Member

gbarter commented Oct 4, 2022

The installation is failing in some way. Please post the results of the install instructions you followed.

Also note that WEIS does not run on Windows unless you are running in the Windows Subsystem Linux

@kpramng
Copy link
Author

kpramng commented Oct 4, 2022

I don't have Linux installed and is using only Windows. Is there any possibility to run it on Windows.

I followed the below commands:

``conda env create --name weis-env -f https://raw.githubusercontent.com/WISDEM/WEIS/develop/environment.yml python=3.9
conda activate weis-env # (if this does not work, try source activate weis-env)

git clone https://github.com/WISDEM/WEIS.git
cd WEIS
git checkout "develop" # (Only if you want to switch branches, say "develop")
python setup.py develop # (The common "pip install -e ." will not work here)

@gbarter
Copy link
Member

gbarter commented Oct 4, 2022

You posted the commands you are using for the install, but not the output on the terminal. Regardless, the install is likely failing because you are using regular Windows. We have some ideas to make Windows better supported in the future using conda, but that has not been implemented yet. For now, I would suggest using the Windows Ubuntu Subsystem Linux or installing a virtual machine.

@kpramng
Copy link
Author

kpramng commented Oct 4, 2022

Sorry for the mess, this was the output of commands

conda env create --name weis-env -f https://raw.githubusercontent.com/WISDEM/WEIS/develop/environment.yml python=3.9

image

conda activate weis-env

image

git clone https://github.com/WISDEM/WEIS.git

image

git checkout branch_name

image

python setup.py develop

(weis-env) C:\Users\prakakar\source\WEIS_Develop_Rev2\WEIS>python setup.py develop
setup.py:7: DeprecationWarning:

numpy.distutils is deprecated since NumPy 1.23.0, as a result
of the deprecation of distutils itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use setuptools < 60.0 for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html

from numpy.distutils.command.build_ext import build_ext
['setup.py', 'develop']
running develop
C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\setuptools\command\easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build_scripts
running egg_info
running build_src
INFO: build_src
INFO: building extension "wisdem.ccblade._bem" sources
INFO: f2py options: []
INFO: f2py:> build\src.win-amd64-3.8\wisdem\ccblade_bemmodule.c
creating build
creating build\src.win-amd64-3.8
creating build\src.win-amd64-3.8\wisdem
creating build\src.win-amd64-3.8\wisdem\ccblade
Reading fortran codes...
Reading file 'wisdem\ccblade\src\bem.f90' (format:free)
Post-processing...
Block: _bem
Block: inductionfactors
In: :_bem:wisdem\ccblade\src\bem.f90:inductionfactors
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: relativewind
In: :_bem:wisdem\ccblade\src\bem.f90:relativewind
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: definecurvature
In: :_bem:wisdem\ccblade\src\bem.f90:definecurvature
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: windcomponents
In: :_bem:wisdem\ccblade\src\bem.f90:windcomponents
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: thrusttorque
In: :_bem:wisdem\ccblade\src\bem.f90:thrusttorque
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: inductionfactors_dv
In: :_bem:wisdem\ccblade\src\bem.f90:inductionfactors_dv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: relativewind_dv
In: :_bem:wisdem\ccblade\src\bem.f90:relativewind_dv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: windcomponents_dv
In: :_bem:wisdem\ccblade\src\bem.f90:windcomponents_dv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: definecurvature_dv
In: :_bem:wisdem\ccblade\src\bem.f90:definecurvature_dv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: thrusttorque_bv
In: :_bem:wisdem\ccblade\src\bem.f90:thrusttorque_bv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: definecurvature_bv
In: :_bem:wisdem\ccblade\src\bem.f90:definecurvature_bv
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: definecurvature_dv2
In: :_bem:wisdem\ccblade\src\bem.f90:definecurvature_dv2
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Post-processing (stage 2)...
Building modules...
Building module "_bem"...
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "inductionfactors"...
fzero,a,ap = inductionfactors(r,chord,rhub,rtip,phi,cl,cd,b,vx,vy,[usecd,hubloss,tiploss,wakerotation])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "relativewind"...
alpha,w,re = relativewind(phi,a,ap,vx,vy,pitch,chord,theta,rho,mu)
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "definecurvature"...
x_az,y_az,z_az,cone,s = definecurvature(r,precurve,presweep,precone,[n])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "windcomponents"...
vx,vy = windcomponents(r,precurve,presweep,precone,yaw,tilt,azimuth,uinf,omegarpm,hubht,shearexp,[n])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "thrusttorque"...
t,y,z,q,m = thrusttorque(np,tp,r,precurve,presweep,precone,rhub,rtip,precurvetip,presweeptip,[n])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "inductionfactors_dv"...
fzero,fzerod,a,ad,ap,apd = inductionfactors_dv(r,rd,chord,chordd,rhub,rhubd,rtip,rtipd,phi,phid,cl,cld,cd,cdd,b,vx,vxd,vy,vyd,[usecd,hubloss,tiploss,wakerotation,nbdirs])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "relativewind_dv"...
alpha,alphad,w,wd,re,red = relativewind_dv(phi,phid,a,ad,ap,apd,vx,vxd,vy,vyd,pitch,pitchd,chord,chordd,theta,thetad,rho,mu,[nbdirs])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "windcomponents_dv"...
vx,vxd,vy,vyd = windcomponents_dv(r,rd,precurve,precurved,presweep,presweepd,precone,preconed,yaw,yawd,tilt,tiltd,azimuth,azimuthd,uinf,uinfd,omegarpm,omegarpmd,hubht,hubhtd,shearexp,shearexpd,[n,nbdirs])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "definecurvature_dv"...
x_az,x_azd,y_az,y_azd,z_az,z_azd,cone,coned,s = definecurvature_dv(r,rd,precurve,precurved,presweep,presweepd,precone,preconed,[n,nbdirs])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "thrusttorque_bv"...
npb,tpb,rb,precurveb,presweepb,preconeb,rhubb,rtipb,precurvetipb,presweeptipb = thrusttorque_bv(np,tp,r,precurve,presweep,precone,rhub,rtip,precurvetip,presweeptip,tb,yb,zb,qb,mb,[n,nbdirs])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "definecurvature_bv"...
definecurvature_bv(r,rb,precurve,precurveb,presweep,presweepb,precone,preconeb,x_az,x_azb,y_az,z_az,z_azb,cone,coneb,s,sb,[n,nbdirs])
Generating possibly empty wrappers"
Maybe empty "_bem-f2pywrappers.f"
Constructing wrapper function "definecurvature_dv2"...
x_az,x_azd,y_az,y_azd,z_az,z_azd,cone,coned,s,sd = definecurvature_dv2(r,rd,precurve,precurved,presweep,presweepd,precone,preconed,[n,nbdirs])
Wrote C/API module "_bem" to file "build\src.win-amd64-3.8\wisdem\ccblade_bemmodule.c"
INFO: adding 'build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\ccblade\fortranobject.c' to sources.
INFO: adding 'build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\ccblade' to include_dirs.
creating build\src.win-amd64-3.8\build
creating build\src.win-amd64-3.8\build\src.win-amd64-3.8
creating build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem
creating build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\ccblade
copying C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\numpy\f2py\src\fortranobject.c -> build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\ccblade
copying C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\numpy\f2py\src\fortranobject.h -> build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\ccblade
INFO: adding 'build\src.win-amd64-3.8\wisdem\ccblade_bem-f2pywrappers.f' to sources.
INFO: building extension "wisdem.pyframe3dd._pyframe3dd" sources
INFO: building extension "wisdem.rotorse._precomp" sources
INFO: f2py options: []
INFO: f2py:> build\src.win-amd64-3.8\wisdem\rotorse_precompmodule.c
creating build\src.win-amd64-3.8\wisdem\rotorse
Reading fortran codes...
Reading file 'wisdem\rotorse\PreCompPy.f90' (format:free)
Post-processing...
Block: _precomp
Block: precomp
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 4
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 4
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: properties
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp:properties
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: embed_us
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp:embed_us
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: embed_ls
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp:embed_ls
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: seg_info
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp:seg_info
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: tw_rate
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp:tw_rate
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: q_bars
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp:q_bars
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Block: q_tildas
In: :_precomp:wisdem\rotorse\PreCompPy.f90:precomp:q_tildas
get_parameters: got "eval() arg 1 must be a string, bytes or code object" on 8
Post-processing (stage 2)...
Block: _precomp
Block: unknown_interface
Block: precomp
Block: properties
Block: embed_us
Block: embed_ls
Block: seg_info
Block: tw_rate
Block: q_bars
Block: q_tildas
Building modules...
Building module "_precomp"...
Constructing F90 module support for "precomp"...
Variables: dbp pi r2d eps
Constructing wrapper function "precomp.properties"...
eifbar,eilbar,gjbar,eabar,eiflbar,sfbar,slbar,sftbar,sltbar,satbar,z_sc,y_sc,ztc_ref,ytc_ref,mass,area,iflap_eta,ilag_zeta,tw_iner,zcm_ref,ycm_ref = properties(chord,tw_aero_d,tw_prime_d,le_loc,xnode,ynode,e1,e2,g12,anu12,density,xsec_nodeu,n_laminau,n_pliesu,t_lamu,tht_lamu,mat_lamu,xsec_nodel,n_laminal,n_pliesl,t_laml,tht_laml,mat_laml,nweb,loc_web,n_laminaw,n_pliesw,t_lamw,tht_lamw,mat_lamw,[n_af_nodes,n_materials,n_sctu,n_sctl,nwebin,n_laminatotalu,n_laminatotall,n_laminatotalw])
Constructing wrapper function "precomp.embed_us"...
y,newnode = embed_us(x,nodes_u,xnode_u,ynode_u)
Constructing wrapper function "precomp.embed_ls"...
y,newnode = embed_ls(x,nodes_l,xnode_l,ynode_l)
Creating wrapper for Fortran subroutine "seg_info"("seg_info")...
Constructing wrapper function "precomp.seg_info"...
isur,idsect,yseg,zseg,wseg,sthseg,cthseg,s2thseg,c2thseg = seg_info(ch,rle,nseg,nseg_u,nseg_p,xnode_u,ynode_u,xnode_l,ynode_l,ndl1,ndu1,loc_web,weby_u,weby_l,n_scts,xsec_node,[nsecnode])
Constructing wrapper function "precomp.tw_rate"...
th_prime = tw_rate(sloc,tw_aero,[naf])
Creating wrapper for Fortran subroutine "q_bars"("q_bars")...
Constructing wrapper function "precomp.q_bars"...
qbar11,qbar22,qbar12,qbar16,qbar26,qbar66,rho_m = q_bars(mat,thp,density,q11,q22,q12,q66)
Constructing wrapper function "precomp.q_tildas"...
qtil = q_tildas(qbar11,qbar22,qbar12,qbar16,qbar26,qbar66,mat)
Wrote C/API module "_precomp" to file "build\src.win-amd64-3.8\wisdem\rotorse_precompmodule.c"
Fortran 90 wrappers are saved to "build\src.win-amd64-3.8\wisdem\rotorse_precomp-f2pywrappers2.f90"
INFO: adding 'build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\rotorse\fortranobject.c' to sources.
INFO: adding 'build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\rotorse' to include_dirs.
creating build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\rotorse
copying C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\numpy\f2py\src\fortranobject.c -> build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\rotorse
copying C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\numpy\f2py\src\fortranobject.h -> build\src.win-amd64-3.8\build\src.win-amd64-3.8\wisdem\rotorse
INFO: adding 'build\src.win-amd64-3.8\wisdem\rotorse_precomp-f2pywrappers2.f90' to sources.
INFO: build_src: building npy-pkg config files
creating WISDEM.egg-info
writing WISDEM.egg-info\PKG-INFO
writing dependency_links to WISDEM.egg-info\dependency_links.txt
writing entry points to WISDEM.egg-info\entry_points.txt
writing requirements to WISDEM.egg-info\requires.txt
writing top-level names to WISDEM.egg-info\top_level.txt
writing manifest file 'WISDEM.egg-info\SOURCES.txt'
C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\setuptools\command\egg_info.py:624: SetuptoolsDeprecationWarning: Custom 'build_py' does not implement 'get_data_files_without_manifest'.
Please extend command classes from setuptools instead of distutils.
warnings.warn(
reading manifest file 'WISDEM.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'WISDEM.egg-info\SOURCES.txt'
running build_ext
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
INFO: customize MSVCCompiler
INFO: customize MSVCCompiler using build_ext
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (/O2)
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar\Anaconda3
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar\Anaconda3\envs
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar\Anaconda3\envs\weis-env
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar\Anaconda3\envs\weis-env\Lib
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar\Anaconda3\envs\weis-env\Lib\site-packages
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar\Anaconda3\envs\weis-env\Lib\site-packages\numpycreating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar\Anaconda3\envs\weis-env\Lib\site-packages\numpy\distutils
creating C:\Users\prakakar\AppData\Local\Temp\tmp_z_5yjm6\Users\prakakar\Anaconda3\envs\weis-env\Lib\site-packages\numpy\distutils\checks
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (/WX)
WARN: CCompilerOpt.init[1240] : feature 'AVX512_KNL' is disabled, MSVC compiler doesn't support it
WARN: CCompilerOpt.init[1240] : feature 'AVX512_KNM' is disabled, MSVC compiler doesn't support it
INFO: CCompilerOpt.init[1782] : check requested baseline
INFO: CCompilerOpt.feature_test[1547] : testing feature 'SSE' with flags ()
INFO: CCompilerOpt.feature_test[1547] : testing feature 'SSE2' with flags ()
INFO: CCompilerOpt.feature_test[1547] : testing feature 'SSE3' with flags ()
INFO: CCompilerOpt.init[1791] : check requested dispatch-able features
INFO: CCompilerOpt.feature_test[1547] : testing feature 'SSE41' with flags ()
INFO: CCompilerOpt.feature_test[1547] : testing feature 'SSSE3' with flags ()
INFO: CCompilerOpt.feature_test[1547] : testing feature 'POPCNT' with flags ()
INFO: CCompilerOpt.feature_test[1547] : testing feature 'SSE42' with flags ()
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (/arch:AVX)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'F16C' with flags (/arch:AVX)
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (/arch:AVX2)
INFO: CCompilerOpt.cc_test_flags[1073] : testing flags (/arch:AVX512)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'AVX512CD' with flags (/arch:AVX512)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'AVX2' with flags (/arch:AVX2)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'FMA3' with flags (/arch:AVX2)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'AVX512F' with flags (/arch:AVX512)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'AVX' with flags (/arch:AVX)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'AVX512_SKX' with flags (/arch:AVX512)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'AVX512_CNL' with flags (/arch:AVX512)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'AVX512_CLX' with flags (/arch:AVX512)
INFO: CCompilerOpt.feature_test[1547] : testing feature 'AVX512_ICL' with flags (/arch:AVX512)
INFO: CCompilerOpt.init[1803] : skip features (SSE2 SSE SSE3) since its part of baseline
INFO: CCompilerOpt.init[1807] : initialize targets groups
INFO: CCompilerOpt.init[1809] : parse target group simd_test
INFO: CCompilerOpt._parse_target_tokens[2020] : skip targets (VSX2 XOP NEON VXE ASIMD VX VSX4 VSX3 VXE2 VSX FMA4) not part of baseline or dispatch-able features
INFO: CCompilerOpt._parse_policy_not_keepbase[2132] : skip baseline features (SSE2)
INFO: CCompilerOpt.generate_dispatch_header[2353] : generate CPU dispatch header: (build\src.win-amd64-3.8\numpy\distutils\include\npy_cpu_dispatch_config.h)
WARN: CCompilerOpt.generate_dispatch_header[2362] : dispatch header dir build\src.win-amd64-3.8\numpy\distutils\include does not exist, creating it
INFO: CCompilerOpt.feature_extra_checks[1627] : Testing extra checks for feature 'AVX512F' (AVX512F_REDUCE)
INFO: CCompilerOpt.feature_extra_checks[1627] : Testing extra checks for feature 'AVX512_SKX' (AVX512BW_MASK AVX512DQ_MASK)
INFO: get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
INFO: customize GnuFCompiler
WARN: Could not locate executable g77
WARN: Could not locate executable f77
INFO: customize IntelVisualFCompiler
WARN: Could not locate executable ifort
WARN: Could not locate executable ifl
INFO: customize AbsoftFCompiler
WARN: Could not locate executable f90
INFO: customize CompaqVisualFCompiler
INFO: Found executable C:\Users\prakakar\Anaconda3\envs\weis-env\Library\usr\bin\DF.exe
INFO: customize IntelItaniumVisualFCompiler
WARN: Could not locate executable efl
INFO: customize Gnu95FCompiler
WARN: Could not locate executable gfortran
WARN: Could not locate executable f95
INFO: customize G95FCompiler
WARN: Could not locate executable g95
INFO: customize IntelEM64VisualFCompiler
INFO: customize IntelEM64TFCompiler
WARN: Could not locate executable efort
WARN: Could not locate executable efc
INFO: customize PGroupFlangCompiler
WARN: Could not locate executable flang
WARN: don't know how to compile Fortran code on platform 'nt'
warning: build_ext: f77_compiler=None is not available.

INFO: building 'wisdem.ccblade._bem' extension
running develop
running egg_info
creating rosco.egg-info
writing rosco.egg-info\PKG-INFO
writing dependency_links to rosco.egg-info\dependency_links.txt
writing requirements to rosco.egg-info\requires.txt
writing top-level names to rosco.egg-info\top_level.txt
writing manifest file 'rosco.egg-info\SOURCES.txt'
reading manifest file 'rosco.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'rosco.egg-info\SOURCES.txt'
running build_ext
Creating c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages\rosco.egg-link (link to .)
Removing rosco 2.6.0 from easy-install.pth file
Adding rosco 2.6.0 to easy-install.pth file

Installed c:\users\prakakar\source\weis_develop_rev2\weis\rosco
Processing dependencies for rosco==2.6.0
Searching for pandas==1.5.0
Best match: pandas 1.5.0
Adding pandas 1.5.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for future==0.18.2
Best match: future 0.18.2
Adding future 0.18.2 to easy-install.pth file
Installing futurize-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing futurize.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pasteurize-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pasteurize.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for PyYAML==6.0
Best match: PyYAML 6.0
Adding PyYAML 6.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for scipy==1.9.1
Best match: scipy 1.9.1
Adding scipy 1.9.1 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pytest==7.1.3
Best match: pytest 7.1.3
Adding pytest 7.1.3 to easy-install.pth file
Installing py.test-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing py.test.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pytest-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pytest.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for numpy==1.23.3
Best match: numpy 1.23.3
Adding numpy 1.23.3 to easy-install.pth file
Installing f2py-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing f2py.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for matplotlib==3.6.0
Best match: matplotlib 3.6.0
Adding matplotlib 3.6.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pytz==2022.4
Best match: pytz 2022.4
Adding pytz 2022.4 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for python-dateutil==2.8.2
Best match: python-dateutil 2.8.2
Adding python-dateutil 2.8.2 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for colorama==0.4.5
Best match: colorama 0.4.5
Adding colorama 0.4.5 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for tomli==2.0.1
Best match: tomli 2.0.1
Adding tomli 2.0.1 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for py==1.11.0
Best match: py 1.11.0
Adding py 1.11.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pluggy==1.0.0
Best match: pluggy 1.0.0
Adding pluggy 1.0.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for packaging==21.3
Best match: packaging 21.3
Adding packaging 21.3 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for iniconfig==1.1.1
Best match: iniconfig 1.1.1
Adding iniconfig 1.1.1 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for attrs==22.1.0
Best match: attrs 22.1.0
Adding attrs 22.1.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for kiwisolver==1.4.4
Best match: kiwisolver 1.4.4
Adding kiwisolver 1.4.4 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for contourpy==1.0.5
Best match: contourpy 1.0.5
Adding contourpy 1.0.5 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pyparsing==3.0.9
Best match: pyparsing 3.0.9
Adding pyparsing 3.0.9 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for Pillow==9.2.0
Best match: Pillow 9.2.0
Adding Pillow 9.2.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for cycler==0.11.0
Best match: cycler 0.11.0
Adding cycler 0.11.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for fonttools==4.37.4
Best match: fonttools 4.37.4
Adding fonttools 4.37.4 to easy-install.pth file
Installing fonttools-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing fonttools.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftmerge-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftmerge.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftsubset-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftsubset.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing ttx-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing ttx.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for six==1.16.0
Best match: six 1.16.0
Adding six 1.16.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Finished processing dependencies for rosco==2.6.0
running develop
running egg_info
creating pCrunch.egg-info
writing pCrunch.egg-info\PKG-INFO
writing dependency_links to pCrunch.egg-info\dependency_links.txt
writing requirements to pCrunch.egg-info\requires.txt
writing top-level names to pCrunch.egg-info\top_level.txt
writing manifest file 'pCrunch.egg-info\SOURCES.txt'
reading manifest file 'pCrunch.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'pCrunch.egg-info\SOURCES.txt'
running build_ext
Creating c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages\pCrunch.egg-link (link to .)
Removing pCrunch 1.0.0 from easy-install.pth file
Adding pCrunch 1.0.0 to easy-install.pth file

Installed c:\users\prakakar\source\weis_develop_rev2\weis\pcrunch
Processing dependencies for pCrunch==1.0.0
Searching for fatpack==0.7.3
Best match: fatpack 0.7.3
Adding fatpack 0.7.3 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for seaborn==0.12.0
Best match: seaborn 0.12.0
Adding seaborn 0.12.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for PyYAML==6.0
Best match: PyYAML 6.0
Adding PyYAML 6.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for scipy==1.9.1
Best match: scipy 1.9.1
Adding scipy 1.9.1 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for numpy==1.23.3
Best match: numpy 1.23.3
Adding numpy 1.23.3 to easy-install.pth file
Installing f2py-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing f2py.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for matplotlib==3.6.0
Best match: matplotlib 3.6.0
Adding matplotlib 3.6.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pandas==1.5.0
Best match: pandas 1.5.0
Adding pandas 1.5.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for kiwisolver==1.4.4
Best match: kiwisolver 1.4.4
Adding kiwisolver 1.4.4 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for packaging==21.3
Best match: packaging 21.3
Adding packaging 21.3 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for contourpy==1.0.5
Best match: contourpy 1.0.5
Adding contourpy 1.0.5 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for python-dateutil==2.8.2
Best match: python-dateutil 2.8.2
Adding python-dateutil 2.8.2 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pyparsing==3.0.9
Best match: pyparsing 3.0.9
Adding pyparsing 3.0.9 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for Pillow==9.2.0
Best match: Pillow 9.2.0
Adding Pillow 9.2.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for cycler==0.11.0
Best match: cycler 0.11.0
Adding cycler 0.11.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for fonttools==4.37.4
Best match: fonttools 4.37.4
Adding fonttools 4.37.4 to easy-install.pth file
Installing fonttools-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing fonttools.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftmerge-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftmerge.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftsubset-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftsubset.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing ttx-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing ttx.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pytz==2022.4
Best match: pytz 2022.4
Adding pytz 2022.4 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for six==1.16.0
Best match: six 1.16.0
Adding six 1.16.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Finished processing dependencies for pCrunch==1.0.0
running develop
running build_scripts
running egg_info
running build_src
INFO: build_src
creating pyHAMS.egg-info
writing pyHAMS.egg-info\PKG-INFO
writing dependency_links to pyHAMS.egg-info\dependency_links.txt
writing top-level names to pyHAMS.egg-info\top_level.txt
writing manifest file 'pyHAMS.egg-info\SOURCES.txt'
reading manifest file 'pyHAMS.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'pyHAMS.egg-info\SOURCES.txt'
running build_ext
Creating c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages\pyHAMS.egg-link (link to .)
Removing pyHAMS 1.0.0 from easy-install.pth file
Adding pyHAMS 1.0.0 to easy-install.pth file

Installed c:\users\prakakar\source\weis_develop_rev2\weis\pyhams
Processing dependencies for pyHAMS==1.0.0
Finished processing dependencies for pyHAMS==1.0.0
running develop
running egg_info
creating MoorPy.egg-info
writing MoorPy.egg-info\PKG-INFO
writing dependency_links to MoorPy.egg-info\dependency_links.txt
writing requirements to MoorPy.egg-info\requires.txt
writing top-level names to MoorPy.egg-info\top_level.txt
writing manifest file 'MoorPy.egg-info\SOURCES.txt'
reading manifest file 'MoorPy.egg-info\SOURCES.txt'
writing manifest file 'MoorPy.egg-info\SOURCES.txt'
running build_ext
Creating c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages\MoorPy.egg-link (link to .)
Removing MoorPy 0.9.0 from easy-install.pth file
Adding MoorPy 0.9.0 to easy-install.pth file

Installed c:\users\prakakar\source\weis_develop_rev2\weis\moorpy
Processing dependencies for MoorPy==0.9.0
Searching for PyYAML==6.0
Best match: PyYAML 6.0
Adding PyYAML 6.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for matplotlib==3.6.0
Best match: matplotlib 3.6.0
Adding matplotlib 3.6.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for numpy==1.23.3
Best match: numpy 1.23.3
Adding numpy 1.23.3 to easy-install.pth file
Installing f2py-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing f2py.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for kiwisolver==1.4.4
Best match: kiwisolver 1.4.4
Adding kiwisolver 1.4.4 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for packaging==21.3
Best match: packaging 21.3
Adding packaging 21.3 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for contourpy==1.0.5
Best match: contourpy 1.0.5
Adding contourpy 1.0.5 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for python-dateutil==2.8.2
Best match: python-dateutil 2.8.2
Adding python-dateutil 2.8.2 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pyparsing==3.0.9
Best match: pyparsing 3.0.9
Adding pyparsing 3.0.9 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for Pillow==9.2.0
Best match: Pillow 9.2.0
Adding Pillow 9.2.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for cycler==0.11.0
Best match: cycler 0.11.0
Adding cycler 0.11.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for fonttools==4.37.4
Best match: fonttools 4.37.4
Adding fonttools 4.37.4 to easy-install.pth file
Installing fonttools-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing fonttools.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftmerge-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftmerge.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftsubset-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftsubset.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing ttx-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing ttx.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for six==1.16.0
Best match: six 1.16.0
Adding six 1.16.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Finished processing dependencies for MoorPy==0.9.0
running develop
running egg_info
creating RAFT.egg-info
writing RAFT.egg-info\PKG-INFO
writing dependency_links to RAFT.egg-info\dependency_links.txt
writing top-level names to RAFT.egg-info\top_level.txt
writing manifest file 'RAFT.egg-info\SOURCES.txt'
reading manifest file 'RAFT.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'RAFT.egg-info\SOURCES.txt'
running build_ext
Creating c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages\RAFT.egg-link (link to .)
Removing RAFT 0.1 from easy-install.pth file
Adding RAFT 0.1 to easy-install.pth file

Installed c:\users\prakakar\source\weis_develop_rev2\weis\raft
Processing dependencies for RAFT==0.1
Finished processing dependencies for RAFT==0.1
running develop
running egg_info
creating dtqpy.egg-info
writing dtqpy.egg-info\PKG-INFO
writing dependency_links to dtqpy.egg-info\dependency_links.txt
writing requirements to dtqpy.egg-info\requires.txt
writing top-level names to dtqpy.egg-info\top_level.txt
writing manifest file 'dtqpy.egg-info\SOURCES.txt'
reading manifest file 'dtqpy.egg-info\SOURCES.txt'
adding license file 'License'
writing manifest file 'dtqpy.egg-info\SOURCES.txt'
running build_ext
Creating c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages\dtqpy.egg-link (link to .)
Removing dtqpy 0.0.1 from easy-install.pth file
Adding dtqpy 0.0.1 to easy-install.pth file

Installed c:\users\prakakar\source\weis_develop_rev2\weis\dtqpy
Processing dependencies for dtqpy==0.0.1
Searching for osqp==0.6.2.post0
Best match: osqp 0.6.2.post0
Adding osqp 0.6.2.post0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for mat4py==0.5.0
Best match: mat4py 0.5.0
Processing mat4py-0.5.0-py3.8.egg
mat4py 0.5.0 is already the active version in easy-install.pth

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages\mat4py-0.5.0-py3.8.egg
Searching for matplotlib==3.6.0
Best match: matplotlib 3.6.0
Adding matplotlib 3.6.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for scipy==1.9.1
Best match: scipy 1.9.1
Adding scipy 1.9.1 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for numpy==1.23.3
Best match: numpy 1.23.3
Adding numpy 1.23.3 to easy-install.pth file
Installing f2py-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing f2py.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for qdldl==0.1.5
Best match: qdldl 0.1.5
Adding qdldl 0.1.5 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for kiwisolver==1.4.4
Best match: kiwisolver 1.4.4
Adding kiwisolver 1.4.4 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for packaging==21.3
Best match: packaging 21.3
Adding packaging 21.3 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for contourpy==1.0.5
Best match: contourpy 1.0.5
Adding contourpy 1.0.5 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for python-dateutil==2.8.2
Best match: python-dateutil 2.8.2
Adding python-dateutil 2.8.2 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for pyparsing==3.0.9
Best match: pyparsing 3.0.9
Adding pyparsing 3.0.9 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for Pillow==9.2.0
Best match: Pillow 9.2.0
Adding Pillow 9.2.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for cycler==0.11.0
Best match: cycler 0.11.0
Adding cycler 0.11.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for fonttools==4.37.4
Best match: fonttools 4.37.4
Adding fonttools 4.37.4 to easy-install.pth file
Installing fonttools-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing fonttools.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftmerge-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftmerge.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftsubset-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing pyftsubset.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing ttx-script.py script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts
Installing ttx.exe script to C:\Users\prakakar\Anaconda3\envs\weis-env\Scripts

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Searching for six==1.16.0
Best match: six 1.16.0
Adding six 1.16.0 to easy-install.pth file

Using c:\users\prakakar\anaconda3\envs\weis-env\lib\site-packages
Finished processing dependencies for dtqpy==0.0.1
running develop
running build_scripts
running egg_info
running build_src
INFO: build_src
INFO: building extension "rosco" sources
INFO: build_src: building npy-pkg config files
creating WEIS.egg-info
writing WEIS.egg-info\PKG-INFO
writing dependency_links to WEIS.egg-info\dependency_links.txt
writing requirements to WEIS.egg-info\requires.txt
writing top-level names to WEIS.egg-info\top_level.txt
writing manifest file 'WEIS.egg-info\SOURCES.txt'
reading manifest file 'WEIS.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'WEIS.egg-info\SOURCES.txt'
running build_ext
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
INFO: customize MSVCCompiler
INFO: customize MSVCCompiler using CMakeBuildExt
INFO: CCompilerOpt.init[834] : hit the memory cache
INFO: CCompilerOpt.generate_dispatch_header[2353] : generate CPU dispatch header: (build\src.win-amd64-3.8\numpy\distutils\include\npy_cpu_dispatch_config.h)
WARN: CCompilerOpt.generate_dispatch_header[2362] : dispatch header dir build\src.win-amd64-3.8\numpy\distutils\include does not exist, creating it
C:\Users\prakakar\Anaconda3\envs\weis-env\Library\bin\cmake.exe --version
cmake version 3.24.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Traceback (most recent call last):
File "setup.py", line 158, in
setup(**metadata)
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\setuptools\command\develop.py", line 34, in run
self.install_for_development()
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\numpy\distutils\command\develop.py", line 15, in install_for_development
old_develop.install_for_development(self)
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\setuptools\command\develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\site-packages\numpy\distutils\command\build_ext.py", line 332, in run
self.build_extensions()
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\Users\prakakar\Anaconda3\envs\weis-env\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "setup.py", line 63, in build_extension
mycompiler = self.compiler.compiler[0]
AttributeError: 'MSVCCompiler' object has no attribute 'compiler'
INFO:
########### EXT COMPILER OPTIMIZATION ###########
INFO: Platform :
Architecture: x64
Compiler : msvc

CPU baseline :
Requested : 'min'
Enabled : SSE SSE2 SSE3
Flags : none
Extra checks: none

CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL Generated : none
INFO: CCompilerOpt.cache_flush[857] : write cache to path -> C:\Users\prakakar\source\WEIS_Develop_Rev2\WEIS\build\temp.win-amd64-3.8\Release\ccompiler_opt_cache_ext.py
INFO:
########### EXT COMPILER OPTIMIZATION ###########
INFO: Platform :
Architecture: x64
Compiler : msvc

CPU baseline :
Requested : 'min'
Enabled : SSE SSE2 SSE3
Flags : none
Extra checks: none

CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL Generated : none
INFO: CCompilerOpt.cache_flush[857] : write cache to path -> C:\Users\prakakar\source\WEIS_Develop_Rev2\WEIS\WISDEM\build\temp.win-amd64-3.8\Release\ccompiler_opt_cache_ext.py

(weis-env) C:\Users\prakakar\source\WEIS_Develop_Rev2\WEIS>

@gbarter
Copy link
Member

gbarter commented Oct 4, 2022

The terminal doesn't clearly say the word, "error", which is both surprising and annoying, but the install is not working. You can use standard Windows, sorry.

@kpramng
Copy link
Author

kpramng commented Oct 5, 2022

Hi @gbarter Thanks a lot for getting back. I tried the installation all over again and its still the same error.

(weis-env) C:\Users\prakakar\source\WEIS_Develop_Rev2\WEIS\examples\02_control_opt>python weis_driver.py
Traceback (most recent call last):
File "weis_driver.py", line 2, in
from weis.glue_code.runWEIS import run_weis
ModuleNotFoundError: No module named 'weis'

(weis-env) C:\Users\prakakar\source\WEIS_Develop_Rev2\WEIS\examples\02_control_opt>

@kpramng
Copy link
Author

kpramng commented Oct 6, 2022

Hi @gbarter I read the new Readme, https://github.com/WISDEM/WEIS/tree/develop in and saw the following updated comment conda config --set ssl_verify no

Can you help me when I should use this command during installation. Will the above lines help in fixing the issue of module missing.

@gbarter
Copy link
Member

gbarter commented Oct 6, 2022

Karthik,

Sorry if I wasn't clear before. You keep trying to install WEIS on Windows, but it will not work, no matter what conda commands you use. There is nothing I can do to fix this.

Cheers,
Garrett

@kpramng
Copy link
Author

kpramng commented Oct 6, 2022

Hi Garrett,

Thanks for the response. If I understand correctly, I have to install Windows Ubuntu Subsystem Linux in a virtual machine?

Best regards,
Karthik

@gbarter
Copy link
Member

gbarter commented Oct 6, 2022

You would have to use either the Windows Ubuntu Subsystem Linux or a virtual machine (not both). VMWare Workstation Player would be one virtual machine option.

@kpramng
Copy link
Author

kpramng commented Oct 6, 2022

Got it. So, I can use a VMWare virtual machine and install Linux (or Ubuntu) in the Virtual
machine?

@gbarter
Copy link
Member

gbarter commented Oct 6, 2022

Yes

@kpramng
Copy link
Author

kpramng commented Oct 6, 2022

Is there another way of automatically writing the inputs for the simulation for various DLC's (eg .fst files, .dat files etc) and obtaining the inputs other than WEIS.

@kpramng
Copy link
Author

kpramng commented Oct 6, 2022

Each .fst file will need to point to a different InflowWind file that will specify each wind speed. I'd recommend a full set of OpenFAST inputs for each case. That is our regular practice.

Running this example will set up the cases, generate the wind inputs, and run the simulations.

You will need to edit the DLCs in the modeling options. The DLCs in this example are close to what you are looking for, if you set ws_bin_size to 2.

Hi,

If I understand correctly, then if If I want to run from 3 m/s to 25 m/s with 6 seeds for each wind speeds, then should I need to create 23 x 1 (wind direction 0 degree only) x 6 (seeds) = 138 .*fst files?

@gbarter
Copy link
Member

gbarter commented Oct 6, 2022

WEIS is our preferred tool for this. The OpenFAST team has some toolboxes to make batch editing easier that you can explore:
https://github.com/OpenFAST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants