CosmoNest: why this error when compiling pos_samp.f90?

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Jie Ren
Posts: 28
Joined: May 13 2006
Affiliation: Theoretical Physics Division, Chern Institute of Mathematics, Nankai University, Tianjin, China

CosmoNest: why this error when compiling pos_samp.f90?

Post by Jie Ren » November 16 2006

Hello, there are some errors when I compile the file pos_samp.f90 of CosmoNest following the instruction in this file. How to solve this error? Thank you very much!

[renphysics@nkstar2 source]$ ifort -W0 -WB -Vaxlib -fpp2 pos_samp.f90 utils.o -L../camb -lcamb -I../camb -o ../pos_samples
fortcom: Error: pos_samp.f90, line 34: The attributes of this name conflict with those made accessible by a USE statement. [INI_FAIL_ON_NOT_FOUND]
logical :: Ini_fail_on_not_found=.false.
-------------^
fortcom: Error: pos_samp.f90, line 47: The attributes of this name conflict with those made accessible by a USE statement. [IARGC]
nfile = iargc()
----------^
fortcom: Error: pos_samp.f90, line 68: The attributes of this name conflict with those made accessible by a USE statement. [INI_FAIL_ON_NOT_FOUND]
Ini_fail_on_not_found = .false.
--^
compilation aborted for pos_samp.f90 (code 1)

Post Reply