MOOSE GUI developed using Trame from Kitware Inc.
Project description
MOOSE GUI developed using Trame from Kitware Inc.
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
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
Release history Release notifications | RSS feed
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.0.tar.gz
(11.9 MB
view hashes)
Built Distribution
Close
Hashes for peacock_trame-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f84ea4b3aebf0202986f3dff424e1c7e354a645152f4bf32f6e64e6df46675e |
|
MD5 | 9167e4561914ad70472821ba9a0b775f |
|
BLAKE2b-256 | 8035dbd0631b534988f6d0edd4b8f23528ae96377fc332e0300a551bea757c29 |