E4S-Project / e4s-cl

Container manager for E4S
https://e4s-cl.readthedocs.io
MIT License
14 stars 3 forks source link

e4s-cl init crash on crusher #94

Closed spoutn1k closed 2 years ago

spoutn1k commented 2 years ago

Crash when using stock init on crusher.

[jskutnik@login2.crusher ~]$ e4s-cl -v init
[Debug e4s_cl.cli.commands.__main__:195] Verbosity level: DEBUG
[Debug e4s_cl.cf.storage.local_file:50] '/autofs/nccs-svm1_home1/jskutnik/SHARED/E4SCL_INSTALLATION/system/system.json' opened read-write
[Debug e4s_cl.cf.storage.local_file:170] Initialized system database '/autofs/nccs-svm1_home1/jskutnik/SHARED/E4SCL_INSTALLATION/system/system.json'
[Debug e4s_cl.cf.storage.local_file:50] '/autofs/nccs-svm1_home1/jskutnik/.local/e4s_cl/user.json' opened read-write
[Debug e4s_cl.cf.storage.local_file:170] Initialized user database '/autofs/nccs-svm1_home1/jskutnik/.local/e4s_cl/user.json'
[Debug e4s_cl.cli.commands.init:77] e4s-cl init args: Namespace(cmd=[])
[Debug root:25] Failed to retrieve generator: no extensions in cache
[Debug root:79] find library=libmpi.so.12; searching
[Debug root:63] search path=/sw/aaims/crusher/build/smartbench/lib:/opt/cray/pe/papi/6.0.0.15/lib64:/opt/cray/libfabric/1.15.0.0/lib64      (LD_LIBRARY_PATH)
[Debug root:67] trying file=/sw/aaims/crusher/build/smartbench/lib/libmpi.so.12
[Debug root:67] trying file=/opt/cray/pe/papi/6.0.0.15/lib64/libmpi.so.12
[Debug root:67] trying file=/opt/cray/libfabric/1.15.0.0/lib64/libmpi.so.12
[Debug root:94] search cache=/etc/ld.so.cache
[Debug root:63] search path=/lib:/usr/lib:/lib64:/usr/lib64     (SYSTEM)
[Debug root:67] trying file=/lib/libmpi.so.12
[Debug root:67] trying file=/usr/lib/libmpi.so.12
[Debug root:67] trying file=/lib64/libmpi.so.12
[Debug root:67] trying file=/usr/lib64/libmpi.so.12
[Debug root:79] find library=libmpi.so.40; searching
[Debug root:63] search path=/sw/aaims/crusher/build/smartbench/lib:/opt/cray/pe/papi/6.0.0.15/lib64:/opt/cray/libfabric/1.15.0.0/lib64      (LD_LIBRARY_PATH)
[Debug root:67] trying file=/sw/aaims/crusher/build/smartbench/lib/libmpi.so.40
[Debug root:67] trying file=/opt/cray/pe/papi/6.0.0.15/lib64/libmpi.so.40
[Debug root:67] trying file=/opt/cray/libfabric/1.15.0.0/lib64/libmpi.so.40
[Debug root:94] search cache=/etc/ld.so.cache
[Debug root:63] search path=/lib:/usr/lib:/lib64:/usr/lib64     (SYSTEM)
[Debug root:67] trying file=/lib/libmpi.so.40
[Debug root:67] trying file=/usr/lib/libmpi.so.40
[Debug root:67] trying file=/lib64/libmpi.so.40
[Debug root:67] trying file=/usr/lib64/libmpi.so.40
[Debug e4s_cl.cli.commands.init:187] MPI vendor not supported by precompiled binary initialisation
Proceeding with legacy initialisation
No MPI compiler detected. Please load a module or use the `--mpi` option to specify the MPI installation to use.
[Debug e4s_cl.error:168] Traceback (most recent call last):
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/bin/e4s-cl", line 12, in <module>
    sys.exit(cli_main_cmd.main(sys.argv[1:]))
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/lib/python3.9/site-packages/e4s_cl/cli/commands/__main__.py", line 199, in main
    return cli.execute_command([cmd], cmd_args)
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/lib/python3.9/site-packages/e4s_cl/cli/__init__.py", line 314, in execute_command
    return find_command(cmd).main(cmd_args)
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/lib/python3.9/site-packages/e4s_cl/cli/commands/init.py", line 469, in main
    status = _analyze_binary(args)
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/lib/python3.9/site-packages/e4s_cl/cli/commands/init.py", line 203, in _analyze_binary
    returncode = detect_command.main(command)
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/lib/python3.9/site-packages/e4s_cl/cli/commands/profile/detect.py", line 268, in main
    args = self._parse_args(argv)
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/lib/python3.9/site-packages/e4s_cl/cli/command.py", line 76, in _parse_args
    args = self.parser.parse_args(args=argv)
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/lib/python3.9/argparse.py", line 1824, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/ccs/home/jskutnik/SHARED/E4SCL_INSTALLATION/conda/lib/python3.9/argparse.py", line 1836, in parse_known_args
    args = list(args)
TypeError: 'int' object is not iterable