-
Hi, there. I am trying to insatll the latest version of DAMASK-3.0.0 in Ubuntu 24.04.1 LTS by using the Source Code method. However, I always faild in the step of cmake "compiliation and installation" of Grid and Mesh Solver. The ERRORs message are as follows, $cmake -S damask300 -B build-grid -DDAMASK_SOLVER=grid [ 1%] Building Fortran object src/CMakeFiles/DAMASK_grid.dir/parallelization.f90.o 201 | call MPI_Bcast(strlen,1_MPI_INTEGER_KIND,MPI_INTEGER,0_MPI_INTEGER_KIND,MPI_COMM_WORLD, err_MPI) 204 | call MPI_Bcast(str,strlen,MPI_CHARACTER,0_MPI_INTEGER_KIND,MPI_COMM_WORLD, err_MPI) 201 | call MPI_Bcast(strlen,1_MPI_INTEGER_KIND,MPI_INTEGER,0_MPI_INTEGER_KIND,MPI_COMM_WORLD, err_MPI) and, also for the mehs solver one, 201 | call MPI_Bcast(strlen,1_MPI_INTEGER_KIND,MPI_INTEGER,0_MPI_INTEGER_KIND,MPI_COMM_WORLD, err_MPI) 204 | call MPI_Bcast(str,strlen,MPI_CHARACTER,0_MPI_INTEGER_KIND,MPI_COMM_WORLD, err_MPI) 201 | call MPI_Bcast(strlen,1_MPI_INTEGER_KIND,MPI_INTEGER,0_MPI_INTEGER_KIND,MPI_COMM_WORLD, err_MPI) The system_report.txt of the PC system is attached following, Are there any errors, mistakes, errors, or software version compatibility issues in this installation? I'd very happy If anyone can give me some advices on solving this issure. thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
I found the Q&A (URL: https://www.damask.mpie.de/support/FAQ/installation.html#why-does-compilation-of-grid-or-mesh-solver-fail-due-to-missing-files) there has mentioned this : this maily cause cause the problem since the gfortran 13.2.0 is higher then 10 , how could I use this "add -DBUILDCMD_POST='-fallow-argument-mismatch -Wno-pedantic' ", could anyone give some suggestions? thank you |
Beta Was this translation helpful? Give feedback.
-
So everyone, I have finally solve this problem by downgrade gfortran version gfortran-9.5. |
Beta Was this translation helpful? Give feedback.
-
@ruanqc: good to hear that you solved this. There is another solution, see https://damask-multiphysics.org/support/FAQ/installation.html#why-does-compilation-of-grid-or-mesh-solver-fail-due-to-an-argument-mismatch. I could also imagine that the issue does not exists anymore with newer MPICH version and since your system report shows that you still use PETSc 3.16, I would recommend to update your PETSc installation. Note that DAMASK 3.0.0 does not work with newest PETSc 3.22, but we have a 3.0.1 release available for download that still needs to be announced on the website. Finally: If you use Ubuntu, the most convenient way to install DAMASK is via the PPA (https://damask-multiphysics.org/installation/package_manager.html#ubuntu). Library versions are not as recent as for a manual installation, but newer than gfortran 9 and PETSc 3.16. |
Beta Was this translation helpful? Give feedback.
@ruanqc: good to hear that you solved this. There is another solution, see https://damask-multiphysics.org/support/FAQ/installation.html#why-does-compilation-of-grid-or-mesh-solver-fail-due-to-an-argument-mismatch. I could also imagine that the issue does not exists anymore with newer MPICH version and since your system report shows that you still use PETSc 3.16, I would recommend to update your PETSc installation. Note that DAMASK 3.0.0 does not work with newest PETSc 3.22, but we have a 3.0.1 release available for download that still needs to be announced on the website.
Finally: If you use Ubuntu, the most convenient way to install DAMASK is via the PPA (https://damask-multiphysics.org…