Giter Club home page Giter Club logo

Comments (4)

tarelli avatar tarelli commented on August 16, 2024

@skhayrulin I added a test for the cube with membranes and water inside. The test is crashing the kernel (the one without water works fine). This is what gets printed in the console

created CLContext(platform = Apple; devices = Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz)
device - 0: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (Apple)
Version OpenCL C 1.2 
Version 1.1
using Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (Apple)
max workgroup size: 1024
max workitems size: 1024
INFO : org.geppetto.solver.sph.SPHSolverService - SPH solver start
INFO : org.geppetto.solver.sph.SPHSolverService - SPH STEP START
INFO : org.geppetto.solver.sph.SPHSolverService - SPH clear buffer
INFO : org.geppetto.solver.sph.SPHSolverService - SPH clear buffer end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH hash particles
INFO : org.geppetto.solver.sph.SPHSolverService - SPH hash particles end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH sort
INFO : org.geppetto.solver.sph.SPHSolverService - SPH sort end, took 5ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH sort post pass
INFO : org.geppetto.solver.sph.SPHSolverService - SPH sort post pass end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH index
INFO : org.geppetto.solver.sph.SPHSolverService - SPH index end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH index post pass
INFO : org.geppetto.solver.sph.SPHSolverService - SPH index post pass end, took 2ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH find neighbors
INFO : org.geppetto.solver.sph.SPHSolverService - SPH find neighbors end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute density
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute density end, took 1ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute forces and init pressure
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute forces and init pressure end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute elastic forces
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute elastic forces end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH predict/correct loop
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH predict/correct loop end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH integrate
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH integrate end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH finish queue
INFO : org.geppetto.solver.sph.SPHSolverService - SPH finish queue end, took 296ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH computation step done, took 304ms
INFO : org.geppetto.solver.sph.SPHSolverService - Step count 0
INFO : org.geppetto.solver.sph.SPHSolverService - SPH STEP END, took 304ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH STEP START
INFO : org.geppetto.solver.sph.SPHSolverService - SPH clear buffer
INFO : org.geppetto.solver.sph.SPHSolverService - SPH clear buffer end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH hash particles
INFO : org.geppetto.solver.sph.SPHSolverService - SPH hash particles end, took 1ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH sort
INFO : org.geppetto.solver.sph.SPHSolverService - SPH sort end, took 4ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH sort post pass
INFO : org.geppetto.solver.sph.SPHSolverService - SPH sort post pass end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH index
INFO : org.geppetto.solver.sph.SPHSolverService - SPH index end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH index post pass
INFO : org.geppetto.solver.sph.SPHSolverService - SPH index post pass end, took 2ms
INFO : org.geppetto.solver.sph.SPHSolverService - SPH find neighbors
INFO : org.geppetto.solver.sph.SPHSolverService - SPH find neighbors end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute density
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute density end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute forces and init pressure
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute forces and init pressure end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute elastic forces
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH compute elastic forces end, took 1ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH predict/correct loop
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH predict/correct loop end, took 0ms
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH integrate
INFO : org.geppetto.solver.sph.SPHSolverService - PCI-SPH integrate end, took 0ms
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000001123b085b, pid=30987, tid=33027
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# [thread 32003 also had an error]
C  [cl_kernels+0x185b]  findNeighbors_wrapper+0x2fb
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/matteocantarelli/Documents/Development/Geppetto/org.geppetto.solver.sph/hs_err_pid30987.log
[thread 31747 also had an error][thread 31491 also had an error]

#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

denominator equal to zero
0.000000    42.191803   42.191803
0.000000    -44.480843  -44.480843
0.000000    -49.726879  -49.726879

{{0.000000,42.191803,42.191803},{0.000000,-44.480843,-44.480843},{0.000000,-49.726879,-49.726879}}

calculateProjectionOfPointToPlane() returned error
 membran ID: 172

denominator equal to zero
0.000000    2.200615    0.000000
0.000000    42.722408   0.000000
0.000000    0.000000    0.000000

{{0.000000,2.200615,0.000000},{0.000000,42.722408,0.000000},{0.000000,0.000000,0.000000}}

calculateProjectionOfPointToPlane() returned error
 membran ID: 173

denominator equal to zero
0.000000    42.191803   42.191803
0.000000    -44.480843  -44.480843
0.000000    -49.726879  -49.726879

{{0.000000,42.191803,42.191803},{0.000000,-44.480843,-44.480843},{0.000000,-49.726879,-49.726879}}

calculateProjectionOfPointToPlane() returned error
 membran ID: 172

Can you try and see if it works in yours? Also I commented testSolve14_ExpectNaN and testSolve216_NaN in PCISPHSolverTest as they were both crashing and would prevent mvn install to finish. Can you uncomment them locally and see if they pass in your system? Every other test in PCISPHSolverTest works.

from org.geppetto.

tarelli avatar tarelli commented on August 16, 2024

@skhayrulin run the liquid test on Sibernetic and it seems to work there. Next step is to realize what is different with the porting.

from org.geppetto.

tarelli avatar tarelli commented on August 16, 2024

Test report with latest membranePorting:
screen shot 2014-04-29 at 14 09 27
All checkpoint fail and should be fixed.

When running with the frontend the liquid scene explodes on my Mac (both CPU and GPU):
screen shot 2014-04-29 at 14 16 54

The new added test cube with water passes on my CPU but not on GPU, every other test works fine on mine GPU.
When running with the frontend the cube with water scene (using the CPU as the GPU gives a seg error) the scene disintegrates into tiny dots.
I will try next to run on Amazon to see what from the above is different in terms of explosions and tests passing/failing.

from org.geppetto.

tarelli avatar tarelli commented on August 16, 2024

@dkruchinin glad you don't see the segmentation fault when running those tests. This is the other issue that I was having on my mac that doesn't seem to happen on Linux. Basically while using the membranePorting branch try loading the liquid simulation sample and see if the liquid for you explodes like in the screenshot above. I am tracking this issue here

from org.geppetto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.