Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ For exporting the exodus file format used by Moose (https://github.com/idaholab/
* For Linux and Mac we suggest to link the static exodus library which comes along with libMesh (https://libmesh.github.io/) provided by Moose framework installation:
* Set the EXODUS_LIBMESH variable to `true`
* Define the path to the root directory of the `libmesh` installation using variable LIBMESH
* Alternatively, ExodusII can be installed on Ubuntu/Debian via the system package manager:
```bash
sudo apt install libexodusii-dev
```
Then compile MeshIt with:
```bash
qmake meshit.pro
make -j$(nproc)
```

* For Windows you have to link the dynamic exodus library which will be provided by the package mingw-w64-ucrt-x86_64-libexodus provided by the MSYS2 (https://www.msys2.org/) installation:
* Set the EXODUS_LIBRARY variable to `true`
Expand Down
14 changes: 12 additions & 2 deletions meshit.pro
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,18 @@ if($$EXODUS_LIBMESH) {
LIBS += -L$$LIBMESH/lib -lmesh_opt
QMAKE_LFLAGS += -Wl,-rpath,$$LIBMESH
}else:if($$EXODUS_LIBRARY) {
INCLUDEPATH += . $$EXODUS_PATH/include
LIBS += $$EXODUS_PATH/bin/libexodus.dll
unix:!macx {
LIBS += -lexoIIv2c
}

win32-g++ {
INCLUDEPATH += . $$EXODUS_PATH/include
LIBS += $$EXODUS_PATH/bin/libexodus.dll
}
win32-msvc* {
INCLUDEPATH += . $$EXODUS_PATH/include
LIBS += $$EXODUS_PATH/bin/libexodus.dll
}
}else{
DEFINES += NOEXODUS
}
Expand Down