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

Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG failed #269

Open
mwichro opened this issue Dec 10, 2021 · 4 comments
Open

Test DEAL_II_HAVE_USABLE_FLAGS_DEBUG failed #269

mwichro opened this issue Dec 10, 2021 · 4 comments

Comments

@mwichro
Copy link

mwichro commented Dec 10, 2021

I am setting up a compilation of deal.II on a machine that does not have MUMPS installed on it. It failed while configuring deal.II itself, and I have no idea what went wrong. I suppose the problem is somewhere in Trilinos because I tried to set up deal.II manually and link it with Trilinos compilation generated by the script, while without Trilinos the issue is gone.
I am using the newest CMake 3.22.1, which I have downloaded as a binary release.

Other packages that are missing:
splint tcl-dev environment-modules libsuitesparse-dev qt4-dev-tools

I do not have a root privilege there so I am not able to install those (that is also why I am trying to set up everything via Candi in the first place)

CMakeError.log
CMakeOutput.log
candi.cfg

@koecher
Copy link
Contributor

koecher commented Dec 10, 2021

Thanks for reporting.

Can you try switching on scalapack in the first section of packages?

@koecher
Copy link
Contributor

koecher commented Dec 10, 2021

additionally you can test PR #251 from me (unmerged so far) and maybe #259

@mwichro
Copy link
Author

mwichro commented Dec 10, 2021

Can you try switching on scalapack in the first section of packages?

mpif90 is installed I am quite sure it is working:

CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestFortranCompiler.cmake:45 (message):
The Fortran compiler

"/usr/bin/mpif90"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /export/home/mwichro/dealii-candi/tmp/build/scalapack-2.1.0/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_49359/fast"
/usr/bin/make -f CMakeFiles/cmTC_49359.dir/build.make CMakeFiles/cmTC_49359.dir/build
make[1]: Entering directory '/export/home/mwichro/dealii-candi/tmp/build/scalapack-2.1.0/CMakeFiles/CMakeTmp'
Building Fortran object CMakeFiles/cmTC_49359.dir/testFortranCompiler.f.o
/usr/bin/mpif90   -g -O3 -fallow-argument-mismatch  -fPIE   -c /export/home/mwichro/dealii-candi/tmp/build/scalapack-2.1.0/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_49359.dir/testFortranCompiler.f.o
gfortran: error: unrecognized command line option ‘-fallow-argument-mismatch’; did you mean ‘-Wno-argument-mismatch’?
make[1]: *** [CMakeFiles/cmTC_49359.dir/build.make:66: CMakeFiles/cmTC_49359.dir/testFortranCompiler.f.o] Error 1
make[1]: Leaving directory '/export/home/mwichro/dealii-candi/tmp/build/scalapack-2.1.0/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_49359/fast] Error 2

@koecher
Copy link
Contributor

koecher commented Dec 14, 2021

your fortran compiler doesn't accept the configuration:
ˋ-fallow-argument-mismatchˋ
You need to remove this from the scalapack package or update your compiler to a more recent version.

mpif90 is installed I am quite sure it is working:

gfortran: error: unrecognized command line option ‘-fallow-argument-mismatch’; did you mean ‘-Wno-argument-mismatch’?

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

2 participants