-
Notifications
You must be signed in to change notification settings - Fork 38
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
BART on the scanner. #8
base: master
Are you sure you want to change the base?
Conversation
Hi Philip, Thanks for your work in improving the compatibility with BART! I had just one question -- was it necessary to increase the buffer space in the chroot image to 150 MB from 50MB for BART? Happy to make the change if needed, but if would like to preserve drive space otherwise. |
Hi, thanks for looking at it! Best |
Ah, in that case I would prefer that we keep the padding at 50 MB -- would you mind changing this back before we merge? Regarding a temporary folder, when running on the MARS the Thanks! |
- mmapping on TMPDIR /tmp/share does not work on the scanner, where this is a CIFS mounted directory. /tmp should be a tmpfs in the chroot on the scanner, thus this should not fill up the chroot either. - ENV variables aren't carried through to the chroot-image. Thus 'import bart' wouldn't work in the chroot. (on the github main branch we already have an installable python module; but for now stay at v0.9.00) - static linking leads to segfault in gfortran lib. To resolve this for now, changed to dynamic linking and install the runtime dependencies in the container. - Switched bart-build container to same base image as the fire-python container.
@@ -12,6 +12,11 @@ | |||
# Folder for debug output files | |||
debugFolder = "/tmp/share/debug" | |||
|
|||
# Don't write to /tmp/share in cfl | |||
os.environ["TMPDIR"] = "/tmp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is where BART will write temporary files, maybe change this to /tmp/share instead, as matching start-fire-python-server.sh?
Hi Kelvin! |
Hi,
thank you for this nice project.
I had to make some changes to get the bartfire reco script running on the scanner.
Please feel free to include them in your repo.
Best
Philip