Hi,
I'm new to UNIX environment and using git commands. I'm trying to figure out how to update/upgrade the old version of CFDEMcoupling using git pull, command.
Can someone confirm me if the following is the approach:
1. In OpenFOAM/OpenFOAM-5.x
git pull
git checkout 538044ac05c4672b37c7df607dca1116fa88df88
./Allwmake
2. In LIGGGHTS/LIGGGHTS-PUBLIC
git pull
3. In CFDEM/CFDEMcoupling-PUBLIC-5.x
git pull
4.
source ~/.bashrc
cfdemSysTest
cfdemCompCFDEMall
I wrote the above steps keeping in mind that
- One already has a working builds and bash sources of OpenFOAM-5.x, LIGGGHTS and CFDEMcoupling-PUBLIC-5.x
- One has to check out the specific compatible head of OpenFOAM as listed in versionInfo.H
- One has to compile LIGGGHTS and CFDEM source codes together. Hence instead of individually running make files of each, one has to run cfdemCompCFDEMall
Please correct me if I'm wrong. I just want people to check this, before I go ahead and execute them. I just want to be safe and don't want mess up my at least my current build