Skip to content

Fix for Visual Studio builds with ADI#1317

Merged
andrew-platt merged 2 commits intoOpenFAST:devfrom
bjonkman:b/VS-builds
Nov 9, 2022
Merged

Fix for Visual Studio builds with ADI#1317
andrew-platt merged 2 commits intoOpenFAST:devfrom
bjonkman:b/VS-builds

Conversation

@bjonkman
Copy link
Contributor

@bjonkman bjonkman commented Nov 8, 2022

This pull request is ready to be merged.

Feature or improvement description
This PR updates the build process so that ADI's registry runs in the VS solution files. It also

  • removes a few extrap/interp routines that aren't used (and don't need to be generated).
  • removes non-standard tabs from the Fortran source code
  • removes some unused variables from AD.

Impacted areas of the software
Visual Studio builds with code that contains the ADI module.

Test results, if applicable
This does not change any results

- removed non-standard tab formatting from AD
- added ADI to RunRegistry.bat for VS builds
- removed some unused variables
- removed extrap/interp routines from AFI, AA, and ADI types (cmake); now should be consistent in cmake and VS_build
@ebranlard
Copy link
Contributor

ebranlard commented Nov 9, 2022

I suspected the parallelization of FWrap Init to be buggy. I've removed it and the tests seem to pass now...

@bjonkman
Copy link
Contributor Author

bjonkman commented Nov 9, 2022

Thanks, @ebranlard!

@bjonkman
Copy link
Contributor Author

bjonkman commented Nov 9, 2022

FWIW: when I pulled up the GitHub Action artifacts of the failing FAST.Farm case (before Emmanuel reverted that change in dev), the plots are unreadable:

image

I haven't spent any time trying to figure out what's going wrong there, but thought I'd draw it to someone's attention.

The other PRs that I submitted about the same time also failed on the same case as this one, but they didn't produce any .html file. So, something strange is going on with that.

@ebranlard
Copy link
Contributor

Yes, I've noticed this as well, I'm not quite sure what's going on. I ended up comparing the files in pyDatView instead.

@andrew-platt andrew-platt merged commit 11dac9e into OpenFAST:dev Nov 9, 2022
@bjonkman bjonkman deleted the b/VS-builds branch November 9, 2022 20:25
@andrew-platt
Copy link
Collaborator

I'm able to reproduce this locally as well.
Screen Shot 2022-11-09 at 5 32 52 PM

@rafmudaf rafmudaf mentioned this pull request Dec 19, 2022
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments