scivision / mumps

MUMPS via CMake
http://mumps-solver.org
MIT License
115 stars 46 forks source link

error #5102: Cannot open include file 'zmumps_struc.h' #4

Closed jdh13 closed 3 years ago

jdh13 commented 3 years ago

Hello, i am using your doc to include mumps into my project with FetchProject, as you described it. But got this error when compiling:

: error #5102: Cannot open include file 'zmumps_struc.h'
    INCLUDE 'zmumps_struc.h'
------------^
/tmp/ifortVCXhzJ.i90(757): catastrophic error: Too many errors, exiting

but this file exists, in the build directory:

$ find . -name "zmumps*.h"
./_deps/mumps_proj-src/include/zmumps_c.h
./_deps/mumps_proj-src/include/zmumps_root.h
./_deps/mumps_proj-src/include/zmumps_struc.h
./_deps/mumps_proj-src/src/zmumps_gpu.h

Could you help, please?

Thanks in advance

scivision commented 3 years ago

I'm not sure, I don't see this issue with zmumps_struc.h. What Git revision or Git tag are you on for mumps?

scivision commented 3 years ago

I would recommend building MUMPS as ExternalProject in general. We've come to find FetchContent isn't the best solution for this type of project.