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 IEEE_INVALID_FLAG #88

Open
fede-tadd opened this issue Aug 16, 2021 · 1 comment
Open

error IEEE_INVALID_FLAG #88

fede-tadd opened this issue Aug 16, 2021 · 1 comment

Comments

@fede-tadd
Copy link

Hi Robin, i`m new with Py6S. I intend to use it for teaching and i have to run it in google colab. I have followed all instructions and everything seems OK, but whwn i try to run it, it crashes and sends this error message:

6S wrapper script by Robin Wilson
Using 6S located at /usr/local/bin/sixsV1.1
Running 6S using a set of test parameters
Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG


OutputParsingError Traceback (most recent call last)
in ()
----> 1 s.test()

2 frames
/usr/local/lib/python3.7/dist-packages/Py6S/outputs.py in init(self, stdout, stderr)
69 print(stderr)
70 raise OutputParsingError(
---> 71 "6S returned an error (shown above) - check for invalid parameter inputs"
72 )
73 elif (

OutputParsingError: 6S returned an error (shown above) - check for invalid parameter inputs

I am not very skilfull at programming so i cant realize what is going bad. I`ll apreciate very much if you can give a hand.
Thanks in advance!!!

image

@robintw
Copy link
Owner

robintw commented Aug 16, 2021

Hi,

How did you get the sixsV1.1 file installed on Colab? Did you install it using conda, or did you compile it manually?

If you compiled it manually, did you follow the instructions at https://py6s.readthedocs.io/en/latest/installation.html#alternative-manual-installation to edit the Makefile before compiling (step 5)? And did you include the -ffpe-summary=none flag? Having that flag sent to the Fortran compiler should fix this problem.

Let me know if that helps.

(I'm away on holiday from Wed, so may be slow in responding)

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