Download data/src/Pstream/Allwmake from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 776 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/Pstream/Allwmake
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/src/Pstream/Allwmake
-
curl -L -o Allwmake https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/Pstream/Allwmake
776 Bytes
| cd ${0%/*} || exit 1 # Run from this directory | |
| # Parse arguments for library compilation | |
| . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments | |
| # Define how to create an mpi-versioned library of $targetType | |
| # compile into qualified directory | |
| # use sentinel file to handle version changes | |
| wmakeMpiLib() | |
| { | |
| for libName | |
| do | |
| ( | |
| WM_OPTIONS="$WM_OPTIONS$WM_MPLIB" | |
| whichmpi="$WM_PROJECT_DIR/platforms/$WM_OPTIONS/src/Pstream/$libName/using:$FOAM_MPI" | |
| [ -e "$whichmpi" ] || wclean $libName | |
| wmake $targetType $libName | |
| touch "$whichmpi" | |
| ) | |
| done | |
| } | |
| wmake $targetType dummy | |
| case "$WM_MPLIB" in | |
| *MPI*) | |
| wmakeMpiLib mpi | |
| ;; | |
| esac | |
| #------------------------------------------------------------------------------ | |