Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in example/rfreplay #239

Open
rantahar opened this issue Feb 27, 2025 · 1 comment
Open

Error in example/rfreplay #239

rantahar opened this issue Feb 27, 2025 · 1 comment

Comments

@rantahar
Copy link

Hi!

I tried running the rfreplay example following the script run_rfreplay.sh. The first command runs and generates 2 files, "baseline.jnii" and "baseline_detp.jdat".

The second command fails withMCX ERROR(-7):can not open the specified history file in unit mcx_utils.c:3927.

I think the file "baseline.mch" is missing. The second command in the script is ../../bin/mcx -f rfreplay.json -E baseline.mch -d 0 -F jnii "$@", which seems to refer to this filename, but the first command does not generate it.

@fangq
Copy link
Owner

fangq commented Mar 5, 2025

hi @rantahar, all replay simulations requires two mcxlab calls, the first one, called the baseline simulation, need to store photon seeds, and then the replay run can load the seed and replay the photons. the error you saw was likely due to the fact that the baseline simulation failed. did you see any error for the first mcxlab call?

is your computer able to run other mcxlab scripts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants