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?
Warning in CosmoMC after running make in source file
-
- Posts: 19
- Joined: June 27 2023
- Affiliation: Universidad Nacional Autónoma de México
-
- Posts: 1983
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Warning in CosmoMC after running make in source file
These warnings are harmless when from abstract methods that are not used directly (only via inherited implementations).