You can subscribe to this list here.
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
|
From: YAN D. <dai...@ya...> - 2012-11-22 18:23:22
|
Could Someone help me? Thanks! When I run the python program,the console shows: File "Report.py", line 163, in <module> ProcessEnergy(infiles,summaryDoc,detailedDoc,StartCut) File "/home/darwin/simulation/analysis/Energy.py", line 83, in ProcessEnergy (mean,var,error,kappa)=stats.Stats(data[StartCut:-1]) File "/home/darwin/simulation/analysis/stats.py", line 68, in Stats mean=sum(x)/(N+0.0) File "/usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py", line 1453, in sum return _wrapit(a, 'sum', axis, dtype, out) File "/usr/local/lib/python2.7/dist-packages/numpy/core/fromnumeric.py", line 37, in _wrapit result = getattr(asarray(obj),method)(*args, **kwds)TypeError: cannot perform reduce with flexible type Could someone tell me what's wrong with that? |
|
From: A. S. <as...@ga...> - 2010-05-05 06:23:25
|
Dear All,
I am facing the following errors
while compiling libcommon-0.5, necessary to compile
pimc++:
-------------------------------------
/bin/sh ../libtool --tag=CXX --mode=link g++
-I/home/asen/blitz-0.9/. -mssse3 -fPIC -pthread
-g -o VinetFit VinetFit.o libfitting.la
../MatrixOps/libmatops.la ../IO/libIO.la
-L/home/asen/blitz-0.9/src/.libs -lblitz -lgsl
-lgslcblas -lm -llapack -lblas -lblas -lhdf5 -lm
g++ -I/home/asen/blitz-0.9/. -mssse3 -fPIC -pthread
-g -o VinetFit VinetFit.o ./.libs/libfitting.a
../MatrixOps/.libs/libmatops.a ../IO/.libs/libIO.a
-L/home/asen/blitz-0.9/src/.libs -lblitz -lgsl
-lgslcblas -llapack -lblas -lhdf5 -lm
g++ -DHAVE_CONFIG_H -I. -I..
-I/home/asen/blitz-0.9/. -mssse3 -fPIC -pthread
-g -MT VinetFit2.o -MD -MP -MF .deps/VinetFit2.Tpo
-c -o VinetFit2.o VinetFit2.cc
In file included from VinetFit2.cc:5:
PhononFreeEnergy.h:27: error: redefinition of ‘int
vorder’
PhononFreeEnergy.h:27: error: ‘int vorder’
previously declared here
PhononFreeEnergy.h:31: error: redefinition of ‘int
vorder’
PhononFreeEnergy.h:31: error: ‘int vorder’
previously declared here
VinetFit2.cc: In function ‘void
ThermalFit(std::string, PhononFreeEnergy&)’:
VinetFit2.cc:206: error: no matching function for
call to ‘PhononFreeEnergy::FitF(int, int,
blitz::Array<double, 1>&, blitz::Array<double, 1>&,
blitz::Array<double, 1>&)’
PhononFreeEnergy.h:27: note: candidates are: void
PhononFreeEnergy::FitF(int, blitz::Array<double,
1>&, blitz::Array<double, 1>&, blitz::Array<double,
1>&)
make[2]: *** [VinetFit2.o] Error 1
make[2]: Leaving directory
`/home/asen/libcommon-0.5/Fitting'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/asen/libcommon-0.5'
make: *** [all] Error 2
-----------------------------
I would greatly appreciate your help and suggestions
in this regard!
Best regards,
Sen
|