Dear Tiziano,<div>thanks a lot.</div><div>We solved changing the compilation flags of COSMA and ELPA.</div><div>Best regards,</div><div>Mauro.</div><div><br></div><div><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">Il giorno martedì 16 febbraio 2021 alle 09:09:28 UTC+1 tiz...@chem.uzh.ch ha scritto:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Mauro,
<br>
<br>there are some things you can try:
<br>
<br>* build a CP2K without COSMA, ELPA, SIRIUS, SpFFT and see whether you
<br>can reproduce it with that (simply create an arch-file as a copy of the
<br>toolchain-generated ones with the respective -D..., -l..., -I... flags
<br>removed)
<br>* check the toolchain build logs of ELPA and COSMA (cmake.log/make.log)
<br>to verify that the correct MPI implementation was picked up during
<br>compilation, see also [1]
<br>
<br>My guess since other (less complex) software works is that either there
<br>is/was a mismatch of OpenMPI implementations and/or that one of the
<br>dependencies tries to do some advanced MPI ops (RMA, I/O) which is not
<br>configured on your cluster (CP2K has RMA off by default).
<br>
<br>Best,
<br>Tiziano
<br>
<br>[1] <a href="https://github.com/cp2k/cp2k/issues/1351" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=https://github.com/cp2k/cp2k/issues/1351&source=gmail&ust=1614073118261000&usg=AFQjCNFXgf_0k87K2p6b3nV0h6WhpLPDqQ">https://github.com/cp2k/cp2k/issues/1351</a>
<br>
<br>On 2/15/21 10:07 PM, Mauro Sgroi wrote:
<br>> Dear Alin,
<br>> thanks a lot for the reply.
<br>> With those mpi we are running smoothly Quantum Espresso and other codes.
<br>> So it seems strange to find this error.
<br>> Best regards,
<br>> Mauro Sgroi.
<br>> Il giorno lunedì 15 febbraio 2021 alle 18:43:31 UTC+1 <a href data-email-masked rel="nofollow">al...@gmail.com</a>
<br>> ha scritto:
<br>>
<br>> Hi Mauro,
<br>>
<br>> seen this before with other codes... the issue invariable ended up due
<br>> to openmpi not playing nicely with the queuing system.
<br>>
<br>> if you want to see if a simple MPI hello world using the above mpi
<br>> actually works....
<br>>
<br>> Regards,
<br>> Alin
<br>> Without Questions there are no Answers!
<br>> ______________________________________________________________________
<br>> Dr. Alin Marin ELENA
<br>> <a href="http://alin.elena.space/" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=http://alin.elena.space/&source=gmail&ust=1614073118261000&usg=AFQjCNGCenvXmu53CpX5xeRvDd7fcRtIQQ">http://alin.elena.space/</a> <<a href="http://alin.elena.space/" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=http://alin.elena.space/&source=gmail&ust=1614073118262000&usg=AFQjCNE80EylO2ZXH6C6H1ji0Hc0Cyt8SQ">http://alin.elena.space/</a>>
<br>> ______________________________________________________________________
<br>>
<br>> On Mon, 15 Feb 2021 at 17:25, Mauro Sgroi
<br>> <<a href data-email-masked rel="nofollow">mauro...@gmail.com</a>> wrote:
<br>> >
<br>> > Dear Developers,
<br>> > I'm writing to ask you help for setting CP2K on a HPC server.
<br>> > Our IT compiled the code using gcc-8.3.0, openmpi 4.1.0 and the
<br>> toolchain:
<br>> >
<br>> > cmake-3.18.5 cosma-2.2.0 elpa-2020.05.001 fftw-3.3.8 gsl-2.6
<br>> hdf5-1.12.0 libint-v2.6.0-cp2k-lmax-5 libvdwxc-0.4.0 libvori-201229
<br>> libxc-4.3.4 libxsmm-1.16.1 openblas-0.3.10 scalapack-2.1.0
<br>> sirius-7.0.0 SpFFT-0.9.13 spglib-1.16.0
<br>> >
<br>> > The obtained code works fine on a single node of our server. When
<br>> we launch it with the command:
<br>> > mpiexec --prefix ${MPI_INST_DIR} -x PATH -x LD_LIBRARY_PATH -n
<br>> $CORES -machinefile machine_file
<br>> ${INST_DIR}/cp2k-8.1/exe/local/cp2k.${SOLVER} -inp ${INPUT} 2>&1
<br>> >
<br>> > on more than one node we get the error:
<br>> >
<br>> > [btl_openib_component.c:1699:init_one_device] error obtaining
<br>> device attributes for mlx5_0 errno says Protocol not supported
<br>> >
<br>> > Could you please give us some advice?
<br>> >
<br>> > Thanks a lot in advance and best regards,
<br>> >
<br>> > Mauro Sgroi.
<br>> > Centro Ricerche FIAT.
<br>> > Italy.
<br>> >
<br>> > --
<br>> > You received this message because you are subscribed to the
<br>> Google Groups "cp2k" group.
<br>> > To unsubscribe from this group and stop receiving emails from it,
<br>> send an email to <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>.
<br>> > To view this discussion on the web visit
<br>> <a href="https://groups.google.com/d/msgid/cp2k/cc9bb9af-4e72-4667-ad33-ef04edf7a70bn%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=https://groups.google.com/d/msgid/cp2k/cc9bb9af-4e72-4667-ad33-ef04edf7a70bn%2540googlegroups.com&source=gmail&ust=1614073118262000&usg=AFQjCNH7Lj4nzmEq1jzBslBP0iYbd5rIzA">https://groups.google.com/d/msgid/cp2k/cc9bb9af-4e72-4667-ad33-ef04edf7a70bn%40googlegroups.com</a>
<br>> <<a href="https://groups.google.com/d/msgid/cp2k/cc9bb9af-4e72-4667-ad33-ef04edf7a70bn%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=https://groups.google.com/d/msgid/cp2k/cc9bb9af-4e72-4667-ad33-ef04edf7a70bn%2540googlegroups.com&source=gmail&ust=1614073118262000&usg=AFQjCNH7Lj4nzmEq1jzBslBP0iYbd5rIzA">https://groups.google.com/d/msgid/cp2k/cc9bb9af-4e72-4667-ad33-ef04edf7a70bn%40googlegroups.com</a>>.
<br>>
<br>>
<br>> --
<br>> You received this message because you are subscribed to the Google
<br>> Groups "cp2k" group.
<br>> To unsubscribe from this group and stop receiving emails from it, send
<br>> an email to <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>
<br>> <mailto:<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>>.
<br>> To view this discussion on the web visit
<br>> <a href="https://groups.google.com/d/msgid/cp2k/7b611401-f960-464c-9394-0b3add2aad6dn%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=https://groups.google.com/d/msgid/cp2k/7b611401-f960-464c-9394-0b3add2aad6dn%2540googlegroups.com&source=gmail&ust=1614073118262000&usg=AFQjCNGe5my9uL1_piH2n02odV3OcYy4YA">https://groups.google.com/d/msgid/cp2k/7b611401-f960-464c-9394-0b3add2aad6dn%40googlegroups.com</a>
<br>> <<a href="https://groups.google.com/d/msgid/cp2k/7b611401-f960-464c-9394-0b3add2aad6dn%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=https://groups.google.com/d/msgid/cp2k/7b611401-f960-464c-9394-0b3add2aad6dn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1614073118262000&usg=AFQjCNHy-WvozSlk1jQnSrhYffqJq7fv-w">https://groups.google.com/d/msgid/cp2k/7b611401-f960-464c-9394-0b3add2aad6dn%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<br>
<br>--
<br>Tiziano Müller
<br>University of Zurich
<br>Department of Chemistry
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich
<br>
<br>Tel: +41 44 63 54234
<br><a href="http://www.chem.uzh.ch" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=it&q=http://www.chem.uzh.ch&source=gmail&ust=1614073118262000&usg=AFQjCNHRGElS7RkKml7vHmVpZ1MoT7FAjQ">www.chem.uzh.ch</a>
<br><a href data-email-masked rel="nofollow">tiz...@chem.uzh.ch</a>
<br></blockquote></div>