Skip to main content

MOOSE GUI developed using Trame from Kitware Inc.

Project description

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 git@github.com: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 git@github.com: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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peacock-trame-0.1.1.tar.gz (11.9 MB view hashes)

Uploaded Source

Built Distribution

peacock_trame-0.1.1-py3-none-any.whl (12.0 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page