Skip to content

Commit

Permalink
Fortran macros should be only in header files...
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Jan 27, 2025
1 parent 30af0eb commit 5f5af9f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 51 deletions.
2 changes: 0 additions & 2 deletions include/galahad_modules.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@
#define MKL_PARDISO_PRIVATE MKL_PARDISO_PRIVATE_64
#define MKL_PARDISO MKL_PARDISO_64
#define galahad_metis galahad_metis_64
#define spmf_interfaces spmf_interfaces_64
#define spmf_enums spmf_enums_64
#define pastixf_interfaces pastixf_interfaces_64
#define pastixf_enums pastixf_enums_64
#endif

Expand Down
25 changes: 0 additions & 25 deletions src/external/pastix/pastixf_interfaces.F90
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,6 @@
!> @author Selmane Lebdaoui
!> @date 2023-07-21

#ifdef INTEGER_64
#define pastixf_enums pastixf_enums_64
#define spmf_enums spmf_enums_64
#endif

#ifdef REAL_32
#ifdef INTEGER_64
#define pastixf_interfaces_precision pastixf_interfaces_single_64
#else
#define pastixf_interfaces_precision pastixf_interfaces_single
#endif
#elif REAL_128
#ifdef INTEGER_64
#define pastix_interfaces_precision pastix_interfaces_quadruple_64
#else
#define pastix_interfaces_precision pastix_interfaces_quadruple
#endif
#else
#ifdef INTEGER_64
#define pastixf_interfaces_precision pastixf_interfaces_double_64
#else
#define pastixf_interfaces_precision pastixf_interfaces_double
#endif
#endif

MODULE pastixf_interfaces_precision

INTERFACE pastixInitParam
Expand Down
24 changes: 0 additions & 24 deletions src/external/pastix/spmf_interfaces.F90
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,6 @@
!> @author Tony Delarue
!> @date 2023-12-06

#ifdef INTEGER_64
#define spmf_enums spmf_enums_64
#endif

#ifdef REAL_32
#ifdef INTEGER_64
#define spmf_interfaces_precision spmf_interfaces_single_64
#else
#define spmf_interfaces_precision spmf_interfaces_single
#endif
#elif REAL_128
#ifdef INTEGER_64
#define spmf_interfaces_precision spmf_interfaces_quadruple_64
#else
#define spmf_interfaces_precision spmf_interfaces_quadruple
#endif
#else
#ifdef INTEGER_64
#define spmf_interfaces_precision spmf_interfaces_double_64
#else
#define spmf_interfaces_precision spmf_interfaces_double
#endif
#endif

MODULE spmf_interfaces_precision

USE iso_c_binding, ONLY : c_float, c_double, c_ptr, &
Expand Down

0 comments on commit 5f5af9f

Please sign in to comment.