Giter VIP home page Giter VIP logo

peridem's Issues

About code running segment error (core dump)

FAQ

When I change the model file (usually multi Granular Computing), I have encountered the problem of core dump many times. Later, I tried to calculate the example you gave: PeriDEM/examples/PeriDEM/compressive_test/n500_circ_hex/run2/inp. The same problem was encountered.

After the previous calculation was interrupted, I used the results of the previous calculation as the input file and then calculated, but now this method doesn't work because the results of one file haven't come out and an error is reported

Actual Behavior

...

  1. The following three screenshots are the problems after modifying the geometric model
    2021-06-14 18-23-11 的屏幕截图
    2021-06-14 18-20-22 的屏幕截图
    2021-06-14 18-19-23 的屏幕截图
    ...

  2. The following three screenshots are the run2 file of the compression example given without modifying the geometric model
    图片
    图片
    图片

Steps to Reproduce the Problem

... Please be as specific as possible while describing how to reproduce your problem.

  1. cd /PeriDEM/examples/PeriDEM/compressive_test/n500_circ_hex/init_configand sudo sh ./run.sh
  2. cd /PeriDEM/examples/PeriDEM/compressive_test/n500_circ_hex/run1 and sudo sh ./run.sh
  3. Copy the last result file calculated in step 2 to the "run2 / inp" file path and cd /PeriDEM/examples/PeriDEM/compressive_test/n500_circ_hex/run2 andsudo sh ./run.sh

Specifications

...My computing environment

  • HPX Version: hpx-1.3.0
  • Platform (compiler, OS): Linux ytj-OptiPlex-9020 5.4.0-81-generic #91~18.04.1-Ubuntu SMP Fri Jul 23 13:36:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Difficulty compiling dependencies for PeriDEM

Sharing the conversation with Tangjin with regard to compiling dependencies HPX and PCL for PeriDEM. Hope this will be of some help.

Hi,

If you are using Ubuntu18.04, you should

  1. first install the dependencies using apt-get:
sudo apt-get install libboost-dev libvtk7-dev libyaml-cpp-dev libhwloc-dev libjemalloc-dev libflann-dev
  1. install HPX and PCL libraries by running the bash script 'install_libs.sh' as follows
cd <peridem-libs-dir> # <-- create a directory where you want to store the HPX, PCL libraries
./install_libs.sh Release # <--- copy install_libs.sh from here https://github.com/prashjha/PeriDEM/blob/main/tools/script/build_scripts/ubuntu-18.04/install_libs.sh and run it

Above will install HPX and PCL.

HPX will be installed to directory /local/hpx/1.3.0/Release

PCL will be installed to directory /local/pcl/1.11.1/Release

  1. Now you can install PeriDEM
cd <peridem-dir>
git clone https://github.com/prashjha/PeriDEM.git
cd PeriDEM
mkdir build && cd build

# run cmake
cmake   -DHPX_DIR="<hpx directory>/lib/cmake/HPX" \
        -DPCL_DIR="<pcl directory>" \
        -DEnable_Documentation=ON \
        -DEnable_Tests=ON \
        -DCMAKE_BUILD_TYPE=Release \
        ./..

# make
make -j 4

# run tests
ctest --verbose

I will update the instructions in https://github.com/prashjha/PeriDEM/blob/main/README.md in next few days. Let me know if you have any issues.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
On Tue, Apr 6, 2021 at 9:25 AM 我心飞翔💪 [email protected] wrote:

Dr Prashjha hello, I am a graduate student from China agricultural university,YUAN Tangjin, I focus on making to you about the near field dynamics and the coupling of the discrete element code, I want to try to run, but ran into trouble when the build environment, want to ask you, in your code “/PeriDEM/tree/main/tools/script/build_scripts/ubuntu 18.04” path, files can be directly used to build the application environment? Or do you want to download the source code of those dependent libraries from the Internet and compile it yourself ? Can you give us some guidance? If I can get your guidance, sincerely thank you !
unnamed

missing Cnakefile.txt

Hello,

after running install_base/libs.sh successfully, install_peridem.sh failed with error message as follows:

jma@EGIS-PG-105:~/PeriDEM$ ./tools/script/build_scripts/ubuntu-18.04/install_peridem.sh Release
SCRIPTPATH = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04
SOURCEDIR = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/source/
BUILDDIR = /home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/build/
Shell: /bin/sh
<<<<<<<<<<< >>>>>>>>>>>
PERIDEM
<<<<<<<<<<< >>>>>>>>>>>
CMake Error: The source directory "/home/jma/PeriDEM/tools/script/build_scripts/ubuntu-18.04/source/peridem/0.1.0" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found. Stop.

Any suggestion?

Regards,

Jingsheng Ma

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.