Thanks Yugi, I have already added libs_all: under general options, but then the execpt.output.decode('utf-8'))) error appear, I have already change line 923 in compil_tools.py but now I have a new error:
Building the Python API
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~> Wrap_api built
~> Compiling Modules api
~> First part of f2py for api passed
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p1\scripts\python3\compilation\compil_tools.py", line 918, in compile_api_f2py
output = check_output(cmd, shell=True, stderr=STDOUT)
File "C:\Users\CHELO\anaconda3\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "C:\Users\CHELO\anaconda3\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'python -m numpy.f2py --build-dir tmp --quiet -c C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\api.pyf --fcompiler=gnu95 --compiler=mingw32 --opt="-O3" -IC:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\include C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libapi.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libtelemac3d.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libtelemac2d.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libsisyphe.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libgaia.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libnestor.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libtomawac.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libartemis.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libkhione.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libwaqtel.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libgretel.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libpartel.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libbief.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libparallel.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libhermes.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libdamocles.lib C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libspecial.lib ' 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 144, in <module>
main()
File "compile_telemac.py", line 137, in main
hermes_only='hermes_only' in cfg_opt)
File "C:\opentelemac-mascaret\v8p1\scripts\python3\compilation\compil_tools.py", line 972, in compile_api_files
f2py_opt=f2py_opt)
File "C:\opentelemac-mascaret\v8p1\scripts\python3\compilation\compil_tools.py", line 923, in compile_api_f2py
execpt.output.decode('utf-8')))
utils.exceptions.TelemacException: Error during second part of f2py for api 1
analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} 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.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.analyzevars: charselector={'len': '40'} unhandled.analyzevars: charselector={'len': '200'} unhandled.getstrlength:intent(hide): expected a string with defined length but got: {'typespec': 'character', 'charselector': {'*': '(*)'}, 'attrspec': [], 'intent': ['out']}
getstrlength:intent(hide): expected a string with defined length but got: {'typespec': 'character', 'charselector': {'*': '(*)'}, 'attrspec': [], 'intent': ['out']}
getstrlength:intent(hide): expected a string with defined length but got: {'typespec': 'character', 'charselector': {'*': '(*)'}, 'attrspec': [], 'intent': ['out']}
error: unknown file type '.lib' (from 'C:\opentelemac-mascaret\v8p1\builds\win7gfors\wrap_api\lib\libapi.lib')
I would appreciate any help on this matter.
Greetings,
Chelo.