e3_worker.sh 973 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/env zsh
  2. #BSUB -J Photon_Worker # job name
  3. #BSUB -o /home/nv267033/worker_out/job_%J.txt # output file
  4. #BSUB -u nicolai.viol@comsys.rwth-aachen.de
  5. # #BSUB -B # semd mail wen job is done
  6. #BSUB -W 02:00 # job time
  7. #BSUB -M 2048 # required memory in MB
  8. #BSUB -q gpu # put to gpu batch queue
  9. # #BSUB -a gpu # put to gpu exclusive queue (for testing only)
  10. # #BSUB -n 12
  11. # #BSUB -x
  12. # #BSUB -a openmpi
  13. #LD_LIBRARY_PATH=/rwthfs/rz/cluster/home/dr872860/photon/boost_1_47_0/stage/lib/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
  14. # set env variable
  15. source $HOME/lws-env/bin/activate
  16. #CC=gcc
  17. #CXX=g++
  18. OMP_NUM_THREADS=20
  19. #JOB_TIME=900
  20. JOB_TIME=7000
  21. #JOB_TIME=18000
  22. cd $HOME
  23. export PYTHONPATH=$HOME/lws-trunk:$HOME/lws-trunk/3rdparty:$HOME/lws-trunk/worker
  24. python -m photon_worker -w 1 -p $HOME/photon -u http://nostromo.informatik.rwth-aachen.de:20089 -t $JOB_TIME &
  25. python -m photon_worker -w 2 -p $HOME/photon -u http://nostromo.informatik.rwth-aachen.de:20089 -t $JOB_TIME