Skip to content
Snippets Groups Projects
Commit a3bd5c4e authored by Jakub Kropáček's avatar Jakub Kropáček
Browse files

Merge branch 'edit-orca' into 'master'

Edit orca

See merge request !373
parents 29512a3b c9a4bfd6
No related branches found
No related tags found
1 merge request!373Edit orca
Pipeline #25938 passed with warnings
...@@ -180,19 +180,17 @@ You can see, that the program was running with 512 parallel MPI-processes. In ve ...@@ -180,19 +180,17 @@ You can see, that the program was running with 512 parallel MPI-processes. In ve
* SOC * SOC
* Numerical Gradients and Frequencies * Numerical Gradients and Frequencies
## Running ORCA 5.0.0 and Higher in Parallel ## Example Submission Script
On Barbora cluster and Karolina cluster, version 5.0.1 is available. However, to run it in parallel you need to specify execution nodes via `inputfilename.nodes` file. Additionally, all calculations **must** be run on SCRATCH. The following script contains all of the necessary instructions to run an ORCA job, including copying of the files to and from /scratch to utilize the InfiniBand network:
Example submission script (Karolina cluster) would look like this: ```bash
```
#!/bin/bash #!/bin/bash
#PBS -S /bin/bash #PBS -S /bin/bash
#PBS -A OPEN-00-00 #PBS -A OPEN-00-00
#PBS -N jobname #PBS -N example-CO
#PBS -q qprod #PBS -q qexp
#PBS -l select=2:ncpus=128:mpiprocs=128 #PBS -l select=2:ncpus=128:mpiprocs=128:ompthreads=1
#PBS -l walltime=00:05:00 #PBS -l walltime=00:05:00
ml purge ml purge
...@@ -208,10 +206,6 @@ echo $SCRDIR ...@@ -208,10 +206,6 @@ echo $SCRDIR
mkdir -p $SCRDIR mkdir -p $SCRDIR
cd $SCRDIR || exit cd $SCRDIR || exit
### specify nodes used for the parallel run
cat $(echo $PBS_NODEFILE) > ${PBS_JOBNAME}.nodes
###
# get number of cores used for our job # get number of cores used for our job
ncpus=$(qstat -f $PBS_JOBID | grep resources_used.ncpus | awk '{print $3}') ncpus=$(qstat -f $PBS_JOBID | grep resources_used.ncpus | awk '{print $3}')
...@@ -240,8 +234,7 @@ cp -r $PBS_O_WORKDIR/* . ...@@ -240,8 +234,7 @@ cp -r $PBS_O_WORKDIR/* .
# copy output files to home, delete the rest # copy output files to home, delete the rest
cp * $PBS_O_WORKDIR/ && cd $PBS_O_WORKDIR cp * $PBS_O_WORKDIR/ && cd $PBS_O_WORKDIR
rm -rf $SCRDIR rm -rf $SCRDIR
exit
exit 0
``` ```
## Register as a User ## Register as a User
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment