problem with source setup command under installation of cp2k-8.1

44 views
Skip to first unread message

David Danovich

unread,
May 2, 2021, 6:56:20 AM5/2/21
to cp2k
Hello,

I am trying to compile cp2k-8.1 using toolchain. 
Everything was Ok before the command

source /cp2k-8.1/tools/toolchain/install/setup

where I got the error message

Bad : modifier in $ '-'

I actually do not know how to proceed. 
Any suggestions will be welcome.

Thank you  David

Tiziano Müller

unread,
May 3, 2021, 9:26:39 AM5/3/21
to cp...@googlegroups.com
Hi David,

unfortunately we are assuming that the user uses bash while you're most
likely running a (t)csh?

Best regards,
Tiziano
> --
> 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/e5c1a26c-bd05-4692-ad4c-2163693ec470n%40googlegroups.com
> <https://groups.google.com/d/msgid/cp2k/e5c1a26c-bd05-4692-ad4c-2163693ec470n%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

David Danovich

unread,
May 3, 2021, 9:32:02 AM5/3/21
to cp...@googlegroups.com
Hi Tiziano,

You are right, I am using tcsh. I solved the problem using the bash command instead of the source. Then I used the make command
and now I have complied version of cp2k-8.2 and can run tests.

Thank you  David

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/acd79f28-8da0-e113-ff44-72f365c141b7%40chem.uzh.ch.
Reply all
Reply to author
Forward
0 new messages