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

Fortran runtime error in 2dx #197

Open
NoaDS opened this issue Aug 2, 2017 · 5 comments
Open

Fortran runtime error in 2dx #197

NoaDS opened this issue Aug 2, 2017 · 5 comments

Comments

@NoaDS
Copy link

NoaDS commented Aug 2, 2017

I have imported a set of images into FOCUS for electron crystallography processing. When running 'Get Lattice & Tilt' the output generates an error:
At line 30 of file /Users/bs-hudson/jenkins/workspace/workspace/focus_nightly_build/label/OSX_10.12/kernel/mrc/source/2dx_emtilt.for (unit = 5, file = 'stdin')
Fortran runtime error: Bad real number in item 1 of list input

Error termination. Backtrace:

Program received signal SIGABRT: Process abort signal.

If I try to skip this stage and go straight to 'Get SpotList' it also generates a similar error:
At line 37 of file /Users/bs-hudson/jenkins/workspace/workspace/focus_nightly_build/label/OSX_10.12/kernel/mrc/source/2dx_calcmag.for (unit = 5, file = 'stdin')
Fortran runtime error: Bad real number in item 1 of list input

Error termination. Backtrace:

Program received signal SIGABRT: Process abort signal.

@sthennin
Copy link
Contributor

sthennin commented Aug 2, 2017

Hi,
that line in EMTILT tries to read the old tilt axis. What entry do you have to the tilt axis?
The Fortran line tries to read with format "*", which should take any number. But a character or an empty field might cause this problem.
Henning.

@NoaDS
Copy link
Author

NoaDS commented Aug 2, 2017

Hi,

Thanks for your rapid response. As the sample is untitled I had selected 'no' under determine tilt geometry, by selecting 'yes' the error message no longer appears.

Many thanks.

@sthennin
Copy link
Contributor

sthennin commented Aug 3, 2017

Hi,
I was only able to reproduce your error, when deleting the entry for the tilt axis. That field doesn't accept any characters other than numbers, so you cannot enter text there. But if you enter nothing, i.e., "", then the following programs crash because the parameter is not given and the TLTAXIS field then will simply read the next number, so that all entries are shifted by one entry.

Are you sure you have a number "0.0" in the TLTAXIS field?

@NoaDS
Copy link
Author

NoaDS commented Aug 8, 2017 via email

@sthennin
Copy link
Contributor

Hi,
Sorry for the delay. Do you still see that error? This seems to be a new error, the SegFault in Generate Map. But which program is failing?

Don't be too worried about the IEEE_DIVIDE_BY_ZERO errors. Many of these are in F66 libraries in the MRC code which stem from 1960 when this was CCP4 libraries. These are very difficult to maintain, and are usually division by zero errors when trying to inverse a matrix or similar. In most cases, the programs continue without errors, despite the error message.

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