Code Monkey home page Code Monkey logo

Comments (6)

mattEhall avatar mattEhall commented on July 21, 2024

Hi Garrett,
Getting CCBlade by doing the full WISDEM install as described on the WISDEM repo is what I know works. The last time I thought about this was in the middle of the WEIS project, and at that time I think there were differences between the CCBlade in WISDEM and the standalone CCBlade that made the standalone CCBlade incompatible. But I don't remember exactly, and maybe it has changed since then. Certainly I think it would be ideal if RAFT could work with the standalone CCBlade as well.

Cheers,
Matt

from raft.

gbarter avatar gbarter commented on July 21, 2024

Perhaps there was a point in the development cycle where the WISDEM & CCBlade repos were out of sync, but I just did a diff on the Fortran and Python code in both and they are equivalent.

from raft.

mattEhall avatar mattEhall commented on July 21, 2024

This is great news! I'll have to try it out with just CCBlade installed and see if there are any other hurdles. It will be great to have a minimal-dependencies option for people.

from raft.

mattEhall avatar mattEhall commented on July 21, 2024

After a couple hurdles and delays, @shousner and I had success in running RAFT with standalone CCBlade. The only tricky bit was installation dependencies for CCBlade, which ended up being very easy (after I made some mistakes and overcomplicated everything). With the latest commit, RAFT will now look for standalone CCBlade before looking for WISDEM.CCBlade.

In case it's helpful to other novices like me, here's what worked for me for the standalone install:
conda create --name raft python=3.9
conda install numpy
conda install pytest
conda install scipy
conda install libpython
conda install -c conda-forge m2w64-toolchain

I then installed each of CCBlade, pyHAMS, MoorPy, and RAFT using
python setup.py develop

I'll wait for feedback on the above before adding this to the readme.

from raft.

gbarter avatar gbarter commented on July 21, 2024

Hi Matt- Sorry if this took you a lot of time to iterate on as I could have saved you some pain. This recipe is pretty much the core set we use for WISDEM and WEIS.

My only suggestion is to use the conda-forge channel instead of msys2, as that is a bit better supported and self-consistent with the other packages.

Cheers,
Garrett

from raft.

mattEhall avatar mattEhall commented on July 21, 2024

Not at all - it was mostly just me being slow to remember the most basic things and then getting sidetracked by other things. I've edited the above to use conda-forge, hopefully correctly!
Cheers,
Matt

from raft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.