ufs-community / ufs-weather-model

UFS Weather Model
Other
134 stars 239 forks source link

RT tests are not working with -e flag on Hercules #2334

Open uturuncoglu opened 2 weeks ago

uturuncoglu commented 2 weeks ago

Description

I am getting Python module error when I try to run the RTs with -e option (ecflow).

To Reproduce:

What compilers/machines are you seeing this with? Intel Give explicit steps to reproduce the behavior.

  1. git clone --recursive https://github.com/ufs-community/ufs-weather-model.git ufs-weather-model_dev
  2. cd ufs-weather-model_dev/tests
  3. ./rt.sh -a nems -e

Additional context

N/A

Output

output logs

rt_utils.sh: Starting ECFLOW tasks...
rt_utils.sh: Total number of tasks processed -- 303

ECFLOW Tasks Remaining: 303/303 Traceback (most recent call last):
  File "/work2/noaa/nems/tufuk/COASTAL/ufs-weather-model_dev/tests/abort_dep_tasks.py", line 3, in <module>
    import ecflow as ecflow
  File "/work/noaa/epic/role-epic/spack-stack/hercules/ecflow-5.8.4/lib/python3.9/site-packages/ecflow/__init__.py", line 1, in <module>
    from .ecflow import *
SystemError: type Boost.Python.enum has the Py_TPFLAGS_HAVE_GC flag but has no traverse function
BrianCurtis-NOAA commented 2 weeks ago

@RatkoVasic-NOAA @jkbk2004 have we tested on Orion with -e ? If so, is the ecflow package built with the python support on Orion? Maybe there's some permission issue somewhere?

RatkoVasic-NOAA commented 2 weeks ago

Yes, it is working on Orion. I just ran full rt.sh using -e option. Here is path for Orion ecflow: /work/noaa/epic/role-epic/spack-stack/orion/modulefiles/

BrianCurtis-NOAA commented 2 weeks ago

@RatkoVasic-NOAA Is there a PR with orion changes coming that @uturuncoglu could pull and use?

RatkoVasic-NOAA commented 2 weeks ago

2332 is issue. I'll create new PR today. If cannot wait (it can take some time for commit), here is my branch: https://github.com/RatkoVasic-NOAA/ufs-weather-model/tree/orion-rocky9

uturuncoglu commented 2 weeks ago

@RatkoVasic-NOAA @BrianCurtis-NOAA Thanks all for your help. JFYI, the fix is not urgent for me at this point. I had this error when I sync UFS Coastal model with head of develop. So, I just want to inform you about that. Thanks again.