Skip to content

Instantly share code, notes, and snippets.

@antoinetavant
Last active September 11, 2023 06:22
Show Gist options
  • Save antoinetavant/65fbed2ea669cffc028e6cd94faa8848 to your computer and use it in GitHub Desktop.
Save antoinetavant/65fbed2ea669cffc028e6cd94faa8848 to your computer and use it in GitHub Desktop.
script to run in a docker, just to see it it works
echo "pulling LPPic !"
git clone https://tavant@hephaistos.lpp.polytechnique.fr/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
@jianyi324
Copy link

Hello! It needs a password when I git clone the "LPPic". Can you help me? please!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment