Hello,
I'm a sys admin trying to install Telemac as a module on an HPC cluster. As you can guess I don't use Telemac myself so I would like some help to understand how to compile Telemac...
When running compile_telemac.py I have this error:
Compiling the API
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~> Wrap_api built
~> Compiling Modules api
~> First part of f2py for api passed
Traceback (most recent call last):
File "/softs/telemac-mascaret/v8p0r0/scripts/python3/compilation/compil_tools.py", line 905, in compile_api_f2py
output = check_output(cmd, shell=True, stderr=STDOUT)
File "/softs/python/Python-3.8.1/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/softs/python/Python-3.8.1/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'f2py3 --quiet -c api.pyf --fcompiler=gnu95 --opt="" -I/softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/include -L$METISHOME/lib -lmetis/softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/api.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/telemac3d.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/telemac2d.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/sisyphe.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/nestor.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/tomawac.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/artemis.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/khione.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/waqtel.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/gretel.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/partel.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/bief.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/parallel.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/hermes.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/damocles.a /softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/special.a ' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/softs/telemac-mascaret/v8p0r0/scripts/python3/compile_telemac.py", line 146, in <module>
main()
File "/softs/telemac-mascaret/v8p0r0/scripts/python3/compile_telemac.py", line 128, in main
compile_api_files(silent=True,
File "/softs/telemac-mascaret/v8p0r0/scripts/python3/compilation/compil_tools.py", line 959, in compile_api_files
compile_api_f2py('api', api_dir, source_api, skip_source, ld_flags,
File "/softs/telemac-mascaret/v8p0r0/scripts/python3/compilation/compil_tools.py", line 907, in compile_api_f2py
raise Exception('Error during second part of f2py for {} {} \n'
Exception: Error during second part of f2py for api 1
b'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\']}\ngetstrlength:intent(hide): expected a string with defined length but got: {\'typespec\': \'character\', \'charselector\': {\'*\': \'(*)\'}, \'attrspec\': [], \'intent\': [\'out\']}\ngetstrlength:intent(hide): expected a string with defined length but got: {\'typespec\': \'character\', \'charselector\': {\'*\': \'(*)\'}, \'attrspec\': [], \'intent\': [\'out\']}\nerror: Command "/opt/ohpc/pub/compiler/gcc/8.3.0/bin/gfortran -Wall -g -fno-second-underscore -fPIC -I/softs/telemac-mascaret/v8p0r0/builds/gfortranHPC/wrap_api/include -I/tmp/tmprv4ip_st/src.linux-x86_64-3.8 -I/softs/python/Python-3.8.1/lib/python3.8/site-packages/numpy/core/include -I/softs/python/Python-3.8.1/include/python3.8 -c -c /tmp/tmprv4ip_st/src.linux-x86_64-3.8/_api-f2pywrappers2.f90 -o /tmp/tmprv4ip_st/tmp/tmprv4ip_st/src.linux-x86_64-3.8/_api-f2pywrappers2.o" failed with exit status 1\n'
I use the very basic systel.cfg file provided on the installation page so I guess the problem comes from here but I'm a bit lost on what I should modify on this file. I had a look at the edf config file but we are using open mpi, not intelmpi.
I'm trying to install v8p0r0.
I've created a module file which I load on the master node before running compile_telemac.py which fails. I attach my module file and the systel.cfg.
I use Python 3.8, gfortran 4.9.2 and openMPI 4.0.3 (compiled with gnu 4.9.2)
The users will submit their jobs with Slurm.
Could someone help me please?
Many thanks in advance for your help.
File Attachment:
File Name:
systel.cfgFile Size: 2 KB