Last version of CASTEP (18.1) is compiled with Intel MPI Compiler on zeus HPC and is ready to be tested. To initialise paths to binaries and Intel MPI execute only
module load castep/18.1
Then in your CASTEP problem directory with all the input files required to launch a CASTEP job, produce the following slurm submission script (save it as e.g. castep-mpi.slurm), here we just ask for 64 random CPUs for 8 hours (link to sample script):
######################### castep-mpi.slurm ##################
#!/bin/bash
#SBATCH -t 8:00:00
#SBATCH -n 64
#SBATCH --job-name="castep-test"
WORKDIR=${SLURM_SUBMIT_DIR}
cd ${WORKDIR}
module load castep/18.1
#replace "mycastepcase" with your case name
CASENAME=mycastepcase
## Lets generate hosts file:
HOSTS=`srun /bin/hostname|sort`
echo ${HOSTS} | sed 's/ /\n/g'>${WORKDIR}/hostsfile.txt
mpirun -np $SLURM_NPROCS -hostfile hostsfile.txt castep.mpi $CASENAME
###############################################
Then launch the job with, e.g.
sbatch castep-mpi.slurm
If you want a particular flavour of compute nodes, e.g. 32-CPU ones do
If you want to limit the compute node only to your tasks (e.g. if there are some un-used CPUs left, but you want to keep them free, for example from memory utilisation point of view etc) you can use –exclusive flag as well:
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
Warning: Attempt to read property "comment_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 72
Warning: Attempt to read property "comment_author_email" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 592
Warning: Attempt to read property "comment_post_ID" on null in /home/hpccoven/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 593
CASTEP-18.1
Last version of CASTEP (18.1) is compiled with Intel MPI Compiler on zeus HPC and is ready to be tested. To initialise paths to binaries and Intel MPI execute only
Then in your CASTEP problem directory with all the input files required to launch a CASTEP job, produce the following slurm submission script (save it as e.g. castep-mpi.slurm), here we just ask for 64 random CPUs for 8 hours (link to sample script):
######################### castep-mpi.slurm ################## #!/bin/bash #SBATCH -t 8:00:00 #SBATCH -n 64 #SBATCH --job-name="castep-test" WORKDIR=${SLURM_SUBMIT_DIR} cd ${WORKDIR} module load castep/18.1 #replace "mycastepcase" with your case name CASENAME=mycastepcase ## Lets generate hosts file: HOSTS=`srun /bin/hostname|sort` echo ${HOSTS} | sed 's/ /\n/g'>${WORKDIR}/hostsfile.txt mpirun -np $SLURM_NPROCS -hostfile hostsfile.txt castep.mpi $CASENAME ###############################################Then launch the job with, e.g.
If you want a particular flavour of compute nodes, e.g. 32-CPU ones do
or 12-CPU nodes
etc, see other flavours here.
If you want to limit the compute node only to your tasks (e.g. if there are some un-used CPUs left, but you want to keep them free, for example from memory utilisation point of view etc) you can use –exclusive flag as well:
—
Alex Pedcenko