boot_worker.sh 825 B

1234567891011121314151617181920
  1. #$ -o $HOME/worker_out.txt # stdout to file
  2. #$ -j y # merge stderr to stdout
  3. #$ -N Photon_Worker # job name
  4. #$ -l gpu_slots=1 # required #GPUs
  5. ##$ -l gtype=gt200 # GPU architecture
  6. #$ -l ostype=linux # required OS
  7. #$ -l h_rt=8:00:00 # required real time
  8. #$ -l h_vmem=2048M # required memory
  9. ##$ -M dirk.rothe@rwth-aachen.de
  10. LD_LIBRARY_PATH=/rwthfs/rz/cluster/home/dr872860/photon/boost_1_47_0/stage/lib/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH # set env variable
  11. source $HOME/Python-2.7/venv/bin/activate
  12. CC=gcc
  13. CXX=g++
  14. OMP_NUM_THREADS=12
  15. cd /home/dr872860/usephoton
  16. export PYTHONPATH=$HOME/loco/dirk;python -m photon_worker -w 1 -p /home/dr872860/photon/photon -u http://loco.visual-library.de&
  17. export PYTHONPATH=$HOME/loco/dirk;python -m photon_worker -w 2 -p /home/dr872860/photon/photon -u http://loco.visual-library.de