I have been compiling CAMB code with its default, and obtained following IOError even though the data file exits in the camb directory for both cases.
Code: Select all
gansuh2@soliton2:~/camb$ python python/CLCompare.py
Traceback (most recent call last):
File "python/CLCompare.py", line 13, in <module>
plot_compare([root, root2], ncl=4, x='sqrt')
File "/home/gansuh2/camb/python/cambPlots.py", line 200, in plot_compare
clResults[i] = checkClResult(res)
File "/home/gansuh2/camb/python/cambPlots.py", line 148, in checkClResult
if lensedCl: return ClResult(result)
File "/home/gansuh2/camb/python/cambPlots.py", line 38, in __init__
if isinstance(lensedcl, basestring): lensedcl = np.loadtxt(lensedcl, skiprows=skiprows)
File "/usr/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 690, in loadtxt
fh = iter(open(fname, 'U'))
IOError: [Errno 2] No such file or directory: '../test_lensedCls.dat'
gansuh2@soliton2:~/camb$ python python/covCompare.py
Traceback (most recent call last):
File "python/covCompare.py", line 12, in <module>
plot_array([root], y='log', x='log', half=True, diff=False)
File "/home/gansuh2/camb/python/cambPlots.py", line 159, in plot_array
if isinstance(res, basestring): clResults[i] = ClResult(cov_cls=res)
File "/home/gansuh2/camb/python/cambPlots.py", line 49, in __init__
self.set_cov_cls(cov_cls, scaling)
File "/home/gansuh2/camb/python/cambPlots.py", line 52, in set_cov_cls
arr = np.loadtxt(cov_cls)
File "/usr/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 690, in loadtxt
fh = iter(open(fname, 'U'))
IOError: [Errno 2] No such file or directory: '../test_lensing_scalCovCls.dat'
gansuh2@soliton2:~/camb$
Thank you.
-Gansukh