Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A simple guide for building ziran2020 in WSL1, Windows 10. #8

Open
ZP-Z opened this issue Nov 21, 2020 · 0 comments
Open

A simple guide for building ziran2020 in WSL1, Windows 10. #8

ZP-Z opened this issue Nov 21, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@ZP-Z
Copy link

ZP-Z commented Nov 21, 2020

ZIRAN in WSL1 Ubuntu 18.04

  • Turn off amgcl cuda by modifying Cmakelists on line 29: option(ENABLE_AMGCL_CUDA "Use amgcl cuda" OFF)
  • Install dependencies:
    sudo apt-get install make cmake g++ libeigen3-dev gfortran libmetis-dev
    sudo apt-get install libopenvdb-dev libboost-all-dev libilmbase-dev libopenexr-dev
    sudo apt-get install libtbb2 libtbb-dev libz-dev clang-format-6.0 clang-format
    
  • Build:
    mkdir build && cd build
    cmake .. -DCMAKE_BUILD_TYPE=Release
    make -j 4
    
  • Download mesh data: https://www.seas.upenn.edu/~cffjiang/research/ziran2020/Data.zip
  • Run demos in Projects/anisofracture or Projects/coupling

Run ziran2020 in Clion with WSL


Windows users can refer to this.
BTW, nice works!

东坡肉太有意思了。
如果有需要使用windows的朋友可以参考。

@JoshWolper JoshWolper added the documentation Improvements or additions to documentation label Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants