Cp2K SLURM Install and Test

153 views
Skip to first unread message

Sebastian Muraru

unread,
Jan 26, 2023, 7:52:09 AM1/26/23
to cp2k
Hi,

I have now attempted to install cp2k on a slurm HPC with K40ms.
I used:
./install_cp2k_toolchain.sh --with-openmpi=system --with-openblas --enable-cuda --gpu-ver=K40 --with-cmake=system --with-libxc --with-pexsi=no --with-ptscotch=no --with-superlu=no --with-quip --with-plumed --with-elpa=no --with-sirius=no --with-libxsmm --with-fftw=system

Also, using
---------------------------- Modules -------------------------------------
Currently Loaded Modulefiles:
 1) libraries/cuda-11.4   2) mpi/openmpi-x86_64   3) pmi/pmix-x86_64 

Installation works fine, no errors reported for local_cuda psmp.

Then I tried the testing:
make -j 40 ARCH=local_cuda VERSION=psmp test
I guess it never properly starts. I have attached the output I get in a text file here.

Could anyone highlight a possible cause? Is it in the manner I might have used "salloc" / "srun" on SLURM?

Thanks!

cp2k_test_errors

Krack Matthias

unread,
Jan 26, 2023, 8:14:50 AM1/26/23
to cp...@googlegroups.com

Hi

 

Did you try already to use “srun” instead of “mpiexec” with slurm?

 

make -j 40 ARCH=local_cuda VERSION=psmp TESTOPTS=’--mpiexec srun’ test

--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
cp2k+uns...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/cp2k/0afb597f-359d-4c1d-bece-56286386ae2cn%40googlegroups.com.

Sebastian Muraru

unread,
Jan 26, 2023, 8:55:42 AM1/26/23
to cp...@googlegroups.com
Matthias many thanks for your answer!

Running make -j 40 ARCH=local_cuda VERSION="psmp" TESTOPTS=’--mpiexec srun’ test
eventually ends up with
Discovering programs ...
make: *** No rule to make target 'srun’'.  Stop.

You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cp2k/hkGaZXQuF1c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cp2k+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/ZRAP278MB08279262CD754217B8C29B14F4CF9%40ZRAP278MB0827.CHEP278.PROD.OUTLOOK.COM.

Krack Matthias

unread,
Jan 26, 2023, 9:42:37 AM1/26/23
to cp...@googlegroups.com

Maybe, there is an issue with the quotes, because the command line is not parsed properly.

Reply all
Reply to author
Forward
0 new messages