Skip to content

fesom2 pset_execute benchmarks fail #32

@fluidnumerics-joe

Description

@fluidnumerics-joe

Parcels version

Parcels-code/Parcels@32bcf93 (v4-dev branch)

Steps to reproduce

pixi run asv run

Error message

[75.00%] ··· fesom2.FESOM2.time_pset_execute                             failed
[75.00%] ··· ======= ========================
             --             integrator       
             ------- ------------------------
              npart   <function AdvectionEE> 
             ======= ========================
              10000           failed         
             ======= ========================
             For parameters: 10000, <function AdvectionEE>
             INFO: cf_xarray found variable 'w' with CF standard name 'w' in dataset, renamed it to 'W' for Parcels simulation.
             INFO: cf_xarray found variable 'unod' with CF standard name 'unod' in dataset, renamed it to 'U' for Parcels simulation.
             INFO: cf_xarray found variable 'vnod' with CF standard name 'vnod' in dataset, renamed it to 'V' for Parcels simulation.
             
               0%|          | 0/86400.0 [00:00<?, ?it/s]
             Integration time: 0.0:   0%|          | 0/86400.0 [00:00<?, ?it/s]Traceback (most recent call last):
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/asv_runner/server.py", line 179, in _run_server
                 _run(run_args)
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/asv_runner/run.py", line 72, in _run
                 result = benchmark.do_run()
                          ^^^^^^^^^^^^^^^^^^
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/asv_runner/benchmarks/_base.py", line 661, in do_run
                 return self.run(*self._current_params)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/asv_runner/benchmarks/time.py", line 165, in run
                 samples, number = self.benchmark_timing(
                                   ^^^^^^^^^^^^^^^^^^^^^^
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/asv_runner/benchmarks/time.py", line 258, in benchmark_timing
                 timing = timer.timeit(number)
                          ^^^^^^^^^^^^^^^^^^^^
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/timeit.py", line 180, in timeit
                 timing = self.inner(it, self.timer)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
               File "<timeit-src>", line 6, in inner
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/asv_runner/benchmarks/time.py", line 90, in func
                 self.func(*param)
               File "/group/tdgs/joe/parcels-benchmarks/benchmarks/fesom2.py", line 56, in time_pset_execute
                 self.pset_execute(npart,integrator)
               File "/group/tdgs/joe/parcels-benchmarks/benchmarks/fesom2.py", line 53, in pset_execute
                 pset.execute(runtime=runtime, dt=dt, pyfunc=integrator)
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/parcels/_core/particleset.py", line 463, in execute
                 self._kernel.execute(self, endtime=next_time, dt=dt)
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/parcels/_core/kernel.py", line 252, in execute
                 f(pset[evaluate_particles], self._fieldset)
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/parcels/kernels/_advection.py", line 94, in AdvectionEE
                 (u1, v1) = fieldset.UV[particles]
                            ^^^^^^^^^^^
               File "/group/tdgs/joe/parcels-benchmarks/.asv/env/b54e0339d4ce929e91168b1373f7b02b/lib/python3.12/site-packages/parcels/_core/fieldset.py", line 88, in __getattr__
                 raise AttributeError(f"FieldSet has no attribute '{name}'")
             AttributeError: FieldSet has no attribute 'UV'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions