Problem installing 2decomp #296
Replies: 7 comments 18 replies
-
Hello,
You need to run the cmake command from the main folder, not the SRC one.
Regards,
Mathrack
Nov 15, 2023 12:55:02 LionelGelebart ***@***.***>:
…
*I am trying to install this new version of 2decomp (I am using the old version with a Makefile).
I have followed the instructions to install 2decomp and get the following error with cmake.
I am not familiar with cmake.
Could you help?*
***@***.*** src (dev)]$ echo $FC
mpif90
***@***.*** src (dev)]$ cmake --version
cmake version 3.24.0-rc4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
***@***.*** src (dev)]$
***@***.*** src (dev)]$ cmake -S . -B build
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
*project(ProjectName)
*
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Compiling using Generic FFT
CMake Error at CMakeLists.txt:93 (install):
install DIRECTORY given no DESTINATION!
CMake Error at CMakeLists.txt:95 (install):
install DIRECTORY given no DESTINATION!
CMake Error at CMakeLists.txt:99 (install):
install EXPORT given no DESTINATION!
CMake Error: File /home/lgelebart/LIBRAIRIES/2decomp-fft/src/cmake/decomp2d-config.cmake.in does not exist.
CMake Error at CMakeLists.txt:102 (configure_file):
configure_file Problem configuring file
CMake Error: File /home/lgelebart/LIBRAIRIES/2decomp-fft/src/cmake/decomp2d-config-version.cmake.in does not exist.
CMake Error at CMakeLists.txt:106 (configure_file):
configure_file Problem configuring file
CMake Error: File /home/lgelebart/LIBRAIRIES/2decomp-fft/src/cmake/decomp2d-build_config.cmake.in does not exist.
CMake Error at CMakeLists.txt:119 (configure_file):
configure_file Problem configuring file
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
*cmake_minimum_required(VERSION 3.24)
*
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/lgelebart/LIBRAIRIES/2decomp-fft/src/build/CMakeFiles/CMakeOutput.log".
***@***.*** src (dev)]$
—
Reply to this email directly, view it on GitHub[#296], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ADHFJ667XTYEPHF64M6DNZ3YESURFAVCNFSM6AAAAAA7MLXC66VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZVHA2TIMJYGM].
You are receiving this because you are subscribed to this thread.
[Tracking image][https://github.com/notifications/beacon/ADHFJ6ZEEJMHTHC3P75YFR3YESURFA5CNFSM6AAAAAA7MLXC66WGG33NNVSW45C7OR4XAZNKIRUXGY3VONZWS33OVJRW63LNMVXHIX3JMTHAAWKT44.gif]
|
Beta Was this translation helpful? Give feedback.
-
See https://github.com/2decomp-fft/2decomp-fft/blob/dev/.github/workflows/RunnerFullCI.yml#L35
Nov 15, 2023 13:35:20 LionelGelebart ***@***.***>:
…
Now it builds against fftw3_f03!
How can I run the differents tests ?
—
Reply to this email directly, view it on GitHub[#296 (reply in thread)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ADHFJ66FDO3Q23KEA4PZQKDYESZILAVCNFSM6AAAAAA7MLXC66VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKNZWGUZDK].
You are receiving this because you commented.
[Tracking image][https://github.com/notifications/beacon/ADHFJ674BJ2D4ABBSGXMWLDYESZILA5CNFSM6AAAAAA7MLXC66WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAOON42.gif]
|
Beta Was this translation helpful? Give feedback.
-
OK it works, but only with a single MPI proc. How can I modify the number of MPI process? |
Beta Was this translation helpful? Give feedback.
-
If you look carefully at the CI examples, you will probably find some stuff for changing the number of grid points and the number of MPI ranks
Nov 15, 2023 14:02:14 LionelGelebart ***@***.***>:
…
OK it works, but only with a single MPI proc. How can I modify the number of MPI process?
—
Reply to this email directly, view it on GitHub[#296 (comment)], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ADHFJ67XGRI3WLKKISLUCGDYES4NFAVCNFSM6AAAAAA7MLXC66VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKNZWG44DE].
You are receiving this because you commented.
[Tracking image][https://github.com/notifications/beacon/ADHFJ667F33D2G5YMDSA6U3YES4NFA5CNFSM6AAAAAA7MLXC66WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAOOOM4.gif]
|
Beta Was this translation helpful? Give feedback.
-
Alternatively you can use |
Beta Was this translation helpful? Give feedback.
-
Just a clarification when you add the |
Beta Was this translation helpful? Give feedback.
-
Thank you all for your different answers. |
Beta Was this translation helpful? Give feedback.
-
I am trying to install this new version of 2decomp (I am using the old version with a Makefile).
I have followed the instructions to install 2decomp and get the following error with cmake.
I am not familiar with cmake.
Could you help?
[lgelebart@marquises0 src (dev)]$ echo $FC
mpif90
[lgelebart@marquises0 src (dev)]$ cmake --version
cmake version 3.24.0-rc4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
[lgelebart@marquises0 src (dev)]$
[lgelebart@marquises0 src (dev)]$ cmake -S . -B build
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Compiling using Generic FFT
CMake Error at CMakeLists.txt:93 (install):
install DIRECTORY given no DESTINATION!
CMake Error at CMakeLists.txt:95 (install):
install DIRECTORY given no DESTINATION!
CMake Error at CMakeLists.txt:99 (install):
install EXPORT given no DESTINATION!
CMake Error: File /home/lgelebart/LIBRAIRIES/2decomp-fft/src/cmake/decomp2d-config.cmake.in does not exist.
CMake Error at CMakeLists.txt:102 (configure_file):
configure_file Problem configuring file
CMake Error: File /home/lgelebart/LIBRAIRIES/2decomp-fft/src/cmake/decomp2d-config-version.cmake.in does not exist.
CMake Error at CMakeLists.txt:106 (configure_file):
configure_file Problem configuring file
CMake Error: File /home/lgelebart/LIBRAIRIES/2decomp-fft/src/cmake/decomp2d-build_config.cmake.in does not exist.
CMake Error at CMakeLists.txt:119 (configure_file):
configure_file Problem configuring file
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/lgelebart/LIBRAIRIES/2decomp-fft/src/build/CMakeFiles/CMakeOutput.log".
[lgelebart@marquises0 src (dev)]$
Beta Was this translation helpful? Give feedback.
All reactions