Author Topic: Benchmark issues on Ubuntu 16.04  (Read 1211 times)

termo

  • Newbie
  • *
  • Posts: 2
Benchmark issues on Ubuntu 16.04
« on: May 13, 2016, 10:44:27 AM »
I have compiled Kratos as explained in the Wiki for Linux

first of there is a typo error in benchmarking/build_all_references.py at line 20
Code: [Select]
os.chdir('./PFEMapplication/test_exemples')
should be:
Code: [Select]
os.chdir('./PFEMapplication/test_examples')

running this fixed build_all_references.py gives:
Code: [Select]
Building reference data for dam2d.py...
BuildReferenceData
Traceback (most recent call last):
  File "dam2d.py", line 60, in <module>
    gid_io.ReadModelPart(model_part)
RuntimeError: Calling base class member. Please check the definition of derived class
virtual void IO::ReadModelPart(ModelPart&) [ /home/blueprinter/Rasmus/kratos/kratos/kratos/includes/io.h , Line 206 ]

Building reference data for VMS2D test...
BuildReferenceData
Building reference data for slip condition test...
BuildReferenceData
Building reference data for fractional step element: cavity flow test...
BuildReferenceData
Building reference data for cylinder test with slip, wall law and outflow close to the cylinder...
BuildReferenceData

So some error around "gid_io.ReadModelPart" ?!?

Furthermore running the "run_all_benchmarks.py" starts good, but then has A LOT of fails (see attached benchmark output).

Any ideas to what I am doing wrong?

termo

  • Newbie
  • *
  • Posts: 2
Re: Benchmark issues on Ubuntu 16.04
« Reply #1 on: May 13, 2016, 12:20:21 PM »
Also in the PFEMApplication/test_examples there are alot of type errors such as:

Code: [Select]
from KratosMultiphysics.IncompressibleFluidApplicationimport *
->

Code: [Select]
from KratosMultiphysics.IncompressibleFluidApplication import *
and alot of python2 way of using print (without "()" ), eventhough that kratos is called now with python3 ( "print()" )

Is there a stable release that I can use?

Miguel Angel Celigueta

  • Administrator
  • Newbie
  • *****
  • Posts: 38
Re: Benchmark issues on Ubuntu 16.04
« Reply #2 on: May 13, 2016, 05:40:14 PM »
Hello Termo,
The Pfem Application has been abandoned for more than 2 years. All the commits since then are general maintenance operations to avoid compilation errors or fix known issues.
In the last months, J.M. Carbonell, A. Franci and myself are rebuilding the PFEM application from scratch. It is implemented inside PfemFluidDynamicsApplication and PfemSolidMechanicsApplication. Both should end up by using the tools inside PfemBaseApplication.
In the following months, the old Pfem Application will be removed or will end up by containing everything inside PfemBaseApplication.
Sorry about the inconvenience.
You can contact any of us three for any help, or post on this forum.
Regards,
Miguel Angel Celigueta