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

Why did my installation fail? #54

Open
Coolboomer9 opened this issue Apr 9, 2024 · 9 comments
Open

Why did my installation fail? #54

Coolboomer9 opened this issue Apr 9, 2024 · 9 comments

Comments

@Coolboomer9
Copy link


Build State

Built state is: unspecified
Building tests
This can be deactivated by using CMAKE_BUILD_TYPE=Release
CMake Error at tests/CMakeLists.txt:2 (add_subdirectory):
The source directory

/home/wen/Desktop/WENOEXT/tests/Catch2

does not contain a CMakeLists.txt file.


-- Configuring incomplete, errors occurred!
See also "/home/wen/Desktop/WENOEXT/build/CMakeFiles/CMakeOutput.log".

@Coolboomer9
Copy link
Author

With the above problem solved, the new question is does this format support openfoam6?

@croquemadame
Copy link

With the above problem solved, the new question is does this format support openfoam6?

May I ask how you solved the problem above?

@JanGaertner
Copy link
Collaborator

It is supporting OpenFOAM 5.x to version 8.

@JanGaertner
Copy link
Collaborator

Build State

Built state is: unspecified Building tests This can be deactivated by using CMAKE_BUILD_TYPE=Release CMake Error at tests/CMakeLists.txt:2 (add_subdirectory): The source directory

/home/wen/Desktop/WENOEXT/tests/Catch2

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred! See also "/home/wen/Desktop/WENOEXT/build/CMakeFiles/CMakeOutput.log".

Regarding this issue: You probably did not clone the git submodules. I had changed from the single header Catch2 file to the new Catch2 v3 release which is an own library. This is included as a git submodule.

After cloning execute:

git submodule init
git submodule update

@croquemadame
Copy link

croquemadame commented May 14, 2024

After cloning execute:

git submodule init
git submodule update

Thanks, it worked!

@Tohid2020
Copy link

Hello Dear All,
I hope this message finds you well. I have problem in installing WENO. How do I fix the error below? [ 1%] Building CXX object libWENOEXT/CMakeFiles/WENOEXT.dir/BlazeIO/BlazeIO.C.o
In file included from weno/WENOEXT/blaze-3.8/blaze/system/Platform.h:43,
from weno/WENOEXT/blaze-3.8/blaze/util/Limits.h:44,
from weno/WENOEXT/blaze-3.8/blaze/math/Accuracy.h:44,
from weno/WENOEXT/blaze-3.8/blaze/Math.h:44,
from weno/WENOEXT/libWENOEXT/BlazeIO/BlazeIO.H:46,
from weno/WENOEXT/libWENOEXT/BlazeIO/BlazeIO.C:29:
weno/WENOEXT/blaze-3.8/blaze/system/CacheSize.h:77:69: error: static assertion failed: Compile time condition violated
77 | BLAZE_STATIC_ASSERT( blaze::cacheSize > 10000UL && blaze::cacheSize < 2048000UL );
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/weno/WENOEXT/blaze-3.8/blaze/util/StaticAssert.h:113:19: note: in definition of macro ‘BLAZE_STATIC_ASSERT’
113 | static_assert( expr, "Compile time condition violated" )
| ^~~~
make[2]: *** [libWENOEXT/CMakeFiles/WENOEXT.dir/build.make:76: libWENOEXT/CMakeFiles/WENOEXT.dir/BlazeIO/BlazeIO.C.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:318: libWENOEXT/CMakeFiles/WENOEXT.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

I appreciate your time and look forward to hear from you soon

@JanGaertner
Copy link
Collaborator

The Blaze cache size requirement could not be fulfilled. Where are you trying to install the library? You can set the BLAZE_CACHE_SIZE with:

./Allwmake -DBLAZE_CACHE_SIZE=<value>

See also here: https://bitbucket.org/blaze-lib/blaze/wiki/Configuration%20and%20Installation

@Tohid2020
Copy link

Thank you for replying. I am trying to install it for OpenFOAM 2012. I am installing it on workbench pc with 16 cores. I am installing it in home directory.

@JanGaertner
Copy link
Collaborator

Try to set the Cache size to a useful value, e.g., 100000UL

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

4 participants