Skip to content

test with the MCD6.1alpha, compilation with python 3.6 #46

@antoine-bierjon

Description

@antoine-bierjon

compile_fmcd.sh fails at his first call to f2py (which thus doesn't create a fmcd.pyf file).
The log for this first f2py call (/!\ this log is erased in default version by the 2nd call to f2py in compile_fmcd.sh, see issue #45 ) ends with these lines :

Traceback (most recent call last):
File "/opt/python3-anaconda50/bin/f2py", line 28, in
main()
File "/opt/python3-anaconda50/lib/python3.6/site-packages/numpy/f2py/f2py2e.py", line 650, in main
run_main(sys.argv[1:])
File "/opt/python3-anaconda50/lib/python3.6/site-packages/numpy/f2py/f2py2e.py", line 408, in run_main
postlist = callcrackfortran(files, options)
File "/opt/python3-anaconda50/lib/python3.6/site-packages/numpy/f2py/f2py2e.py", line 329, in callcrackfortran
postlist = crackfortran.crackfortran(files)
File "/opt/python3-anaconda50/lib/python3.6/site-packages/numpy/f2py/crackfortran.py", line 3246, in crackfortran
readfortrancode(files, crackline)
File "/opt/python3-anaconda50/lib/python3.6/site-packages/numpy/f2py/crackfortran.py", line 363, in readfortrancode
l = fin.readline()
File "/opt/python3-anaconda50/lib/python3.6/fileinput.py", line 299, in readline
line = self._readline()
File "/opt/python3-anaconda50/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd7 in position 7369: invalid continuation byte

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions