issures when installing cp2k-7.1 toolchain: ./scripts/install_metis.sh: line 11: /usr/bin/rm: Argument list too long

78 views
Skip to first unread message

Gaoyong Liu

unread,
Oct 21, 2020, 6:24:07 AM10/21/20
to cp2k
My System: CentOS 7.8.2003
Kernel Version: 3.10.0-1127.18.2.el7.x86_64

$ ./install_cp2k_toolchain.sh -j 16 --with-mkl=system --with-scalapack=no --with-openmpi=install

error details:
==================== Installing ELPA ====================
elpa-2019.05.001 is already installed, skipping it.
Step elpa took 0.00 seconds.
Step ptscotch took 0.00 seconds.
Step parmetis took 0.00 seconds.
./scripts/install_metis.sh: line 11: /usr/bin/rm: Argument list too long
ERROR: (./scripts/install_metis.sh, line 11) Non-zero exit code detected.

$ cat -n ./scripts/install_metis.sh
11  [ -f "${BUILDDIR}/setup_metis" ] && rm "${BUILDDIR}/setup_metis"

when i remove bulid/setup_metis, it appear a same error.
$ rm -f build/setup_metis
$ ./install_cp2k_toolchain.sh -j 16 --with-mkl=system --with-scalapack=no --with-openmpi=install

error details:
.../cp2k71/tools/toolchain/scripts/tool_kit.sh: line 12: /usr/bin/date: Argument list too long  

if any help, thank you.

Gaoyong Liu



Tiziano Müller

unread,
Oct 22, 2020, 9:12:10 AM10/22/20
to cp...@googlegroups.com
Hi Gaoyong,

if you are working inside a `screen` session, can you try whether running

unset TERMCAP

before calling `./install_cp2k_toolchain.sh ...` solves the issue?
See also https://github.com/cp2k/cp2k/issues/709 for a discussion about
this.

Best regards,
Tiziano

On 21.10.20 12:24, Gaoyong Liu wrote:
> My System: CentOS 7.8.2003
> Kernel Version: 3.10.0-1127.18.2.el7.x86_64
>
> $ ./install_cp2k_toolchain.sh -j 16 --with-mkl=system
> --with-scalapack=no --with-openmpi=install
>
> error details:
> ==================== Installing ELPA ====================
> elpa-2019.05.001 is already installed, skipping it.
> Step elpa took 0.00 seconds.
> Step ptscotch took 0.00 seconds.
> Step parmetis took 0.00 seconds.
> ./scripts/*install_metis.sh: line 11: /usr/bin/rm: Argument list too long*
> ERROR: (./scripts/install_metis.sh, line 11) Non-zero exit code detected.
>
> $ cat -n ./scripts/install_metis.sh
> 11  [ -f "${BUILDDIR}/setup_metis" ] && rm "${BUILDDIR}/setup_metis"
>
> when i remove bulid/setup_metis, it appear a same error.
> $ rm -f build/setup_metis
> $ ./install_cp2k_toolchain.sh -j 16 --with-mkl=system
> --with-scalapack=no --with-openmpi=install
>
> error details:
> .../cp2k71/tools/toolchain/scripts/*tool_kit.sh: line 12: /usr/bin/date:
> Argument list too long *
>
> if any help, thank you.
>
> Gaoyong Liu
>
>
>
> --
> 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
> <mailto:cp2k+uns...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cp2k/659748f1-5b1a-4dc1-b8d4-42ce6adb391en%40googlegroups.com
> <https://groups.google.com/d/msgid/cp2k/659748f1-5b1a-4dc1-b8d4-42ce6adb391en%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Tiziano Müller
University of Zurich
Department of Chemistry
Winterthurerstrasse 190
CH-8057 Zürich

Tel: +41 44 63 54234
www.chem.uzh.ch
tiziano...@chem.uzh.ch

Gaoyong Liu

unread,
Oct 22, 2020, 11:59:16 AM10/22/20
to cp2k
With the method above, the process of toolchain's setup is running normally.

...
==================== Installing PT-Scotch ====================
scotch_6.0.0.tar.gz is found
Installing from scratch into /data/lgy_data/cp2k_compile/tools/toolchain/install/scotch-6.0.0
Step ptscotch took 3.00 seconds.
==================== Installing ParMETIS ====================
parmetis-4.0.3.tar.gz is found
Installing from scratch into /data/lgy_data/cp2k_compile/tools/toolchain/install/parmetis-4.0.3
==================== Installing METIS ====================
Step parmetis took 58.00 seconds.
==================== Installing METIS ====================
METIS is installed together with ParMETIS
Step metis took 0.00 seconds.
==================== Installing SuperLU_DIST ====================
superlu_dist_5.1.2.tar.gz is found
Installing from scratch into /data/lgy_data/cp2k_compile/tools/toolchain/install/superlu_dist-5.1.2
Step superlu took 37.00 seconds.
==================== Installing PEXSI ====================
pexsi_v0.10.2.tar.gz is found
Installing from scratch into /data/lgy_data/cp2k_compile/tools/toolchain/install/pexsi-0.10.2
Step pexsi took 59.00 seconds.
==================== Installing QUIP ====================
QUIP-cc83ceea5776c40fcb5ab224a25ab04d62175449.zip is found
...
...

Thank you, Tiziano.

Reply all
Reply to author
Forward
0 new messages