elmerfem icon indicating copy to clipboard operation
elmerfem copied to clipboard

Error both using launchpad and compilation on Ubuntu

Open davide445 opened this issue 2 years ago • 0 comments

Using Ubuntu 22.04, following

$ sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa $ sudo apt-get update $ sudo apt-get install elmerfem-csc

I get

E: Unable to locate package elmerfem-csc

Using cmake

cmake .. -DWITH_OpenMP:BOOLEAN=TRUE CMake Error: The source directory "/home/xxxx/Downloads/elmerfem-release-8.4/..-DWITH_OpenMP:BOOLEAN=TRUE" does not exist.

The one running is this, but got another error, at the end attached the error files

cmake -DWITH_OpenMP:BOOLEAN=TRUE

`Make Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases.

CMake Deprecation Warning at CMakeLists.txt:18 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at CMakeLists.txt:54 (CMAKE_POLICY): The OLD behavior for policy CMP0022 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.

fatal: not a git repository (or any of the parent directories): .git -- Checking whether GFortran version >= 4.8 -- yes -- Checking whether /usr/bin/f95 supports OpenMP 4.0 -- Checking whether /usr/bin/f95 supports OpenMP 4.0 -- yes -- Checking whether /usr/bin/f95 supports OpenMP 4.5 -- Checking whether /usr/bin/f95 supports OpenMP 4.5 -- yes CMake Deprecation Warning at cmake/Modules/FindMKL.cmake:2 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Call Stack (most recent call first): CMakeLists.txt:177 (FIND_PACKAGE)


-- Mesh adaptation 2D/3D looking for [Mmg] tools CMake Deprecation Warning at cmake/Modules/FindMMG.cmake:14 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Call Stack (most recent call first): CMakeLists.txt:241 (FIND_PACKAGE)

-- Library not found: >MMG_FOUND< -- Missing: >MMG_INCLUDE_DIR< , >MMG_LIBRARY<, to compile MMG3DSolver


-- Checking whether /usr/bin/f95 supports PROCEDURE POINTER -- Checking whether /usr/bin/f95 supports PROCEDURE POINTER -- yes -- Checking whether /usr/bin/f95 supports CONTIGUOUS -- Checking whether /usr/bin/f95 supports CONTIGUOUS -- yes -- Checking whether /usr/bin/f95 supports EXECUTE_COMMAND_LINE -- Checking whether /usr/bin/f95 supports EXECUTE_COMMAND_LINE -- yes -- Found 113 modules from /home/dzari/Downloads/elmerfem-release-8.4/fem/src/modules -- ELMERSOLVER_RPATH_STRING_MOD $ORIGIN/../lib/elmersolver -- ELMERLIB_RPATH_STRING $ORIGIN/ CMake Deprecation Warning at fem/tests/CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Error at fem/tests/CMakeLists.txt:17 (FOREACH): FOREACH Invalid integer: "depth" Call Stack (most recent call first): fem/tests/CMakeLists.txt:29 (SUBDIRLIST)`

CMakeError.log CMakeOutput.log

davide445 avatar Nov 24 '22 19:11 davide445