CoCoA - Collaborative Coupling Applications
Currently, ProXPDE
and FEMuS
are not yet available in mainstream spack
, clone our fork
git clone https://github.com/capitalaslash/spack.git -b 0.22_femus
- copy
spack-env/spack-template.yaml
inspack/spack.yaml
, edit packages and install them
cp spack-env/spack-template.yaml spack-env/spack.yaml
edit spack-env/spack.yaml
spack env activate spack-env
spack concretize -f
spack install
source <FOAM_DIR>/etc/bashrc
- copy
run_cmake-template.bash
inrun_cmake.bash
edit options and run it
cp run_cmake-template.bash run_cmake.bash
edit run_cmake.bash
bash ./run_cmake.bash
- compile library and app
cd build
ninja
- set up environment
spack env activate spack-env
- copy/link configuration files in build directory
cd build
ln -s ../data/fd1d_heat.dat
ln -s ../data/fd1d_hc.dat
- run app
cd build
./main
- plot results of fd1d
./fd1dplot.py build/fd1d_heat.dat