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.10
mamba create -n moose python=3.10 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.2.tar.gz (11.9 MB view details)

Uploaded Source

Built Distribution

peacock_trame-0.1.2-py3-none-any.whl (12.0 MB view details)

Uploaded Python 3

File details

Details for the file peacock-trame-0.1.2.tar.gz.

File metadata

  • Download URL: peacock-trame-0.1.2.tar.gz
  • Upload date:
  • Size: 11.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.32.4 requests-toolbelt/1.0.0 urllib3/2.5.0 tqdm/4.67.1 importlib-metadata/8.7.0 keyring/25.6.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.18

File hashes

Hashes for peacock-trame-0.1.2.tar.gz
Algorithm Hash digest
SHA256 81351c785668295a7b1f1e58074ba00a7e655a3f4d4bd8d870c7ca58c227c0b2
MD5 60afabe970dedc29c2e5d31d6e579263
BLAKE2b-256 fd4e228073dbd8b64c993b4925e6d1a8aa9ea674cc044c6f1175973dfc2ee045

See more details on using hashes here.

File details

Details for the file peacock_trame-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: peacock_trame-0.1.2-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.12.1.2 readme-renderer/44.0 requests/2.32.4 requests-toolbelt/1.0.0 urllib3/2.5.0 tqdm/4.67.1 importlib-metadata/8.7.0 keyring/25.6.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.18

File hashes

Hashes for peacock_trame-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33176d9b20458ce3124c4c6890b20a823c18b9b25272057c441620819acbae85
MD5 04a3f25a7273e275e9302d85d67ff367
BLAKE2b-256 af8aa4e68c6aedc34832920c98e953af3cb01d9def2622b7327a6c4b5939156a

See more details on using hashes here.

Supported by

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