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
    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