Re: [deal.II] Getting cmake errors compiling programs

2024-11-27 Thread Luca Heltai
The solution is quite simple, actually. When spack compiles libraries, it does not do that by using directly a compiler, but a script around the system compilers (or the user provided compiler) that cleans the environment, and makes sure everything is in place not to fiddle around with depende

Re: [deal.II] Getting cmake errors compiling programs

2024-11-22 Thread Vinayak Vijay
This solves the problem. I also did the same thing earlier by setting CMAKE_CXX_COMPILER using the set(...) command of cmake. This solves the compiler issue. I seem to also not get the linking error mentioned above anymore. Not sure if it got solved due to this or some other change I made (which

Re: [deal.II] Getting cmake errors compiling programs

2024-11-21 Thread Nik Markus Leuenberger
Dear Alexander and Vinayak, I also used spack for the installation and for me, something similar (the same?) happend. Running simply cmake . gives the following error. *$ cmake .* -- Check for working CXX compiler: /home/~/spack/lib/spack/env/gcc/g++ - broken CMake Error at /usr/local/share/c

Re: [deal.II] Getting cmake errors compiling programs

2024-11-20 Thread Vinayak Vijay
It does use the spack compiler for the first "cmake .." (refer attached file CMakeCache_first.txt) but for the second "cmake .." (refer attached file CMakeCache_second.txt) it uses the path that i prescribe in the CMakeFiles.txt. But then in the second case i face another issue i.e. the linker

Re: [deal.II] Getting cmake errors compiling programs

2024-11-20 Thread Wolfgang Bangerth
On 11/20/24 21:28, Vinayak Vijay wrote:   The C++ compiler     "/home/omnipresent/Documents/github_repos/spack/lib/spack/env/gcc/g++"   is not able to compile a simple test program. That means it's still using a compiler spack builds itself. As I mention, I don't know how spack works. I'm

Re: [deal.II] Getting cmake errors compiling programs

2024-11-20 Thread Vinayak Vijay
Dear Prof. Bangerth, I expected it to take the default compiler. But for some reason it doesn't. A bit of context on my machine and installation: - I am trying to install this version of dealii using spack on a clean (newly installed) OS - Ubuntu24.04. - Installed dealii using the c

Re: [deal.II] Getting cmake errors compiling programs

2024-11-20 Thread Vinayak Vijay
Hi, I am getting a similar error as above for OS: Ubuntu24.04 LTS. How can i resolve this? ``` omnipresent@omnipresent:~/Documents/github_repos/dealii/examples/step-2/build$ cmake .. -- Using the deal.II-9.6.0 installation found at /home/omnipresent/Documents/github_repos/spack/var/spack/envi

Re: [deal.II] Getting cmake errors compiling programs

2024-11-19 Thread Wolfgang Bangerth
On 11/19/24 05:17, Vinayak Vijay wrote: -- Check for working CXX compiler: /home/omnipresent/Documents/github_repos/spack/lib/spack/env/gcc/g++ - broken CMake Error at /home/omnipresent/Documents/github_repos/spack/opt/spack/linux-ubuntu24.04-icelake/gcc-13.2.0/cmake-3.30.5-74qenkgyifomlcmwslmff

Re: [deal.II] Getting cmake errors compiling programs

2023-12-15 Thread Ester Comellas
Hi Luca, Have you had the chance to get the deal.ii-9.5.1 package working for macOS Sonoma & clang 15 on an Intel processor? I'm stuck installing deal.II using spack (see this other thread: https://groups.google.com/g/dealii/c/vT8LAmNtUQE), and using this pre-compiled package instead would be

Re: [deal.II] Getting cmake errors compiling programs

2023-10-24 Thread Luca Heltai
I have just updates my old Intel mac. I hope to get the package working in the next days. LucaIl giorno 25 ott 2023, alle ore 01:13, Lex Lee ha scritto:I hope deal.ii group could release version 9.5.1 that works with intel processor on MacOS platform. On Monday, October 9, 2023 at 5:19:03 PM UTC-

Re: [deal.II] Getting cmake errors compiling programs

2023-10-24 Thread Lex Lee
I hope deal.ii group could release version 9.5.1 that works with intel processor on MacOS platform. On Monday, October 9, 2023 at 5:19:03 PM UTC-7 deal.II User Group wrote: > Hello, everyone > > I tried the new image in my laptop with M2 processor and the Ventura Mac > OS (13.6). It worked (I

Re: [deal.II] Getting cmake errors compiling programs

2023-10-10 Thread kendrick zoom
Specification: Each Sealed Pint/Bottle Contains: *PROMETHAZINE HYDROCHLORIDE: 6.25mg. -Codeine Phosphate: 10mg. -Alcohol: 7%. -Indication: Cough Suppressant. -Dosage Form: Syrup. -Strength: 200mg. -CAS No: 52-28-8. -Available in 16Oz Pints (473mL Sealed Pints/Bottles). -Colors: Purple, Red and Vari

Re: [deal.II] Getting cmake errors compiling programs

2023-10-09 Thread David Montiel Taboada
Hello, everyone I tried the new image in my laptop with M2 processor and the Ventura Mac OS (13.6). It worked (I successfully ran and compiled the step-1 example). Looks like the issue was with clang 15? However, I am not sure Alexander will be able to test the new image because his processor

Re: [deal.II] Getting cmake errors compiling programs

2023-10-09 Thread Luca Heltai
Alexander, can you try out our new dmg image? https://github.com/dealii/dealii/releases/download/v9.5.1/dealii-9.5.1-sonoma-arm64-clang15.dmg I’m preparing also a new one, where the compiler is shipped together with the image. This should be robust to the next upgrades in the OS. Best, Luca.

Re: [deal.II] Getting cmake errors compiling programs

2023-10-08 Thread Luca Heltai
I managed to create a new dmg package. I’m testing that everything works correctly before I upload it, but I also found a quick workaround that you can use, without having to wait for me to upload a new package: you need to modify the files /Applications/deal.II.app/Contents/Resources/Librarie

Re: [deal.II] Getting cmake errors compiling programs

2023-10-08 Thread Luca Heltai
I updated to sonoma in order to find the problem, and I’m currently trying to recreate the package of the library. I confirm that I observe the same behaviour. I’ll upload a new .dmg as soon as I manage to get one working. Best, Luca. > On 6 Oct 2023, at 05:42, Alexander Mensah wrote: > > No

Re: [deal.II] Getting cmake errors compiling programs

2023-10-07 Thread Luca Heltai
Sorry, I had not read carefully. I see you have an intel mac. However, the compiler you are using is not the same compiler used to compile mpich (which was created on a Mac OS ventura, with clang 14, not clang 15). You will have to reinstall the full stack of packages. You should be able to run

Re: [deal.II] Getting cmake errors compiling programs

2023-10-07 Thread Luca Heltai
Is this with an M2 or an Intel mac? I think you might have installed the intel version of the library, on an M1 or M2 mac. Is this the case? My mpich is installed (on an M2 mac) under /Applications/deal.II.app/Contents/Resources/spack/opt/mpich-4.1.1-4l2n notice that the last 4 letters (part

Re: [deal.II] Getting cmake errors compiling programs

2023-10-06 Thread Wolfgang Bangerth
If I use the 'step-1' example, I get the same error (mpic++) as with the program I want to run. The error message complains that there is no file CMakeFiles/cmTC.../testCXXCompiler.cxx.o, which should have been produced by the commend in the preceding line from the file /Users/xmen/Desktop

Re: [deal.II] Getting cmake errors compiling programs

2023-10-05 Thread Wolfgang Bangerth
On 10/5/23 15:14, Alexander Mensah wrote: Could someone help me fix this? I believe that you're trying to call cmake (to configure one of the example programs) in the directory /Applications/deal.II.app/Contents/Resources/Libraries/examples/... but this is a system directory that you can

[deal.II] Getting cmake errors compiling programs

2023-10-05 Thread Alexander Mensah
deal.ii-9.5.0 Processor: 3.6 GHz 8-Core Intel Core i9 macOS: Sonoma 14.0 xcode-select version 2399. There seems to be an issue with compiler compatability. I recieve the following error when attempting to compile one of my projects (%cmake .): -- The C compiler identification is AppleClang 15.0.0