Warning in CosmoMC after running make in source file

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Jose Lozano
Posts: 11
Joined: June 27 2023
Affiliation: Universidad Nacional Autónoma de México

Warning in CosmoMC after running make in source file

Post by Jose Lozano » September 26 2023

Hello Dear Community,

I'm a new user in CosmoMC and there's a warning that bothers me a little. I'm curious about the following warning:

mpif90 -f90=ifort -qmkl -qopenmp -O3 -no-prec-div -fpp -qopenmp -xHost -DMPI -I../camb/ReleaseMPI -module ReleaseMPI -IReleaseMPI/ -c PowellConstrainedMinimize.f90 -o ReleaseMPI/PowellConstrainedMinimize.o
PowellConstrainedMinimize.f90(25): warning #6178: The return value of this FUNCTION has not been defined. [RES]
function funkk(this, n, X) result(res)
--------------------------------------^

Have you detected this warning when you're compiling CosmoMC-planck2018? Should I modify the given PowellConstrainedMinimize.f90 file?

Antony Lewis
Posts: 1930
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Warning in CosmoMC after running make in source file

Post by Antony Lewis » September 26 2023

These warnings are harmless when from abstract methods that are not used directly (only via inherited implementations).

Post Reply