Différences entre versions de « Lance job.pbs »
		
		
		
		
		
		Sauter à la navigation
		Sauter à la recherche
		
				
		
		
	
| Ligne 1 : | Ligne 1 : | ||
| − | #!/bin/bash  | + |  #!/bin/bash  | 
| − | #========================================================  | + |  #========================================================  | 
| − | #  Pour executer:   qsub lanceur.pbs  | + |  #  Pour executer:   qsub lanceur.pbs  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # BEGIN PBS directives  | + |  # BEGIN PBS directives  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # Job Name to be report by qstat  | + |  # Job Name to be report by qstat  | 
| − | #--------------------------------------------------------  | + |  #--------------------------------------------------------  | 
| − | #PBS -N gsl_test  | + |  #PBS -N gsl_test  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # Specified name for outpur log file  | + |  # Specified name for outpur log file  | 
| − | #--------------------------------------------------------  | + |  #--------------------------------------------------------  | 
| − | #PBS -o out.txt  | + |  #PBS -o out.txt  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # Join statdard output and error file  | + |  # Join statdard output and error file  | 
| − | #--------------------------------------------------------  | + |  #--------------------------------------------------------  | 
| − | #PBS -j oe  | + |  #PBS -j oe  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # Select queue  | + |  # Select queue  | 
| − | #--------------------------------------------------------  | + |  #--------------------------------------------------------  | 
| − | #PBS -q default  | + |  #PBS -q default  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # Specify wall time needed  | + |  # Specify wall time needed  | 
| − | #--------------------------------------------------------  | + |  #--------------------------------------------------------  | 
| − | #PBS -l walltime=24:00:00  | + |  #PBS -l walltime=24:00:00  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # Specify number of nodes to run on  | + |  # Specify number of nodes to run on  | 
| − | #--------------------------------------------------------  | + |  #--------------------------------------------------------  | 
| − | #PBS -l nodes=1:ppn=8  | + |  #PBS -l nodes=1:ppn=8  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # END of PBS directives  | + |  # END of PBS directives  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # Specify work directory  | + |  # Specify work directory  | 
| − | #--------------------------------------------------------  | + |  #--------------------------------------------------------  | 
| − | cd  $PBS_O_WORKDIR  | + |  cd  $PBS_O_WORKDIR  | 
| − | #========================================================  | + |  #========================================================  | 
| − | # Specify modules  | + |  # Specify modules  | 
| − | #--------------------------------------------------------  | + |  #--------------------------------------------------------  | 
| − | module load dot  | + |  module load dot  | 
| − | module load netcdf/ifort  | + |  module load netcdf/ifort  | 
| − | source /share/apps/intel/parallel_studio_xe_2015/bin/psxevars.sh  | + |  source /share/apps/intel/parallel_studio_xe_2015/bin/psxevars.sh  | 
| − | #========================================================  | + |  #========================================================  | 
| − | echo Master process running on `hostname`  | + |  echo Master process running on `hostname`  | 
| − | echo Directory is `pwd`  | + |  echo Directory is `pwd`  | 
| − | echo Starting execution at `date`  | + |  echo Starting execution at `date`  | 
| − | gohsmodel_cice5  | + |  gohsmodel_cice5  | 
| − | echo Finished at `date`  | + |  echo Finished at `date`  | 
| − | #========================================================  | + |  #========================================================  | 
Version actuelle datée du 26 juin 2017 à 13:14
#!/bin/bash #======================================================== # Pour executer: qsub lanceur.pbs #======================================================== # BEGIN PBS directives #======================================================== # Job Name to be report by qstat #-------------------------------------------------------- #PBS -N gsl_test #======================================================== # Specified name for outpur log file #-------------------------------------------------------- #PBS -o out.txt #======================================================== # Join statdard output and error file #-------------------------------------------------------- #PBS -j oe #======================================================== # Select queue #-------------------------------------------------------- #PBS -q default #======================================================== # Specify wall time needed #-------------------------------------------------------- #PBS -l walltime=24:00:00 #======================================================== # Specify number of nodes to run on #-------------------------------------------------------- #PBS -l nodes=1:ppn=8 #======================================================== # END of PBS directives #======================================================== # Specify work directory #-------------------------------------------------------- cd $PBS_O_WORKDIR #======================================================== # Specify modules #-------------------------------------------------------- module load dot module load netcdf/ifort source /share/apps/intel/parallel_studio_xe_2015/bin/psxevars.sh #======================================================== echo Master process running on `hostname` echo Directory is `pwd` echo Starting execution at `date` gohsmodel_cice5 echo Finished at `date` #========================================================