Guinea-Pig installation
export BASE=$PWD # where you want to install it
- Install fftw :
cd $BASE
mkdir fftw
cd fftw
cp ~eperez//public/Marian/fftw-2.1.5.tar ./.
tar -xvf fftw-2.1.5.tar
cd fftw-2.1.5
./configure --enable-i386-hacks --prefix=$BASE/fftw/fftw-2.1.5/install
make
make install
- Install Guinea-Pig :
cd $BASE
mkdir Guineapig
cd Guineapig
git clone https://gitlab.cern.ch/clic-software/guinea-pig.git
cd guinea-pig
./configure -prefix=\(BASE/Guineapig/guinea-pig/install_fftw2 -enable-fftw2 -with-fftwdir=\)BASE/fftw/fftw-2.1.5/install
# this is to add some diagnostics (time information).
# not mandatory, but useful :
cd src
cp /afs/cern.ch/user/e/eperez/public/Yorgos/code/*.cc ./.
cp /afs/cern.ch/user/e/eperez/public/Yorgos/code/*.h ./.
cd ..
make
make install
- Test Guinea Pig
cd testing
ln -s ../install_fftw2/bin/guinea ./.
cp /afs/cern.ch/user/e/eperez/public/Marian/acc.dat ./.
for a fast test :
./guinea FCCee FCCee_BS_for_test out
more precise calculations :
./guinea FCCee FCCee_BS out
- Example ROOT macro :
cp /afs/cern.ch/user/e/eperez/public/Marian/power_SR_differential.x ./.
root
.x power_SR_differential.x
- Submission to CONDOR :
cp /afs/cern.ch/user/e/eperez/public/Marian/submit.sh ./.
chmod +x submit.sh
cp /afs/cern.ch/user/e/eperez/public/Marian/condor.sub ./.
Edit submit.sh to change the name of the "testing" directory.
Idem in condor.sub
submit the job :
condor_submit condor.sub
check where it stands :
condor_q
NB : for long jobs, you would need to change the JobFlavour in
condor.sub :
espresso = 20 minutes
microcentury = 1 hour
longlunch = 2 hours
workday = 8 hours
tomorrow = 1 day
testmatch = 3 days
nextweek = 1 week
浙公网安备 33010602011771号