Problem with compilation at cluster

120 views
Skip to first unread message

Carlos Bornes

unread,
Jan 20, 2020, 11:56:56 AM1/20/20
to cp2k
Hi there CP2K users

I've tried to compile CP2K at my University's cluster. After running the toolchain script I've followed the instruction and copied the files to /cp2k-7.1/arch/ and ran 

make -j 4 ARCH=local VERSION="sopt sdbg ssmp popt pdbg psmp"

but I'm getting the following error 

gfortran: error: unrecognized command line option ‘-Wuse-without-only
make
[4]: *** [dbcsr_kinds.o] Error 1
make
[3]: *** [libdbcsr] Error 2
make
[2]: *** [dbcsr] Error 2
make
[1]: *** [popt] Error 2
make
[1]: *** Waiting for unfinished jobs....
Resolving dependencies for ssmp ...
Resolving dependencies for sopt ...
Resolving dependencies for sdbg ...
echo git
:e635599 > "/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
echo git
:e635599 > "/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
echo git
:e635599 > "/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
make
: *** [all] Error 2

Any idea what is the error? Or where I can find an error log describing the error in more detail?


log

Tiziano Müller

unread,
Jan 21, 2020, 2:44:20 AM1/21/20
to cp...@googlegroups.com
Hi Carlos,

please check your compiler version, a list of supported/unsupported
compilers can be found here:

https://www.cp2k.org/dev:compiler_support

You can also try to remove `-Wuse-without-only` from the arch-files in
`arch/local.*`.

Please note that on a cluster you most likely need only `popt` (MPI, no
OpenMP) or `psmp` (MPI, OpenMP) and maybe `sopt` for testing.

Best regards,
Tiziano

On 20.01.20 17:56, Carlos Bornes wrote:
> Hi there CP2K users
>
> I've tried to compile CP2K at my University's cluster. After running the
> toolchain script I've followed the instruction and copied the files to
> /cp2k-7.1/arch/ and ran
>
> |
> make -j 4ARCH=localVERSION="sopt sdbg ssmp popt pdbg psmp"
> |
>
> but I'm getting the following error
>
> |
> gfortran:error:unrecognized command line option ‘-Wuse-without-only’
> make[4]:***[dbcsr_kinds.o]Error1
> make[3]:***[libdbcsr]Error2
> make[2]:***[dbcsr]Error2
> make[1]:***[popt]Error2
> make[1]:***Waitingforunfinished jobs....
> Resolvingdependencies forssmp ...
> Resolvingdependencies forsopt ...
> Resolvingdependencies forsdbg ...
> echo git:e635599 >"/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
> echo git:e635599 >"/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
> echo git:e635599 >"/scratch_p/cbornes/cp2k-7.1/obj/git-ref.tmp"
> make:***[all]Error2
> |
>
> Any idea what is the error? Or where I can find an error log describing
> the error in more detail?
>
>
> --
> 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/ecd80df4-2649-45b5-93b9-f5ee9afbe741%40googlegroups.com
> <https://groups.google.com/d/msgid/cp2k/ecd80df4-2649-45b5-93b9-f5ee9afbe741%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
Reply all
Reply to author
Forward
Message has been deleted
0 new messages