[CP2K-user] [CP2K:12766] "No rule to make target 'N', stop"

Krack Matthias (PSI) matthi... at psi.ch
Sat Jan 11 15:57:34 UTC 2020


Hi

If you want to install cp2k using the toolchain, then just follow the instructions printed by the toolchain installer script after its successful completion. The arch files generated by the toolchain installer are named “local” (ARCH=local) and these should be used with the toolchain.
If you want to use the Linux-x86-64-gfortran arch file then you should define the path variables therein properly, i.e. the paths should point to the libs required to build cp2k. In that case you have to build these libs yourself somewhere or you have to collect them from a toolchain installation, but in that case, it is better to use the local arch files.
It seems you are using cp2k-6.1. Note, the latest cp2k release is 7.1.

Matthias

Von: cp... at googlegroups.com <cp... at googlegroups.com> Im Auftrag von Zubair Al Ebad
Gesendet: Samstag, 11. Januar 2020 00:43
An: cp... at googlegroups.com
Betreff: Re: [CP2K:12766] "No rule to make target 'N', stop"

if you don't understand from the screenshot, would you please give me some time?? i'm a undergrad student and i need to run cp2k for my thesis. Being a newbie, i'm facing trouble at every step you see. I will be very much grateful if you can give me some time on TeamViewer.
I know i'm maybe asking for too much, but this will be very helpful.....!!

and thanks for all these things!! :)


On Sat, Jan 11, 2020 at 5:35 AM Zubair Al Ebad <zubair... at gmail.com<mailto:zubair... at gmail.com>> wrote:
hello again Matthias....
no i didn't do that actually. but after doing so, this error is showing-
[cid:image001.png at 01D5C89F.FB2BBAC0]

On Sat, Jan 11, 2020 at 4:52 AM Krack Matthias (PSI) <matthi... at psi.ch<mailto:matthi... at psi.ch>> wrote:
Hi

Did you run the make command in the folder cp2k where the CP2K makefile is located?

Matthias

Von: cp... at googlegroups.com<mailto:cp... at googlegroups.com> <cp... at googlegroups.com<mailto:cp... at googlegroups.com>> Im Auftrag von Zubair Al Ebad
Gesendet: Freitag, 10. Januar 2020 23:01
An: cp... at googlegroups.com<mailto:cp... at googlegroups.com>
Betreff: Re: [CP2K:12763] "No rule to make target 'N', stop"

Hello Matthias, thanks for you help. after giving the CPU core number, i got this. can you give me a solution for this?? will be very grateful....
[Screenshot from 2020-01-11 03-56-57.png]

On Fri, Jan 10, 2020 at 10:55 PM Krack Matthias (PSI) <matthi... at psi.ch<mailto:matthi... at psi.ch>> wrote:
Hi

You have to specify for N the number of available CPU cores, e.g. “ make –j 4 ARCH=…” if you want to run make in parallel using 4 cores.

Matthias

From: cp... at googlegroups.com<mailto:cp... at googlegroups.com> <cp... at googlegroups.com<mailto:cp... at googlegroups.com>> On Behalf Of Ebad
Sent: Freitag, 10. Januar 2020 17:51
To: cp2k <cp... at googlegroups.com<mailto:cp... at googlegroups.com>>
Subject: [CP2K:12756] "No rule to make target 'N', stop"

Hello everyone,

During building cp2k (while installing) I have given following command in terminal:


> make -j N ARCH=Linux-x86-64-gfortran VERSION="sopt popt ssmp psmp"

which returned:

No rule to make target 'N', stop.

I have installed so far:
toolchain, gfortan, blas, lapack, python like the instructions provided in website.

Your suggestions would be highly helpful for me.
--
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 cp... at googlegroups.com<mailto:cp... at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/ed81e2d8-de89-404b-8983-b8cf04465bd0%40googlegroups.com<https://groups.google.com/d/msgid/cp2k/ed81e2d8-de89-404b-8983-b8cf04465bd0%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 cp... at googlegroups.com<mailto:cp... at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/5d3cda406337419882b7c5a39f37e856%40psi.ch<https://groups.google.com/d/msgid/cp2k/5d3cda406337419882b7c5a39f37e856%40psi.ch?utm_medium=email&utm_source=footer>.
--
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 cp... at googlegroups.com<mailto:cp... at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CA%2BxBjCyw2QcD9jh1KMG8CXuQ%2BwaU3Uo%2BnBG5uV18%3DVLSe6nP6g%40mail.gmail.com<https://groups.google.com/d/msgid/cp2k/CA%2BxBjCyw2QcD9jh1KMG8CXuQ%2BwaU3Uo%2BnBG5uV18%3DVLSe6nP6g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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 cp... at googlegroups.com<mailto:cp... at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/ae1da506cbf7430483929b05b3f01d7a%40psi.ch<https://groups.google.com/d/msgid/cp2k/ae1da506cbf7430483929b05b3f01d7a%40psi.ch?utm_medium=email&utm_source=footer>.
--
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 cp... at googlegroups.com<mailto:cp... at googlegroups.com>.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/CA%2BxBjCzRLXrq0SVkEvWcFno%3D981LThBSPQNZ1%2BAjDZoEAm%3D8jg%40mail.gmail.com<https://groups.google.com/d/msgid/cp2k/CA%2BxBjCzRLXrq0SVkEvWcFno%3D981LThBSPQNZ1%2BAjDZoEAm%3D8jg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20200111/f7298654/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 218751 bytes
Desc: image001.png
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20200111/f7298654/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 120845 bytes
Desc: image003.png
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20200111/f7298654/attachment-0001.png>


More information about the CP2K-user mailing list