-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-ssl-old-recode.sh
executable file
·33 lines (23 loc) · 1.08 KB
/
sonar-ssl-old-recode.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
HOMEDIR="/storage/praha1/home/${LOGNAME}"
cd $HOMEDIR
export MPICH_NEMESIS_NETMOD=tcp
export OMP_NUM_THREADS=$PBS_NUM_PPN
export PYENV_ROOT="${HOMEDIR}/.pyenv"
export PATH="${PYENV_ROOT}/bin:${PATH}"
# module add openmpi-2.0.1-intel
# module add openmpi-2.0.1-gcc
# module add openmpi
eval "$(pyenv init -)"
sleep 3
pyenv local 2.7.13
sleep 3
echo "`hostname` starting..."
#exec stdbuf -eL python /storage/praha1/home/ph4r05/cas/codesign/censys_sonarssl_recode.py \
# /storage/brno7-cerit/home/ph4r05/sonarssl/20131030-20150518_certs_sorted \
# --datadir /storage/brno3-cerit/home/ph4r05/sonarssl \
# --json /storage/praha1/home/ph4r05/cas/tls_sonar.ssl.json 2> /storage/praha1/home/ph4r05/logs/recode.log
exec stdbuf -eL python /storage/praha1/home/ph4r05/cas2/codesign/censys_sonarssl_recode.py --base-only \
/storage/brno3-cerit/home/ph4r05/sonarssl_regen/20131030-20150518_certs.gz \
--datadir /storage/brno3-cerit/home/ph4r05/sonarssl_regen/ \
--json /storage/praha1/home/ph4r05/cas2/tls_sonar.ssl.json 2> /storage/praha1/home/ph4r05/logs/recode-regen.log