The issue of speeding up compilation #761
Unanswered
WZDDZFJ
asked this question in
Installation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Professor He
I am currently using the v3.1.2 version of dafoam. I would like to ask you a few questions:
1. If I only modify the files in dafoam-main, do I need to recompile openfoam?
. $DAFOAM_ROOT_PATH/OpenFOAM/OpenFOAM-v1812/etc/bashrc
./Allmake 2> log.txt
. $DAFOAM_ROOT_PATH/OpenFOAM/OpenFOAM-v1812-ADR/etc/bashrc
./Allclean
./Allmake 2> log.txt
. $DAFOAM_ROOT_PATH/OpenFOAM/OpenFOAM-v1812-ADF/etc/bashrc
./Allclean
./Allmake 2> log.txt
pip install .
Can I skip the bolded section without modifying it and run
pip install .
directly? Because this will greatly accelerate the compilation speed.2. I'm a bit unclear about the specific difference between
OpenFOAM-v1812-ADR
andOpenFOAM-v1812-ADF
, because I saw that you only uploaded theOpenFOAM-v1812-AD
package. Are they just different in theOpenFOAM-v1812-AD/etc/bashrc
file?3. If OpenFOAM-v1812-ADR is modified, where should it be compiled? Because I only see that to compile dafoam, you need to put the newly modified files in the
repos
folder.The above three are my questions, and I really need your help. Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions