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-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
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
Built Distribution
File details
Details for the file peacock-trame-0.1.1.tar.gz
.
File metadata
- Download URL: peacock-trame-0.1.1.tar.gz
- Upload date:
- Size: 11.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bf5a8793f964192a882ef45812139ac7d307140a1cd219e705d4880690d60dd |
|
MD5 | 5a5ebfc29d9343ff63247a49fc6b02e3 |
|
BLAKE2b-256 | 9b3ef1375f5e831281a34182d76e339893456ec3edcfc6167955fccf933db7e9 |
File details
Details for the file peacock_trame-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: peacock_trame-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17ecc89a96ef074353c9596b9f525046382695640147ce934fb0e12a86f8c847 |
|
MD5 | 364d019f8e62d99bcf2321ecbcbd205d |
|
BLAKE2b-256 | 1478d36e793fbbe08d29133f1e2d610940cb6d5dc9935c7e358749559ecb2f12 |