Guest User

Untitled

a guest
Jun 22nd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. #!/bin/csh
  2. #PBS -l walltime=6:00:00
  3. #PBS -l ncpus=16
  4. #PBS -o 24b_TON_24b_24b_DFT.obj
  5. #PBS -joe
  6. #PBS -m bea
  7. #PBS -M EMAIL
  8.  
  9.  
  10. # Make the module command available
  11. source /usr/share/modules/init/csh
  12.  
  13. set echo
  14.  
  15. # Load the gaussian module
  16. module load gaussian09
  17.  
  18.  
  19. # Copy the input files to the scratch directory.
  20. # The scratch directory offers large capacity and high performance,
  21. # HOWEVER: it is not permanent storage and may be removed automatically
  22. # when the job ends.
  23. cp $HOME/24b_TON_24b_24b_DFT.gjf $SCRATCH
  24.  
  25. # move to the scratch directory
  26.  
  27. cd $SCRATCH
  28.  
  29.  
  30. # Define OMP_NUM_THREADS this is the same as the nprocs or ncpus
  31. setenv OMP_NUM_THREADS 16
  32.  
  33. # Execute Gaussian 09, writing the output files in the scratch directory.
  34. # Use omplace to run the job
  35. omplace -nt $OMP_NUM_THREADS g09 < 24b_TON_24b_24b_DFT.gjf >&
  36. 24b_TON_24b_24b_DFT.log
  37.  
  38. # ******** IMPORTANT ****************
  39. # Remember to move the checkpoint file to the file archiver
  40. # (so that it can be reused) when the job completes.
  41. # Here it is called 'TON_B25i_mPW3PBE_6_31d_DFT.chk'
  42. #
  43. # You will also want to copy the log file to a permanent directory
  44. # Here we copy it back to a subdirectory of the home directory
  45. # *************************************
  46.  
  47. cp 24b_TON_24b_24b_DFT.chk $HOME/24b_TON_24b_24b_DFT.chk
  48. cp 24b_TON_24b_24b_DFT.log $HOME/24b_TON_24b_24b_DFT.log
Add Comment
Please, Sign In to add comment