[CP2K:6206] Error in compiling CP2K trunk version with PLUMED-2.1.1

Iain Bethune ibet... at epcc.ed.ac.uk
Mon Mar 9 09:06:54 UTC 2015


Hang,

A couple of things to mention:

* The linker errors are because the libraries are linked in the wrong order.  Add "-lz -ldl -lstdc++" to LIBS rather than LDFLAGS, then it should work OK.  Sorry the instructions on the website were incorrect on this point.  I’ve just fixed them.
* The -D__FFTSG define is no longer needed (although it does no harm!)


Cheers

- Iain

--

Iain Bethune
Project Manager, EPCC

Email: ibet... at epcc.ed.ac.uk
Twitter: @IainBethune
Web: http://www2.epcc.ed.ac.uk/~ibethune
Tel/Fax: +44 (0)131 650 5201/6555
Mob: +44 (0)7598317015
Addr: 2404 JCMB, The King's Buildings, Peter Guthrie Tait Road, Edinburgh, EH9 3FD

> On 7 Mar 2015, at 19:42, Hang Xiao <xiaoh... at gmail.com> wrote:
> 
> Hi Iain,
> 
> Again, thank you for your help. I have attached the output in attachment. 
> 
> Best,
> 
> Hang
> 
> PhD student
> Room 829, Mudd Building
> Department of Earth and Environmental Engineering
> Columbia University
> New York, NY, 10027
> 
> -- 
> 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... at googlegroups.com.
> To post to this group, send email to cp... at googlegroups.com.
> Visit this group at http://groups.google.com/group/cp2k.
> For more options, visit https://groups.google.com/d/optout.
> <output.zip>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2017 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20150309/286685b2/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20150309/286685b2/attachment.ksh>


More information about the CP2K-user mailing list