Last active
September 11, 2023 06:22
-
-
Save antoinetavant/65fbed2ea669cffc028e6cd94faa8848 to your computer and use it in GitHub Desktop.
script to run in a docker, just to see it it works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "pulling LPPic !" | |
git clone https://[email protected]/rhodecode/GIT_REPOSITORIES/LPP/LPPic2D/LPPic | |
cd LPPic | |
git checkout FIX_Diel | |
mkdir -p build | |
cd build | |
module load mpi/openmpi-x86_64 | |
export libinfo=SHARED && cmake .. | |
make -j | |
cd .. | |
chmod -R 777 build | |
chmod -R 777 /opt/buildagent/temp/ | |
cd build | |
useradd nonroot | |
su -c "CTEST_OUTPUT_ON_FAILURE=1 ctest" nonroot | |
cd ../.. | |
chmod -R 777 LPPic | |
cd LPPic | |
alias python=python3 | |
su -c "sh scripts/debug_couples.sh" nonroot | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! It needs a password when I git clone the "LPPic". Can you help me? please!