# SPECT benchmark error

**URL:** <https://castor-project.discourse.group/t/spect-benchmark-error/519>\
**Category:** General Discussions\
**Created:** [May 10, 2023, 12:27pm UTC](https://castor-project.discourse.group/t/spect-benchmark-error/519 "2023-05-10T12:27:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.student](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@a.student](https://castor-project.discourse.group/u/a.student)\
**Post date:** [May 10, 2023, 12:27pm UTC](https://castor-project.discourse.group/t/spect-benchmark-error/519/1 "2023-05-10T12:27:02Z")

</div>

Hello everyone,

I am just starting to use CASToR and in order to practice a little bit and understand how it works, I tried to insert every command listed in the “run\_benchmark\_spect\_histogram\_unix.sh”.

This is what I wrote on the command line:  
“castor-recon -vb 2 -df benchmark\_spect\_histogram.cdh -atn benchmark\_spect\_histogram\_mumap.hdr -fout benchmark\_spect\_histogram\_challenger -oit -1 -it 4:15 -dim 128,128,86 -vox 3.3,3.3,3.  
3 -opti MLEM -proj incrementalSiddon -conv gaussian,11.,11.,3.::psf -th 0 -flip-out Y”

This are the errors I got:  
"\*\*\*\*\* ReadIntfHeader()-\> Error : couldn’t find or read header interfile ‘benchmark\_spect\_histogram\_mumap.hdr’ !

\*\*\*\*\* castor-recon() → An error occurred while trying to read the interfile header of attenuation file benchmark\_spect\_histogram\_mumap.hdr !

\*\*\*\*\* Exit function called. Abort with code 1."

Did I do something wrong? Or is there a problem with the aforementioned files?

Thank you in advance for your help!  
Adriana

---

<div class="post-metadata">

**Author:** ![alexandremerasli](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@alexandremerasli](https://castor-project.discourse.group/u/alexandremerasli)\
**Post date:** [May 10, 2023, 4:26pm UTC](https://castor-project.discourse.group/t/spect-benchmark-error/519/2 "2023-05-10T16:26:22Z")

</div>

> [@a.student](#):
>
> castor-recon -vb 2 -df benchmark\_spect\_histogram.cdh -atn benchmark\_spect\_histogram\_mumap.hdr -fout benchmark\_spect\_histogram\_challenger -oit -1 -it 4:15 -dim 128,128,86 -vox 3.3,3.3,3.  
> 3 -opti MLEM -proj incrementalSiddon -conv gaussian,11.,11.,3.::psf -th 0 -flip-out Y

Hi Adriana,

Are you running the castor-recon command line in the good directory ? To be sure the command line finds your files, you could use absolute paths instead of relative paths. If you use relative paths, you must run the command line in the good directory.  
I hope this will solve your error, your command line should work then.

Best,  
Alexandre

---

<div class="post-metadata">

**Author:** ![a.student](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@a.student](https://castor-project.discourse.group/u/a.student)\
**Post date:** [May 11, 2023, 7:40am UTC](https://castor-project.discourse.group/t/spect-benchmark-error/519/3 "2023-05-11T07:40:09Z")

</div>

Once again, you were right and your suggestion worked!  
Thank you so much 🙂
