Mentions légales du service

Skip to content
Snippets Groups Projects
Commit aedad4bc authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Protect Fortran files and fix undeclared warnings

parent d87566f3
No related branches found
No related tags found
No related merge requests found
......@@ -67,16 +67,22 @@ set(spm_sources
spm_dof_extend.c
spm_read_driver.c
spm_gen_fake_values.c
drivers/skitf.f
drivers/iohb.c
drivers/mmio.c
drivers/laplacian.c
drivers/readhb.c
drivers/readijv.c
drivers/readmm.c
drivers/readrsa.c
)
if (PASTIX_WITH_FORTRAN)
set(spm_sources
${spm_sources}
drivers/skitf.f
drivers/readrsa.c
)
endif()
add_library(pastix_spm
${spm_sources}
)
......
......@@ -82,10 +82,11 @@ spmReadDriver( pastix_driver_t driver,
{
switch(driver)
{
#if defined(PASTIX_WITH_FORTRAN)
case PastixDriverRSA:
readRSA( filename, spm );
break;
#endif
case PastixDriverHB:
/* TODO: Possible to read the RHS, the solution or a guess of the solution */
readHB( filename, spm );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment