From NWChem
Viewed 380 times, With a total of 3 Posts
|
Gets Around
Threads 13
Posts 46
|
|
10:04:04 PM PDT - Sat, Jul 12th 2014 |
|
Compiling nwchem with python support requires linking with library "-lz".
It happens if target is LINUX CYGNUS CYGWIN INTERIX, but if target is LINUX64 there is no "-lz" in EXTRA_LIBS, so linking fails with error.
I provide the patch that fixes this issue in latest Development snapshot June 09, 2014 Nwchem-dev.revision25716-src.2014-06-09
src/config/makefile_orig.h 2014-06-05 06:13:46.000000000 +0700
+++ src/config/makefile.h 2014-07-13 09:43:18.147836024 +0700
@@ -2101,7 +2101,7 @@
ifeq ($(BUILDING_PYTHON),python)
# EXTRA_LIBS += -ltk -ltcl -L/usr/X11R6/lib -lX11 -ldl
- EXTRA_LIBS += -lnwcutil -lpthread -lutil -ldl
+ EXTRA_LIBS += -lz -lnwcutil -lpthread -lutil -ldl
LDOPTIONS = -Wl,--export-dynamic
endif
ifeq ($(NWCHEM_TARGET),CATAMOUNT)
|
Edited On 10:05:33 PM PDT - Sat, Jul 12th 2014 by Vladimir
|
|
|
-
Edoapra Forum:Admin, Forum:Mod, bureaucrat, sysop
|
|
Forum Vet
Threads 4
Posts 787
|
|
12:38:19 PM PDT - Mon, Jul 14th 2014 |
|
Vladimir,
Thanks for your feedback.
Could you please tell me what kind of linux distribution you are using?
Thanks, Edo
|
|
|
|
Gets Around
Threads 13
Posts 46
|
|
8:22:23 AM PDT - Fri, Jul 18th 2014 |
|
Hello, Edo.
I'm using Ubintu 14.04, Ubuntu 13.04 and Ubuntu 12.04.
I saw that it was already discussed in post
http://www.nwchem-sw.org/index.php/Special:AWCforum/post/quote/id1537
Quote:username __Good__ (edit src/config/makefile.h, line 1914 and add -lz -lssl for python support)
but -lssl already fixed
|
Edited On 8:30:16 AM PDT - Fri, Jul 18th 2014 by Vladimir
|
|
|
|
Gets Around
Threads 13
Posts 46
|
|
|
|
AWC's:
2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC