Download data/src/parallel/decompose/ptscotch/Allwmake from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 695 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/parallel/decompose/ptscotch/Allwmake
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/src/parallel/decompose/ptscotch/Allwmake
-
curl -L -o Allwmake https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/parallel/decompose/ptscotch/Allwmake
695 Bytes
| cd ${0%/*} || exit 1 # Run from this directory | |
| # Parse arguments for library compilation | |
| . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments | |
| # Build if Scotch is enabled and MPI is available | |
| if [ -n "$WM_MPLIB" ] && [ -d "$FOAM_LIBBIN/$FOAM_MPI" ] | |
| then | |
| case $SCOTCH_TYPE in | |
| none) | |
| ;; | |
| *) | |
| . $WM_PROJECT_DIR/wmake/scripts/AllwmakeMpiLib | |
| . $($WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch) | |
| echo " using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH" | |
| wmakeMpiLib scotch_$SCOTCH_VERSION ptscotch | |
| ;; | |
| esac | |
| else | |
| echo " skipping ptscotch" | |
| fi | |
| #------------------------------------------------------------------------------ | |