Input file for powerSpectrumPrimordialTransferred #551
-
I'm trying to generate the halo mass function using an external power spectrum. For the purpose I've added the following lines to the .xml file
Now when I compile this I get an error "can not create/overwrite read only file 'transferFunction_CDM.hdf5'". The file 'transferFunction_CDM.hdf5' has been generated using the power spectrum data generated independently. I'm not sure what's going wrong. Any inputs would be very helpful |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 25 replies
-
Hi Prakhar. This error message most likely indicates that Galacticus can not find the file
If the file does exist and the path is correct and you still get this message, the next most likely thing is that the file does not have read permissions set (that seems unlikely though), which you could fix with:
|
Beta Was this translation helpful? Give feedback.
-
Here's the output |
Beta Was this translation helpful? Give feedback.
Hi Prakhar. This error message most likely indicates that Galacticus can not find the file
'transferFunction_CDM.hdf5
. Check that it exists and the file name in your parameter file exactly matches that of the actual file. Also, if the file is not in the same directory path as you're running Galacticus from you'll need to specify the full path to it, e.g.:If the file does exist and the path is correct and you still get this message, the next most likely thing is that the file does not have read permissions set (that seems unlikely thoug…