Bjoern Olausson

order_parameters-popc.sh PDF Print E-mail
  
Thursday, 14 May 2009 14:58

  1. #!/bin/bash
  2. #
  3. NICEL="19"
  4. IONICEc="2"
  5. IONICEn="7"
  6.  
  7. function ana {
  8. echo "------------Starting for ${i}---------------"
  9. echo "Linking in ${i}/membrane_npgt.dcd --> membrane_npgt1.dcd"
  10. ln -s ${i}/membrane_npgt.dcd membrane_npgt1.dcd
  11. echo "Analizing order parameters in niced environment:"
  12. echo "NICE=${NICEL} IONICE_CLASS=${IONICEc} IONICE_CLASS-DATA=${IONICEn}"
  13. nice -n${NICEL} ionice -c${IONICEc} -n${IONICEn} python order_parameters.py
  14. echo "Removing membrane_npgt1.dcd link"
  15. rm membrane_npgt1.dcd
  16. echo "Moving ./scd_proper to ./${i}/"
  17. mv ./scd_proper ./${i}/
  18. echo "------------Done with ${i}---------------"
  19. echo ""
  20. }
  21.  
  22. for i in run[0-9]* ; do
  23. if [[ -e "${i}/scd_proper/S.dat" ]] ; then
  24. echo "Skipping ${i}"
  25. else
  26. ana
  27. fi
  28. done
  29.  
  30.  
  31.  

Attachments:
FileFile sizeLast Modified
Download this file (order_parameters-popc.sh)order_parameters-popc.sh0 Kb07/28/09 13:35
Last Updated ( Tuesday, 28 July 2009 13:55 )
 

Add comment


Security code
Refresh

6M Pixel

Banner

www. is deprecated

Banner

Play OGG

Banner