...
Building can take hours to complete and can use multiple cores - because of this do not build OpenFOAM on the login nodes. Instead perform within an interactive salloc
session.
...
Code Block |
---|
# Define a number of cores: []$ salloc -A <account> -t 4:00:00 -c <num_of_cores> ... [<compute node>]$ ./Allwmake -j <num_of_cores> # Ask for ALL the cores on a compute node: []$ salloc -A <account> -t 4:00:00 --exclusive ... [<compute node>]$ ./Allwmake -j |
Building with ThirdParty Third Party libraries: Both Com/Org versions
Both the OpenFOAM and ThirdParty Third Party un-tarred folders need to within the same parent folder.
...
Building using pre-built libraries (i.e. without the ThirdParty Third Party Libraries)
This assumes you do not have the ThirdParty Third Party libraries un-tarred in the same parent folder as OpenFOAM.
...