Py6S icon indicating copy to clipboard operation
Py6S copied to clipboard

error IEEE_INVALID_FLAG

Open fede-tadd opened this issue 2 years ago • 1 comments

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

fede-tadd avatar Aug 16 '21 16:08 fede-tadd

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)

robintw avatar Aug 16 '21 18:08 robintw