Difference between revisions of "Mod:Hunt Research Group/orca6 hpc"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | *ORCA 6.0 is installed on Raapoi and can be used with a slurm submission script. Below is a sample SLURM submission script to submit an ORCA job on Raapoi HPC quickest partition. The name of the calculation is CH3I_opt.inp in this case.The username here is 'hashmi' that should be replaced with your own username. | + | *ORCA 6.0 is installed on Raapoi and can be used with a slurm submission script. Below is a sample SLURM submission script to submit an ORCA job on Raapoi HPC quickest partition. The name of the calculation is CH3I_opt.inp in this case.The username here is 'hashmi' that should be replaced with your own username. There are comments in the script that need to be considered while making your own script. |
<pre> | <pre> | ||
| Line 16: | Line 16: | ||
cd /nfs/scratch/hashmi/$SLURM_JOBID | cd /nfs/scratch/hashmi/$SLURM_JOBID | ||
| + | # Copy the files from your directory to scratch. Replace the path with your own path | ||
| + | cp /nfs/home/hashmimu/calculations/orca_calcs/molecule/*.* . | ||
| + | |||
| + | # Load ORCA and necessary modules | ||
| + | module load GCC/13.2.0 | ||
| + | module load OpenMPI/4.1.6 | ||
| + | module load ORCA/6.0.0-avx2 | ||
| + | export OMPI_MCA_btl='^uct,ofi' | ||
| + | export OMPI_MCA_pml='ucx' | ||
| + | export OMPI_MCA_mtl='^ofi' | ||
| + | |||
| + | # Below command is the run the job. It is necessary to call ORCA with full path. | ||
| + | nice /home/software/EasyBuild/software/ORCA/6.0.0-gompi-2023b-avx2/bin/orca CH3I_opt.inp > CH3I_opt.out | ||
| + | |||
| + | # Calculate the files back from scratch to your directory | ||
| + | rm -f *.tmp* | ||
| + | cp -f molecule-td.* /nfs/home/hashmimu/calculations/orca_calcs/molecule | ||
| + | cp -f *.plt /nfs/home/hashmimu/calculations/orca_calcs/molecule # Added this line for copying generated plt files | ||
| + | cp -f *.cub /nfs/home/hashmimu/calculations/orca_calcs/molecule # Added this line for copying generated cub files | ||
| + | cp -f *.xyz /nfs/home/hashmimu/calculations/orca_calcs/molecule # Added this line for copying generated xyz files | ||
| + | #---- end ORCA6 specific part ---- | ||
| + | |||
| + | #Delete the files from scratch | ||
| + | rm -rf /nfs/scratch/hashmimu/$SLURM_JOBID | ||
</pre> | </pre> | ||
Revision as of 06:09, 10 October 2024
- ORCA 6.0 is installed on Raapoi and can be used with a slurm submission script. Below is a sample SLURM submission script to submit an ORCA job on Raapoi HPC quickest partition. The name of the calculation is CH3I_opt.inp in this case.The username here is 'hashmi' that should be replaced with your own username. There are comments in the script that need to be considered while making your own script.
#!/bin/bash #Header for Slurm following #SBATCH --job-name=CH3I_opt #SBATCH --ntasks=8 #SBATCH --nodes=1 #SBATCH --time=05:00:00 #SBATCH --mem=8G #SBATCH --kill-on-invalid-dep=yes #SBATCH --partition=quicktest #---- begin ORCA6 specific part ---- mkdir -p /nfs/scratch/hashmi/$SLURM_JOBID cd /nfs/scratch/hashmi/$SLURM_JOBID # Copy the files from your directory to scratch. Replace the path with your own path cp /nfs/home/hashmimu/calculations/orca_calcs/molecule/*.* . # Load ORCA and necessary modules module load GCC/13.2.0 module load OpenMPI/4.1.6 module load ORCA/6.0.0-avx2 export OMPI_MCA_btl='^uct,ofi' export OMPI_MCA_pml='ucx' export OMPI_MCA_mtl='^ofi' # Below command is the run the job. It is necessary to call ORCA with full path. nice /home/software/EasyBuild/software/ORCA/6.0.0-gompi-2023b-avx2/bin/orca CH3I_opt.inp > CH3I_opt.out # Calculate the files back from scratch to your directory rm -f *.tmp* cp -f molecule-td.* /nfs/home/hashmimu/calculations/orca_calcs/molecule cp -f *.plt /nfs/home/hashmimu/calculations/orca_calcs/molecule # Added this line for copying generated plt files cp -f *.cub /nfs/home/hashmimu/calculations/orca_calcs/molecule # Added this line for copying generated cub files cp -f *.xyz /nfs/home/hashmimu/calculations/orca_calcs/molecule # Added this line for copying generated xyz files #---- end ORCA6 specific part ---- #Delete the files from scratch rm -rf /nfs/scratch/hashmimu/$SLURM_JOBID