Skip to content

Library Cleaning and Minimal OF Build Scripts#26

Open
kincaidkc wants to merge 7 commits intoof11from
of11-min-build
Open

Library Cleaning and Minimal OF Build Scripts#26
kincaidkc wants to merge 7 commits intoof11from
of11-min-build

Conversation

@kincaidkc
Copy link
Owner

This PR strips unused libraries from the Make/options directories. It also provides two minimal build scripts to compile only the core OpenFOAM libraries necessary for AdditiveFOAM to function. These build scripts should be placed in the OpenFOAM-11 and ThirdParty-11 directories, then the main MinimalAllwmake should be run. It will automatically compile the ThirdParty directory to build Scotch and Zoltan (if present), then continue with the core OpenFOAM build. This process takes approximately 6 minutes and 30 seconds on a full node of an HPC cluster.

Note that further time savings could be realized for users who do not require the dynamic meshing / AMR capabilities, as is noted in the build script.

@kincaidkc kincaidkc requested a review from colemanjs February 23, 2024 21:29
@kincaidkc kincaidkc self-assigned this Feb 23, 2024
../configure \
--prefix=$ZOLTAN_ARCH_PATH \
--libdir=$FOAM_EXT_LIBBIN/$FOAM_MPI \
--with-mpi=/usr/local/mpi \
Copy link
Owner Author

@kincaidkc kincaidkc Feb 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@colemanjs we need to figure out why i needed to manually specify these. when you get a chance could you pull this repo and test if you can get it to work with the original $MPI_ARCH_PATH variable (as is done in the main ThirdParty/Allwmake script)? if so which module(s) did you need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant