-
Notifications
You must be signed in to change notification settings - Fork 462
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
Problems to run unit_tests (Cygwin) #193
Comments
I am pretty new in compiling OpenFAST (just learning how to do that actually, using Linux). However,
Sounds like wrong path defintions to me. Furthermore, the paths do not sound like a typical windows-path because "/home/..." sounds like Linux paths. Are you sure that you have set up the paths to the respective directories correct? I am not familiar with CMake and Cygwin under Windows, so my assumptions above could also be wrong. |
Thanks for your response, dwalia. I gave up using Cygwin and tried a different approach, using Ubuntu on Windows 10. I followed the tutorial for building OpenFAST with Cmake on Linux and, even though I had some problems to install LAPACK and BLAS, I managed to properly run the beamdyn_utest. |
I believe this is related to CMake not finding an appropriate python interpreter when it configures the unit test package specifically. On which version of openfast did you run into this? I recently made some updates which may fix this to the Thanks |
@bmazetto I'm closing this issue since its gone silent but feel free to reopen as needed. |
Hello guys, I'm trying to install OpenFAST using Cygwin again. The previous installation using Ubuntu on Windows 10 did not work very well. Now, I'm facing some problems with unit tests. When I try to "make beamdyn_utest", I receive some messages during the process: /home/Bruno/code/OpenFAST/modules-local/nwtc-library/src/ModMesh.f90:3477:0:
Warning: ‘__builtin_memset’: specified size 18446744073709551598 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
Warning: ‘__builtin_memset’: specified size 18446744073709551598 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
Warning: ‘__builtin_memset’: specified size 18446744073709551598 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
Warning: ‘__builtin_memset’: specified size 18446744073709551598 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
Warning: ‘__builtin_memset’: specified size 18446744073709551598 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] And by the end, I get: Scanning dependencies of target beamdyn_utest I don't know how to solve these errors or what is causing it. Has someone experienced the same situation? What should I do to solve this? |
Dear bmazetto. When I built OpenFAST 2.0 on Arch, I ran into the same problems. Therefore, I decided to skip the unit regression tests. OpenFAST was the first PKGBUILD I wrote. So I was heavily supported by the community in the Arch forums. On page 3 in the respective topic, the complexity of testing OpenFAST was discussed. Probably that doesn´t help you, and hopefully rafmudaf has more useful hints. In any case the link to the thread in the Arch forums: https://bbs.archlinux.org/viewtopic.php?id=241145&p=3 |
@bmazetto can you give more details about this line: |
@bmazetto as for the build problems for the
And please post the results of this so we can verify whether this bug is fixed. Thanks for your support of OpenFAST! |
Excellent! Thanks for the update. |
Maybe someone can help me .. Been a week trying to install and have OpenFAST running .. :( .. have arrived to the below point .. Any hints please? Owner@DESKTOP-U7FJRBS ~/OpenFAST/OPenFAST/build
-- Configuring incomplete, errors occurred! |
Dear all, Until now I used FAST v8 and now I am moving to OpenFAST. I already cloned the latest master branch and installed OpenFAST using CMake and Cygwin in Windows 10. The OpenFAST version i got is OpenFAST-v2.1.0-dirty, and now I am trying to perform the unit tests. I ran the command Nevertheless, I got the following error.
As I understand, the problem is that the python interpreter is not found, but I do not know how to proceed to solve the problem. Thank you in advance for the help! Jon |
@jonmtz Could you switch to the To switch branches, move into your OpenFAST directory and do this:
|
Dear @rafmudaf , Thank you for your fast reply. I checked out in the develop branch (I am using SmartGit, since your command did not work for me, don't know why), did the
Besides, I tried to run all the tests to check if any of them works with
In case it is useful, the software I installed for doing this were Cygwin 64-bit, CMake 3.16.0 and Python 3.8.0 Thank you for your help, Jon |
@jonmtz In
Let me know how this works. |
Dear @rafmudaf , I still got an error, but in this case changed. As I can see, now the python interpreter is found, but there is another error. Here I leave the message:
Did I miss any step or why am I taking this error? Another fact I would like to comment is that I am executing these commands from the build directory (I don't know if I'm doing well). Thank you for your help, Jon |
Is that the Windows Python and can you use that Python interpreter in Cygwin? You can test that by opening a new Cygwin terminal and enter:
If that opens a Python prompt and you can run simple commands (something like Running from the Otherwise, I'm not sure what might be the problem. You could try to old unplug-it trick by deleting your entire |
Dear @rafmudaf , You were right, I had installed Windows Python and cygwin has its own python to install, so I did it. Besides, as you said, I removed all the build folder and performed the commands: Nevertheless, when trying to perform again the
Any ideas? Thank you, Jon |
@jonmtz are you still facing this problem? If so, verify that the python interpreter you're using I'm closing the issue, but will reopen when you respond. |
Dear @rafmudaf, As I was not able to compile using cygwin, I decided to use the precompiled version of OpenFAST. Nevertheless, I will try what you say to be able to use the latest versions of OpenFAST. As for the precompiled binaries for Windows:
Is it expected to upload v2.2.0. binaries soon? Thank you for your help, Jon |
Hey @jonmtz I've uploaded the v2.2.0 binaries on the release page |
I am building OpenFAST on Windows with CMake and Cygwin 64-bit, according to the instructions on “readthedocs” page. However, when I try to run “make beamdyn_test”, I face some messages, like:
$ make beamdyn_utest
[ 0%] Performing configure step for 'pfunit'
** WARNING: Install path not found! Please set PFUNIT or use -DINSTALL_PATH=...
++ Remember to set the environment variable PFUNIT to the install directory!
++ Example: export PFUNIT=OFF
-- Installing to INSTALL_PATH: OFF
(null): can't open file '/home/Bruno/code/OpenFAST/unit_tests/pfunit/source/GenerateAssertsOnArrays.py': [Errno 2] No such file or directory
(null): can't open file '/home/Bruno/code/OpenFAST/unit_tests/pfunit/source/GeneratedSources.py': [Errno 2] No such file or directory
Including generated files ''.
CMake Error at source/CMakeLists.txt:26 (include):
include could not find load file:
/home/Bruno/code/OpenFAST/unit_tests/pfunit-build/source/
-- Configuring incomplete, errors occurred!
Could someone help me solve this problem?
The text was updated successfully, but these errors were encountered: