From NWChem
Viewed 636 times, With a total of 7 Posts
|
Just Got Here
Threads 1
Posts 1
|
|
2:19:13 PM - Tue, Mar 29th 2011 |
|
Hi,
Nwchem 6.0 does not build with gnu make 3.82; Makefile works well with make 3.81.
Is there a way to modify the Makefile to make it comply with new version?
Thank you.
|
|
|
-
Bert NWChemDeveloper, bureaucrat, sysop
|
|
Gets Around
Threads 1
Posts 173
|
|
8:49:24 PM - Tue, Mar 29th 2011 |
|
Can you post a little more detail as to what you mean by cannot build? Do you have a log of the errors?
Thanks,
Bert
Quote:Kernelpanic Mar 29th 2:19 pmHi,
Nwchem 6.0 does not build with gnu make 3.82; Makefile works well with make 3.81.
Is there a way to modify the Makefile to make it comply with new version?
Thank you.
|
|
|
|
Just Got Here
Threads 0
Posts 1
|
|
7:37:33 AM - Fri, Apr 1st 2011 |
|
I am having the same difficulty with gnu make 3.82 (included in fedora 14). I would appreciate if you can provide me a fix or any hint.
Here is the log file generated at the time of failed build:
Making libraries in tools
...
GNUmakefile:71: *** mixed implicit and normal rules. Stop.
make[2]: *** [clean] Error 1
make[1]: *** [LINUX64-TCG-N.stamp] Error 2
make: *** [libraries] Error 1
Thank you.
Quote:Bert Mar 29th 8:49 pmCan you post a little more detail as to what you mean by cannot build? Do you have a log of the errors?
Thanks,
Bert
Quote:Kernelpanic Mar 29th 2:19 pmHi,
Nwchem 6.0 does not build with gnu make 3.82; Makefile works well with make 3.81.
Is there a way to modify the Makefile to make it comply with new version?
Thank you.
|
|
|
-
Bert NWChemDeveloper, bureaucrat, sysop
|
|
Gets Around
Threads 1
Posts 173
|
|
6:08:24 PM - Fri, Apr 1st 2011 |
|
I recommend for now to use GNU make 3.81. Our next release (there will be a development release shortly) will have the tools build using automake and this will eliminate the problem.
Bert
Quote:Bcheong Apr 1st 7:37 amI am having the same difficulty with gnu make 3.82 (included in fedora 14). I would appreciate if you can provide me a fix or any hint.
Here is the log file generated at the time of failed build:
Making libraries in tools
...
GNUmakefile:71: *** mixed implicit and normal rules. Stop.
make[2]: *** [clean] Error 1
make[1]: *** [LINUX64-TCG-N.stamp] Error 2
make: *** [libraries] Error 1
Thank you.
Quote:Bert Mar 29th 8:49 pmCan you post a little more detail as to what you mean by cannot build? Do you have a log of the errors?
Thanks,
Bert
Quote:Kernelpanic Mar 29th 2:19 pmHi,
Nwchem 6.0 does not build with gnu make 3.82; Makefile works well with make 3.81.
Is there a way to modify the Makefile to make it comply with new version?
Thank you.
|
|
|
|
|
4:36:59 AM - Tue, Apr 26th 2011 |
|
So this was a lame answer for me so I made a patch that got around the issue.
--- a/src/tools/global/GNUmakefile 2011-02-03 10:27:45.000000000 -0800
+++ b/src/tools/global/GNUmakefile 2011-03-19 22:27:49.499618776 -0700
@@ -68,7 +68,10 @@
$(LIBRARY):
(echo TARGET is $(TARGET); cd ./src; $(MAKE) || exit 1;)
-$(TESTS) %.x: $(LIBRARY)
+%.x: $(LIBRARY)
+ (cd ./testing; $(MAKE) $@ || exit 1;)
+
+$(TESTS): $(LIBRARY)
(cd ./testing; $(MAKE) $@ || exit 1;)
all: $(TESTS)
|
|
|
-
Bert NWChemDeveloper, bureaucrat, sysop
|
|
Gets Around
Threads 1
Posts 173
|
|
10:02:04 PM - Mon, May 2nd 2011 |
|
Not a lame answer at all. If you go to the download page the development version is available, which uses the new autobuild for global arrays...
Bert
Quote: Apr 26th 4:36 amSo this was a lame answer for me so I made a patch that got around the issue.
--- a/src/tools/global/GNUmakefile 2011-02-03 10:27:45.000000000 -0800
+++ b/src/tools/global/GNUmakefile 2011-03-19 22:27:49.499618776 -0700
@@ -68,7 +68,10 @@
$(LIBRARY):
(echo TARGET is $(TARGET); cd ./src; $(MAKE) || exit 1;)
-$(TESTS) %.x: $(LIBRARY)
+%.x: $(LIBRARY)
+ (cd ./testing; $(MAKE) $@ || exit 1;)
+
+$(TESTS): $(LIBRARY)
(cd ./testing; $(MAKE) $@ || exit 1;)
all: $(TESTS)[/quote]
|
|
|
|
|
3:44:11 AM - Fri, Jun 17th 2011 |
|
development program still doesn't work
|
I can't install nwchem 6.0 -april 2011 version on fedora 14 either. I believe I have similar problems with the tools and automake didn't help.
I have installed nwchem 6.0 on a older server, centos 5, but it seems there is problems w/ the newer os. Is there a way to fix this.. or will this be fixed? I"m not sure how to implement the patch above.
echo "No extra configuration libraries were added " >> NWCHEM_CONFIG
test -d /scratch/nwchem-6.0/lib/LINUX64 || mkdir -p /scratch/nwchem-6.0/lib/LINUX64
test -d /scratch/nwchem-6.0/bin/LINUX64 || mkdir -p /scratch/nwchem-6.0/bin/LINUX64
Making libraries in tools
../config/makefile.h:167: /scratch/nwchem-6.0/src/config/nwchem_config.h: No such file or directory
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: *** No rule to make target `/scratch/nwchem-6.0/src/config/nwchem_config.h'. Stop.
make: *** [libraries] Error 1
|
|
|
|
|
3:49:27 AM - Sat, Jun 18th 2011 |
|
works
|
my bad, I set the proper environment variables and got it.
|
|
|
AWC's:
2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC