Hi!
I am trying to install the Polychord sampler for use with cobaya. I have gfortran and gcc version 13.20. When I try to "make" in the polychord directory, i get the error mentioned below. After searching google for the error, I have tried adding the flag -fallow-argument-mismatch to FFLAGS and CXXFLAGS, but it does not resolve the error. If someone has faced a similar issue before and know a way to resolve it, kindly let me know. Any suggestions/comments are appreciated.
Thanks!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
mpif90 -ffree-line-length-none -cpp -fPIC -fno-stack-arrays -Ofast -DMPI -fallow-argument-mismatch -c interfaces.F90
interfaces.F90:436:41:
436 | call run_polychord(loglikelihood,prior,dumper,settings,comm)
| 1
Error: Derived type ‘prior’ is used as an actual argument at (1)
interfaces.F90:189:41:
189 | call run_polychord(loglikelihood,prior,settings, comm)
| 1
Error: Derived type ‘prior’ is used as an actual argument at (1)
interfaces.F90:157:41:
157 | call run_polychord(loglikelihood,prior,dumper,settings,comm)
| 1
Error: Derived type ‘prior’ is used as an actual argument at (1)
interfaces.F90:117:41:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%