Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting the deode ecflow suite #5

Open
iljamal opened this issue Jun 17, 2024 · 2 comments
Open

Starting the deode ecflow suite #5

iljamal opened this issue Jun 17, 2024 · 2 comments

Comments

@iljamal
Copy link

iljamal commented Jun 17, 2024

I have issue with python not finding ecflow module during deode suitr start ...

I have these modules loaded:
module load python3/3.10.10-01
module load ecflow

and deode_ui GUI loads well
but

deode start suite
2024-06-17 10:00:46 | INFO | Start deode v0.5.0 --> "deode start suite"
2024-06-17 10:00:47 | INFO | Set basetime to 2023-09-16T00:00:00Z
2024-06-17 10:00:47 | INFO | Set validtime to 2023-09-16T00:00:00Z
2024-06-17 10:00:47 | INFO | Starting suite...
2024-06-17 10:00:47 | INFO | Config file: /etc/ecmwf/nfs/dh1_home_b/eeim/Deode-Workflow/deode/data/config_files/config.toml
2024-06-17 10:00:47 | INFO | Ecflow settings:
2024-06-17 10:00:47 | INFO | ecf_host: ecflow-gen-eeim-001
2024-06-17 10:00:47 | INFO | ecf_jobout: /home/eeim/deode_ecflow/jobout
2024-06-17 10:00:47 | INFO | ecf_files: /home/eeim/deode_ecflow/ecf_files
2024-06-17 10:00:47 | INFO | ecf_files_remotely: /home/eeim/deode_ecflow/ecf_files
2024-06-17 10:00:47 | INFO | ecf_home: /home/eeim/deode_ecflow/jobout
2024-06-17 10:00:47 | INFO | ecf_user:
2024-06-17 10:00:47 | INFO | ecf_remoteuser:
2024-06-17 10:00:47 | INFO | suite definition: DeodeSuiteDefinition
Traceback (most recent call last):
File "/home/eeim/mambaforge/envs/cmc-beta/bin/deode", line 6, in
sys.exit(main())
^^^^^^
File "/etc/ecmwf/nfs/dh1_home_b/eeim/Deode-Workflow/deode/logs.py", line 106, in wrapper
function_rtn = function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/etc/ecmwf/nfs/dh1_home_b/eeim/Deode-Workflow/deode/main.py", line 27, in main
args.run_command(args=args, config=config)
File "/etc/ecmwf/nfs/dh1_home_b/eeim/Deode-Workflow/deode/commands_functions.py", line 195, in start_suite
server = EcflowServer(config, start_command=args.start_command)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/etc/ecmwf/nfs/dh1_home_b/eeim/Deode-Workflow/deode/scheduler.py", line 97, in init
raise ModuleNotFoundError("Ecflow not found")
ModuleNotFoundError: Ecflow not found

*** testing different pythons
[eeim@ac6-100 ~]$ python3.10
Python 3.10.10 (main, Feb 9 2023, 14:42:48) [GCC 8.5.0 20210514 (Red Hat 8.5.0-10)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import ecflow

[eeim@ac6-100 ~]$ python
Python 3.11.7 | packaged by conda-forge | (main, Dec 23 2023, 14:43:09) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import ecflow
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'ecflow'

[eeim@ac6-100 ~]$ python3
Python 3.10.10 (main, Feb 9 2023, 14:42:48) [GCC 8.5.0 20210514 (Red Hat 8.5.0-10)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import ecflow

[eeim@ac6-100 ~]$

@iljamal
Copy link
Author

iljamal commented Jun 17, 2024

Solved ... somehow
Had to shake off previous mambaforge py environment and re-install from clear? py environment.

@FlorianW-ZAMG
Copy link
Contributor

Okay, so the different python installations somehow interfered with each other? Might be something we can try to avoid in the workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants