-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Gerasimos Chourdakis <[email protected]> Co-authored-by: Ishaan Desai <[email protected]> Co-authored-by: Ishaan Desai <[email protected]> Co-authored-by: David Schneider <[email protected]> Co-authored-by: erikscheurer <[email protected]>
- Loading branch information
1 parent
45a770b
commit 4996945
Showing
13 changed files
with
100 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# Install the C++ vtk library | ||
sudo apt-get -y install libvtk7-dev | ||
sudo apt-get -y install libmetis-dev | ||
|
||
python3 -m pip install sympy scipy jinja2 | ||
|
||
# Get aste | ||
if [ ! -d "aste/" ]; then | ||
git clone --depth=1 --branch master https://github.com/precice/aste.git | ||
fi | ||
( | ||
cd aste | ||
git pull | ||
mkdir -p build && cd build | ||
cmake .. && make -j "$(nproc)" | ||
) | ||
|
||
# Add aste to PATH and libmetis to the library path | ||
echo "export PATH=\"\${HOME}/aste/build:\${PATH}\"" >>~/.bashrc | ||
echo "export LD_LIBRARY_PATH=\"\${HOME}/aste/build:\${LD_LIBRARY_PATH}\"" >>~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
# install latest julia | ||
pip3 install jill | ||
jill install --confirm | ||
|
||
# install preCICE bindings | ||
julia -e 'using Pkg; Pkg.add("PreCICE")' | ||
|
||
# to test the installation, run the following command: | ||
# julia -e 'using Pkg; Pkg.test("PreCICE")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
Prebuilt libraries and tools of swak4Foam for Ubuntu 20.04 and OpenFOAM v2112, based on commit ea7680cdcf8b (December 2021). | ||
Prebuilt libraries and tools of swak4Foam for Ubuntu 20.04 and OpenFOAM v2206, based on the develop branch of swak4Foam (built on November 2022): | ||
|
||
```bash | ||
vagrant@precicevm:~/swak4Foam$ hg tip | ||
changeset: 3999:481d96f16780 | ||
branch: develop | ||
tag: tip | ||
parent: 3997:4d33e38246ad | ||
parent: 3998:12dad7c691d1 | ||
user: Bernhard F.W. Gschaider <[email protected]> | ||
date: Mon Jul 04 01:06:48 2022 +0200 | ||
summary: flow: Promoted <feature> 'port/of9' (12dad7c691d1) to 'develop'. | ||
``` | ||
|
||
The files are extracted from `/home/vagrant/OpenFOAM/vagrant-<version>/platforms/` and copied there. | ||
|
||
Find the source code on http://hg.code.sf.net/p/openfoam-extend/swak4Foam/rev/ea7680cdcf8b |
Git LFS file not shown