... | ... | @@ -121,5 +121,40 @@ export WM_PROJECT_DIR=/usr/share/openfoam |
|
|
- Archived [README](/packaging/debian/README) contents that should appear on the sourceforge repo.
|
|
|
- Archived [installer script](/packaging/debian/add-debian-repo.sh) contents that should appear on dl.openfoam.com/
|
|
|
|
|
|
|
|
|
## Known problems
|
|
|
|
|
|
### Cannot find MPI library
|
|
|
|
|
|
This is a [very strange issue](https://develop.openfoam.com/Development/openfoam/-/issues/1817#note_49023)
|
|
|
in which the Ubuntu triggers fails to properly link the mpi libraries.
|
|
|
|
|
|
Contents for `libopenmpi-dev` exist:
|
|
|
```
|
|
|
$ dpkg-query -L libopenmpi-dev | grep libmpi
|
|
|
|
|
|
/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
|
|
|
/usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi_cxx.so
|
|
|
...
|
|
|
```
|
|
|
Reverse lookup is also correct:
|
|
|
```
|
|
|
$ dpkg-query -S /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
|
|
|
|
|
|
libopenmpi-dev:amd64: /usr/lib/x86_64-linux-gnu/openmpi/lib/libmpi.so
|
|
|
```
|
|
|
Except that ***none*** of the links actually exist on the regular
|
|
|
Ubuntu install (the docker install is OK for some unknown reason).
|
|
|
_It appears that the triggers for `libopenmpi-dev` might be run too soon._
|
|
|
|
|
|
The following brute-force method (there might be a cleaner way) seems
|
|
|
to work to retrigger things properly.
|
|
|
```
|
|
|
$ sudo dpkg --remove --force-all libopenmpi-dev
|
|
|
$ sudo apt install libopenmpi-dev
|
|
|
```
|
|
|
After this all of the `.so` links exist as expected.
|
|
|
|
|
|
|
|
|
---
|
|
|
Copyright (C) 2020-2021 OpenCFD Ltd. |