Giter Site home page Giter Site logo

peacock's Introduction

peacock-trame

MOOSE GUI developed using Trame from Kitware Inc.

image_1

License

Free software: Apache Software License

Mamba setup

curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-MacOSX-arm64.sh
bash Mambaforge-MacOSX-arm64.sh -b -p ~/mambaforge3
export PATH=$HOME/mambaforge3/bin:$PATH

You will probably have to move the code that was generated in ~/.bash_profile to ~/.zshrc.

Then after terminal restart add INL channel

conda config --add channels https://conda.software.inl.gov/public

Running the software

mkdir peacock-work
cd peacock-work
git clone --recursive [email protected]:Kitware/peacock.git
git clone --recursive https://github.com/idaholab/moose.git

Create venv with mamba locally

mamba install python=3.9
mamba create -n moose python=3.9 moose paraview -y
mamba activate moose
pip install peacock-trame

Test application on a moose example

peacock-trame -I ./moose/examples/ex08_materials/ex08.i

Running with language server

Clone and build the moose language server

git clone [email protected]:idaholab/moose-language-support.git
cd moose-language-support
npm run compile

Install middleware packages

cd /path/to/peacock/lang-server
npm i

Point to compiled language server when running app

peacock-trame -I ./ex08.i -L /path/to/moose-language-support/server/out/server.js

Development setup

Installing peacock using the local files

pip install -e ./peacock

Building the client code

cd vue-components
npm i
npm run build
cd -

Run the application assuming the same layout as previously described

cd ./moose/examples/ex08_materials
make
peacock-trame -I ./ex08.i

peacock's People

Contributors

jourdain avatar psavery avatar schencej avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

peacock's Issues

running examples error

I'm sorry to trouble you, but I need some assistance. When I run the test application "peacock-trame -I ./moose/examples/ex08_materials/ex08.i," it doesn't work, and there are error messages. Perhaps you know the reason, and we can discuss some of these errors. I'm eagerly awaiting your response!

WARNING
Problem running '/home/syw/peacock-work/moose/examples/ex08_materials/ex08-opt -options_left 0 --json'
WARNING
Failed to load json from '/home/syw/peacock-work/moose/examples/ex08_materials/ex08-opt': Problem running '/home/syw/peacock-work/moose/examples/ex08_materials/ex08-opt -options_left 0 --json'
Error: [Errno 2] No such file or directory: '/home/syw/peacock-work/moose/examples/ex08_materials/ex08-opt'
WARNING
Problem running '/home/syw/peacock-work/moose/examples/ex08_materials/ex08-opt -i /home/syw/peacock-work/moose/examples/ex08_materials/ex08_tmp.i --mesh-only /home/syw/peacock-work/moose/examples/ex08_materials/ex08_tmp_mesh.e'

q1

peacock-trame -I ./moose/examples/ex08_materials/ex08.i
May I ask why there was an error running the above code,there is error:No module named 'vtkmoudles'

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.