by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Anders Damsgaard
    @anders-dc
    anshumang: I can unfortunately not test it on my own system. The GPU's are busy finishing simulations for my thesis
    Anshuman Goswami
    @anshumang
    :+1: works, let you know once I run a CUPTI profile on it to get the kernel running times....
    Anshuman Goswami
    @anshumang
    I see 5 kernels besides the thrust sorting kernels in the CUPTI trace....namely, reorderArrays, topology, interact, integrate, calcParticleCellID...is that what you expect?
    None of these have 3D grids...and all of their running times are less than 1ms...actually, those are two things which I need..
    Any thoughts?....if you are busy with your thesis now, never mind...
    Anders Damsgaard
    @anders-dc
    anshumang: thanks for the feed back! The first part of the model run is going to involve very little grain-interaction, since the particles aren't initially touching. As the granular packing becomes denser and there are more contacts per particle, the topology and interact kernels should become heavier
    anshumang: the particles are handled on a 1d grid. The optional fluid computations are done on a 3d grid
    Anshuman Goswami
    @anshumang
    Got it, how do I enable the optional fluid computations?
    Anders Damsgaard
    @anders-dc
    anshumang: if you just want to test it out, you can add init.initFluid(cfd_solver=1) to line 43 in shear-test.py
    Zhang HaoLong
    @zhanghlHUST
    Dear Anders, I'm working on a program coupling LBM(d3Q19) and DEM(JKR model) together, with MPI. I meet a problem when test it , And I think the tangential friction cause error. And I read your code ( the contactmodels.cuh ), I wonder if I can have a further communication with you through email ?
    your code help a lot, but I still confused about the detail. And I am working on describe the detail of my implementation
    Zhang HaoLong
    @zhanghlHUST
    @anders-dc
    I wrote you a email, have you checked it?
    Anders Damsgaard
    @anders-dc
    Sorry for the slow reply, I hope you found the email response useful. My new email is andersd@princeton.edu. The UCSD address is no longer active.
    Anders Damsgaard
    @anders-dc
    hi all, feel free to let me know if you are interested in doing DEM modeling, or have any questions specific to sphere that you would like to ask.
    Anders Damsgaard
    @anders-dc
    Hi all, the git repository has moved to git://src.adamsgaard.dk/sphere. There's a web interface at https://src.adamsgaard.dk/sphere. Let me know if this causes any issues
    A Dinesh
    @dineshadepu

    Hi Anders,

    I am unable to clone the repository through git clone. Can you provide an option like `download as zip'?

    Anders Damsgaard
    @anders-dc
    dineshadepu: Hi! Could you please double check the command? git clone git://src.adamsgaard.dk/sphere should work. Otherwise, I am happy to make a zip
    A Dinesh
    @dineshadepu
    It is probably waiting from the opposite side.
    
     ----DESKTOP DESKTOP DESKTOP----------------------------------
     dinesh@desktop /home/dinesh/phd/code/cpp $  
    |  DESKTOP DESKTOP=> git clone git://src.adamsgaard.dk/sphere
    Cloning into 'sphere'...
    I am inside an institute, so probably that might be a reason
    Anders Damsgaard
    @anders-dc
    what if you try git clone -v git://src.adamsgaard.dk/sphere ?
    The git port could be blocked by firewall
    A Dinesh
    @dineshadepu
    ----DESKTOP DESKTOP DESKTOP----------------------------------
    dinesh@desktop /home/dinesh/phd/code/cpp $
    | DESKTOP DESKTOP=> git clone -v git://src.adamsgaard.dk/sphere
    Cloning into 'sphere'...
    Looking up src.adamsgaard.dk ... done.
    Connecting to src.adamsgaard.dk (port 9418) ...
    Anders Damsgaard
    @anders-dc
    ok, as an immediate remedy, let me make a zip. I will think about adding git over https for a long-term solution
    A Dinesh
    @dineshadepu
    Thank you.
    Anders Damsgaard
    @anders-dc
    no problem
    A Dinesh
    @dineshadepu
    That worked.
    Anders Damsgaard
    @anders-dc
    great
    A Dinesh
    @dineshadepu
    I am trying to install the software by running the INSTALL.sh file.
    I get the following error
     ----DESKTOP DESKTOP DESKTOP----------------------------------
     dinesh@desktop (master *) /home/dinesh/phd/code/cpp/sphere $  
    |  DESKTOP DESKTOP=> ./INSTALL.sh 
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/dinesh/phd/code/cpp/sphere
    [  3%] Building NVCC (Device) object src/CMakeFiles/porosity.dir/porosity_generated_utility.cu.o
    gcc-8.3: No such file or directory
    CMake Error at porosity_generated_utility.cu.o.Release.cmake:219 (message):
      Error generating
      /home/dinesh/phd/code/cpp/sphere/src/CMakeFiles/porosity.dir//./porosity_generated_utility.cu.o
    
    
    src/CMakeFiles/porosity.dir/build.make:84: recipe for target 'src/CMakeFiles/porosity.dir/porosity_generated_utility.cu.o' failed
    make[2]: *** [src/CMakeFiles/porosity.dir/porosity_generated_utility.cu.o] Error 1
    CMakeFiles/Makefile2:91: recipe for target 'src/CMakeFiles/porosity.dir/all' failed
    make[1]: *** [src/CMakeFiles/porosity.dir/all] Error 2
    Makefile:94: recipe for target 'all' failed
    make: *** [all] Error 2
    I am using Ubuntu 18. My gcc version is
     ----DESKTOP DESKTOP DESKTOP----------------------------------
     dinesh@desktop (master *) /home/dinesh/phd/code/cpp/sphere $  
    |  DESKTOP DESKTOP=> gcc -v
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
    OFFLOAD_TARGET_NAMES=nvptx-none
    OFFLOAD_TARGET_DEFAULT=1
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.3.0-6ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
    Thread model: posix
    gcc version 8.3.0 (Ubuntu 8.3.0-ubuntu1~18.04.1)
    How to work around this error?
    Anders Damsgaard
    @anders-dc
    dineshadepu: please change gcc-8.3 to gcc in src/CMakeLists.txt and try again
    A Dinesh
    @dineshadepu
    Thanks Anders. I have one final question. I am running
    `cohesion-
    capillary-cohesion.sh file, I am unable to quit or close it now. Can you please tell me how to stop a running sphere simulation.
    A Dinesh
    @dineshadepu
    I figured it out. Thanks
    Anders Damsgaard
    @anders-dc
    I was just out for lunch. Ctrl-c is the way to terminate a running process, as you may have figured out
    A Dinesh
    @dineshadepu
    Actually it was running in the background. I used %kill. Thanks any way
    Anders Damsgaard
    @anders-dc
    dineshadepu: no problem. The command nvidia-smi is very helpful in order to check what is running on what GPU, and what the performance settings are like