forked from OpenFAST/openfast
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge OpenFAST/dev + Bjonkman AFI pull request OpenFAST#213
Accepted all of OpenFAST#213 for the non cmake-related code.
- Loading branch information
Showing
218 changed files
with
17,909 additions
and
9,824 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# add (semi-useful) version info to git archive | ||
CreateGitVersion.bat ident export-subst | ||
|
||
# Declare files that will always have CRLF line endings on checkout. | ||
*.bat text eol=crlf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**Bug description** | ||
A clear and concise description of the bug. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Compile with '...' | ||
2. Run '...' case with '...' settings | ||
3. Open '...' output | ||
4. See the error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**OpenFAST Version** | ||
Please provide as much detail as possible including git commit. The best information is a screenshot of the OpenFAST system description that prints when running OpenFAST: | ||
``` | ||
************************************************************************************************** | ||
OpenFAST | ||
Copyright (C) National Renewable Energy Laboratory | ||
Copyright (C) Envision Energy USA LTD | ||
This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY. | ||
See the "LICENSE" file distributed with this software for details. | ||
************************************************************************************************** | ||
OpenFAST-v2.0.0 | ||
Compile Info: | ||
- Architecture: 64 bit | ||
- Precision: double | ||
- Date: Nov 27 2018 | ||
- Time: 17:19:38 | ||
Execution Info: | ||
- Date: 11/29/2018 | ||
- Time: 10:52:28-0700 | ||
``` | ||
|
||
**System Information (please complete the following information):** | ||
- OS: [e.g. Ubuntu 14.04 or macOS 10.12] | ||
- Compiler: [e.g. GFortran 4.4] | ||
- Compiler settings: [e.g. CMake flags or other settings] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,75 @@ | ||
# Travis CI configuration | ||
# | ||
# Environment info | ||
# https://docs.travis-ci.com/user/reference/overview/ | ||
# https://docs.travis-ci.com/user/reference/osx/ | ||
# https://docs.travis-ci.com/user/reference/trusty/ | ||
|
||
# macOS | ||
os: osx | ||
language: c | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
env: | ||
- FC=/usr/local/bin/gfortran-7; DOUBLE_PRECISION=ON | ||
- FC=/usr/local/bin/gfortran-7; DOUBLE_PRECISION=OFF | ||
- FC=/usr/bin/gfortran; DOUBLE_PRECISION=ON | ||
- FC=/usr/bin/gfortran; DOUBLE_PRECISION=OFF | ||
- FC=ifort; DOUBLE_PRECISION=ON; TRAVIS_BUILD_INTEL=YES | ||
|
||
before_install: | ||
# first uninstall a conflicting package | ||
- brew cask uninstall oclint | ||
|
||
# update and install required packages | ||
- brew update | ||
- brew install gcc | ||
# - brew install cmake # cmake is already installed in the default mac image | ||
|
||
before_script: | ||
- mkdir build | ||
- cd build | ||
- cmake .. | ||
|
||
# mac configuration | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gcc@7; fi | ||
|
||
# linux configuration | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install gfortran; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install libblas-dev liblapack-dev; fi | ||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pyenv shell 3.6.3; fi | ||
|
||
# intel compiler | ||
# this build requires setting an environment variable https://docs.travis-ci.com/user/environment-variables#defining-encrypted-variables-in-travisyml | ||
# INTEL_SERIAL_NUMBER=XXXX-XXXXXXXX | ||
- if [[ -n "${TRAVIS_BUILD_INTEL}" ]] ; then wget 'https://raw.githubusercontent.com/nemequ/icc-travis/master/install-icc.sh'; fi | ||
- if [[ -n "${TRAVIS_BUILD_INTEL}" ]] ; then chmod 755 install-icc.sh; fi | ||
- if [[ -n "${TRAVIS_BUILD_INTEL}" ]] ; then ./install-icc.sh --components ifort,icc,mkl; source ~/.bashrc; fi | ||
|
||
# common configuration | ||
- pip3 install numpy | ||
|
||
install: | ||
- mkdir build && cd build | ||
- cmake .. -DBUILD_TESTING=ON -DDOUBLE_PRECISION=$DOUBLE_PRECISION -DBUILD_SHARED_LIBS=ON | ||
- make -j 8 install | ||
|
||
matrix: | ||
exclude: | ||
- os: linux | ||
env: FC=/usr/local/bin/gfortran-7; DOUBLE_PRECISION=ON | ||
- os: linux | ||
env: FC=/usr/local/bin/gfortran-7; DOUBLE_PRECISION=OFF | ||
- os: osx | ||
env: FC=/usr/bin/gfortran; DOUBLE_PRECISION=ON | ||
- os: osx | ||
env: FC=/usr/bin/gfortran; DOUBLE_PRECISION=OFF | ||
- os: osx | ||
env: FC=ifort; DOUBLE_PRECISION=ON; TRAVIS_BUILD_INTEL=YES | ||
|
||
script: | ||
- make -j 8 | ||
# beamdyn unit tests | ||
- if [[ "$DOUBLE_PRECISION" == "ON" ]]; then ctest -VV -R beamdyn_utest; fi | ||
|
||
# beamdyn regression tests | ||
- if [[ "$DOUBLE_PRECISION" == "ON" ]]; then ctest -VV -R bd_; fi | ||
|
||
# subset of openfast regression tests | ||
# do not run | ||
# - 3, 4, 7, 15, 16, 17 since the free yaw is not well trusted | ||
# - 20, 21 because theyre too long | ||
# THIS IS COMMENTED UNTIL TESTS CAN RELIABLY DETERMINE REGRESSION | ||
# CURRENTLY, TESTS FAIL WITH VERY MINOR DIFFERENCES | ||
# - ctest -VV -j 18 -I 1,1,1,2,5,6,8,9,10,11,12,13,14,18,19,22,23,24,25,26 | ||
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ctest -j 18 -I 1,1,1,2,5,6,8,9,10,11,12,13,14,18,19,22,23,24,25,26 ; fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.