Hello everyone. I am trying to compile TELEMAC v8p2 on a Ubuntu 20.04.
The final step of api compilation fails. Can anyone tell what may be the problem? I am adding the systel and pysource files.
Here is the message:
Building the Python API
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~> Wrap_api built
~> Compiling Modules api
~> First part of f2py for api passed
Traceback (most recent call last):
File "/home/leo/telemac/v8p2/scripts/python3/compilation/compil_tools.py", line 974, in compile_api_f2py
output = check_output(cmd, shell=True, stderr=STDOUT)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'f2py --quiet -c /home/leo/telemac/v8p2/builds/debgfopenmpidyn/wrap_api/lib/api.pyf --fcompiler=gnu95 --opt="" -I/home/leo/telemac/v8p2/builds/debgfopenmpidyn/wrap_api/include -L/home/leo/telemac/v8p2/builds/debgfopenmpidyn/wrap_api/lib -lapi -ltelemac3d4api -ltelemac2d4api -lsisyphe4api -lgaia4api -lnestor4api -ltomawac4api -lartemis4api -lkhione4api -lwaqtel4api -lgretel4api -lpartel4api -lbief4api -lparallel4api -lhermes4api -ldamocles4api -lspecial4api -lmascaret /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so.40.20.3 /home/leo/telemac/v8p2/optionals/metis-5.1.0/build/lib/libmetis.a /home/leo/telemac/v8p2/optionals/hdf5/lib/libhdf5.so --build-dir tmp_f2py' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "compile_telemac.py", line 143, in <module>
main()
File "compile_telemac.py", line 134, in main
compile_api_files(silent=not options.verbose,
File "/home/leo/telemac/v8p2/scripts/python3/compilation/compil_tools.py", line 1028, in compile_api_files
compile_api_f2py('api', api_dir, source_api, skip_source, ld_flags,
File "/home/leo/telemac/v8p2/scripts/python3/compilation/compil_tools.py", line 976, in compile_api_f2py
raise TelemacException(\
utils.exceptions.TelemacException: Error during second part of f2py for api 1
analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '32'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.getstrlength:intent(hide): expected a string with defined length but got: {'attrspec': [], 'intent': , 'typespec': 'character', 'charselector': {'*': '(*)'}}
getstrlength:intent(hide): expected a string with defined length but got: {'attrspec': [], 'intent': , 'typespec': 'character', 'charselector': {'*': '(*)'}}
getstrlength:intent(hide): expected a string with defined length but got: {'attrspec': [], 'intent': , 'typespec': 'character', 'charselector': {'*': '(*)'}}
error: unknown file type '.3' (from '/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so.40.20.3')