Dear Prof.
when I make all_graph, I met the following error, I don't know how to solve it, could you help me? Thanks
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -fopenmp -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.31/src -I../../vendor/wnmatrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -std=c++11 -c -o ../../obj/graphhelper.o graphhelper.cpp
In file included from /home/hhh/mesasdk/include/c++/5.3.1/x8664-pc-linux-gnu/bits/gthr-default.h:35:0,
from /home/hhh/mesasdk/include/c++/5.3.1/x8664-pc-linux-gnu/bits/gthr.h:148,
from /home/hhh/mesasdk/include/c++/5.3.1/ext/atomicity.h:35,
from /home/hhh/mesasdk/include/c++/5.3.1/memory:73,
from /usr/include/boost/unordered/unorderedsetfwd.hpp:14,
from /usr/include/boost/unordered/unorderedset.hpp:17,
from /usr/include/boost/unorderedset.hpp:17,
from /usr/include/boost/graph/adjacencylist.hpp:21,
from ../../nnt/graph.h:29,
from graphhelper.h:29,
from graphhelper.cpp:21:
/home/hhh/mesasdk/include/c++/5.3.1/ext/concurrence.h:122:34: error: cannot convert '<brace-enclosed initializer="" list="">' to 'short int' in initialization
gthreadmutext Mmutex = GTHREADMUTEXINIT;
^
/home/hhh/mesasdk/include/c++/5.3.1/ext/concurrence.h:177:44: error: cannot convert '<brace-enclosed initializer="" list="">' to 'short int' in initialization
gthreadrecursivemutext Mmutex = GTHREADRECURSIVEMUTEXINIT;
^
Makefile:59: recipe for target '../../obj/graphhelper.o' failed
make: [../../obj/graphhelper.o] Error 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On further sleuthing, I saw this from stackoverflow. You might see what happens if you edit the nucnet-tools-code/examples/graph/Makefile to change the lines
#===============================================================================
# Add C++ 11.
#===============================================================================
CC += -std=c++11
to instead read
#===============================================================================
# Add C++ 11.
#===============================================================================
CC += -D__USE_XOPEN2K8 -std=c++11
and recompile. Let me know if that works. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I apologize. I let this fall through the cracks. I hope you were able to solve this. If not, and if you are still working on this, let me know. Thanks, and best wishes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Prof.
when I make all_graph, I met the following error, I don't know how to solve it, could you help me? Thanks
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -fopenmp -Wno-deprecated xml2-config --cflags gsl-config --cflags -I../../vendor/libnucnet/0.31/src -I../../vendor/wnmatrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -std=c++11 -c -o ../../obj/graphhelper.o graphhelper.cpp
In file included from /home/hhh/mesasdk/include/c++/5.3.1/x8664-pc-linux-gnu/bits/gthr-default.h:35:0,
from /home/hhh/mesasdk/include/c++/5.3.1/x8664-pc-linux-gnu/bits/gthr.h:148,
from /home/hhh/mesasdk/include/c++/5.3.1/ext/atomicity.h:35,
from /home/hhh/mesasdk/include/c++/5.3.1/memory:73,
from /usr/include/boost/unordered/unorderedsetfwd.hpp:14,
from /usr/include/boost/unordered/unorderedset.hpp:17,
from /usr/include/boost/unorderedset.hpp:17,
from /usr/include/boost/graph/adjacencylist.hpp:21,
from ../../nnt/graph.h:29,
from graphhelper.h:29,
from graphhelper.cpp:21:
/home/hhh/mesasdk/include/c++/5.3.1/ext/concurrence.h:122:34: error: cannot convert '<brace-enclosed initializer="" list="">' to 'short int' in initialization
gthreadmutext Mmutex = GTHREADMUTEXINIT;
^
/home/hhh/mesasdk/include/c++/5.3.1/ext/concurrence.h:177:44: error: cannot convert '<brace-enclosed initializer="" list="">' to 'short int' in initialization
gthreadrecursivemutext Mmutex = GTHREADRECURSIVEMUTEXINIT;
^
Makefile:59: recipe for target '../../obj/graphhelper.o' failed
make: [../../obj/graphhelper.o] Error 1
Thanks for your post. I'm not able to reproduce this error. It may be something with your compiler. Two things you might try:
First, check if this is a parallel programming issue. Try
cd nucnet-tools-code/examples/graph
export NNT_NO_OPENMP=1
make clean
make all_graph
Does that compile? Second, you might check on your version of Boost by using the test_versions code in examples/misc:
cd nucnet-tools-code/examples/misc
make clean
make test_versions
./test_versions
What version for boost does that give? Best wishes.
Dear Professor,
Thanks for your reply.
When I make export NNT_NO_OPENMP=1 / make clean / make all_graph and make test_versions, it give the same error:
tar xz -C ../../vendor -f ../../vendor/wn_matrix.tar.gz
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated
xml2-config --cflags
gsl-config --cflags
-I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/wn_matrix/0.19/src/WnMatrix.c -o ../../obj/WnMatrix.otar xz -C ../../vendor -f ../../vendor/libnucnet.tar.gz
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated
xml2-config --cflags
gsl-config --cflags
-I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/libnucnet/0.31/src/LibnucnetNuc.c -o ../../obj/LibnucnetNuc.otar xz -C ../../vendor -f ../../vendor/libnucnet.tar.gz
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated
xml2-config --cflags
gsl-config --cflags
-I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/libnucnet/0.31/src/LibnucnetReac.c -o ../../obj/LibnucnetReac.otar xz -C ../../vendor -f ../../vendor/libnucnet.tar.gz
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated
xml2-config --cflags
gsl-config --cflags
-I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/libnucnet/0.31/src/Libnucnet.c -o ../../obj/Libnucnet.otar xz -C ../../vendor -f ../../vendor/libstatmech.tar.gz
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fshort-enums -fno-common -g -O0 -DNO_OPENMP -Wno-deprecated
xml2-config --cflags
gsl-config --cflags
-I../../vendor/libnucnet/0.31/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -c ../../vendor/libstatmech/0.10/src/Libstatmech.c -o ../../obj/Libstatmech.oIn file included from ../../vendor/libstatmech/0.10/src/Libstatmech.h:39:0,
from ../../vendor/libstatmech/0.10/src/Libstatmech.c:35:
/usr/include/string.h:541:5: error: 'locale_t' has not been declared
locale_t loc)
^
In file included from /home/let/mesasdk/lib/gcc/x86_64-pc-linux-gnu/5.3.1/include-fixed/features.h:338:0,
from /usr/include/stdio.h:27,
from ../../vendor/libstatmech/0.10/src/Libstatmech.h:37,
from ../../vendor/libstatmech/0.10/src/Libstatmech.c:35:
/usr/include/string.h:542:33: error: nonnull argument references non-pointer operand (argument 3, operand 3)
THROW attribute_pure nonnull ((1, 2, 3));
^
In file included from ../../vendor/libstatmech/0.10/src/Libstatmech.h:39:0,
from ../../vendor/libstatmech/0.10/src/Libstatmech.c:35:
/usr/include/string.h:545:18: error: 'locale_t' has not been declared
size_t n, locale_t loc)
^
In file included from /home/let/mesasdk/lib/gcc/x86_64-pc-linux-gnu/5.3.1/include-fixed/features.h:338:0,
from /usr/include/stdio.h:27,
from ../../vendor/libstatmech/0.10/src/Libstatmech.h:37,
from ../../vendor/libstatmech/0.10/src/Libstatmech.c:35:
/usr/include/string.h:546:33: error: nonnull argument references non-pointer operand (argument 3, operand 4)
THROW attribute_pure __nonnull ((1, 2, 4));
^
../../build/Makefile:246: recipe for target '../../obj/Libstatmech.o' failed
make: *** [../../obj/Libstatmech.o] Error 1
Looking forward to your reply
Sorry for the delayed response. Could you let me know what happens if you do
cd nucnet-tools-code/vendor/libstatmech/0.10/examples
make clean
make all
Thanks.
Last edit: Bradley S. Meyer 2018-05-18
On further sleuthing, I saw this from stackoverflow. You might see what happens if you edit the nucnet-tools-code/examples/graph/Makefile to change the lines
to instead read
and recompile. Let me know if that works. Thanks.
The following commands, it works well, there is no error:
cd nucnet-tools-code/vendor/libstatmech/0.10/examples
make clean
make all
gcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o tmp/Libstatmech.o ../src/Libstatmech.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o tmp/boson_ground_state_functions.o boson_ground_state_functions.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/create_fermion.o create_fermion.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/create_fermion.oxml2-config --libs
gsl-config --libs
-o create_fermiongcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/fermion_accuracy.o fermion_accuracy.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/fermion_accuracy.oxml2-config --libs
gsl-config --libs
-o fermion_accuracygcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/pressure_integrand.o pressure_integrand.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/pressure_integrand.oxml2-config --libs
gsl-config --libs
-o pressure_integrandgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/thermodynamic.o thermodynamic.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/thermodynamic.oxml2-config --libs
gsl-config --libs
-o thermodynamicgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/fermion_derivatives.o fermion_derivatives.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/fermion_derivatives.oxml2-config --libs
gsl-config --libs
-o fermion_derivativesgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/heat_capacity_vs_rho.o heat_capacity_vs_rho.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/heat_capacity_vs_rho.oxml2-config --libs
gsl-config --libs
-o heat_capacity_vs_rhogcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/thomas_fermi.o thomas_fermi.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/thomas_fermi.oxml2-config --libs
gsl-config --libs
-o thomas_fermigcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/create_boson.o create_boson.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/create_boson.oxml2-config --libs
gsl-config --libs
-o create_bosongcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/boson_function.o boson_function.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/boson_function.oxml2-config --libs
gsl-config --libs
-o boson_functiongcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/boson_derivatives.o boson_derivatives.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/boson_derivatives.oxml2-config --libs
gsl-config --libs
-o boson_derivativesgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/photons.o photons.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/photons.oxml2-config --libs
gsl-config --libs
-o photonsgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/bec_n.o bec_n.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/bec_n.oxml2-config --libs
gsl-config --libs
-o bec_ngcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
-c -o ./tmp/bec_T.o bec_T.cgcc -ansi -pedantic -Werror -Wall -W -Wconversion -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -fshort-enums -fno-common -g -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -O0 -I../src/
xml2-config --cflags
gsl-config --cflags
./tmp/Libstatmech.o ./tmp/boson_ground_state_functions.o ./tmp/bec_T.oxml2-config --libs
gsl-config --libs
-o bec_TThanks. There is nothing wrong with the libstatmech library or the C compiler. Useful info.
after I editted the nucnet-tools-code/examples/graph/Makefile and recompile, the errors are listed here. Thanks
./vendor/libstatmech/0.10/src/Libstatmech.c -o ../../obj/Libstatmech.o
tar xz -C ../../vendor -f ../../vendor/libnuceq.tar.gz
tar: libnuceq/0.7/doc/releases.xml: Cannot open: File exists
tar: libnuceq/0.7/doc/tex/libnuceq.tex: Cannot open: File exists
tar: libnuceq/0.7/doc/tex/low_temp.tex: Cannot open: File exists
tar: libnuceq/0.7/doc/tex/src/binding.c: Cannot open: File exists
tar: libnuceq/0.7/doc/tex/src/Makefile: Cannot open: File exists
tar: libnuceq/0.7/examples/compare_qse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compare_wse_screening.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_function_integrand_wse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_many_qse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_ng.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_nse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_pg.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_qse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_rnse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_screened_degen_nse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_wqse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_wse.c: Cannot open: File exists
tar: libnuceq/0.7/examples/compute_wse_from_lepton_number.c: Cannot open: File exists
tar: libnuceq/0.7/examples/coul_corr.c: Cannot open: File exists
tar: libnuceq/0.7/examples/coul_corr.h: Cannot open: File exists
tar: libnuceq/0.7/examples/examples.xml: Cannot open: File exists
tar: libnuceq/0.7/examples/Makefile: Cannot open: File exists
tar: libnuceq/0.7/examples/README.txt: Cannot open: File exists
tar: libnuceq/0.7/examples/regression_test.sh: Cannot open: File exists
tar: libnuceq/0.7/src/Libnuceq.c: Cannot open: File exists
tar: libnuceq/0.7/src/Libnuceq.h: Cannot open: File exists
tar: libnuceq/0.7/src/README.txt: Cannot open: File exists
tar: libnuceq/0.7/data_pub/example_nuc.xml: Cannot open: File exists
tar: libnuceq/0.7/data_pub/z.txt: Cannot open: File exists
tar: libnuceq/0.7/doc/gnu_fdl_v1.2.txt: Cannot open: File exists
tar: libnuceq/0.7/doc/gnu_gpl_v2.txt: Cannot open: File exists
tar: libnuceq/0.7/doc/tex/figures/fig1.pdf: Cannot open: File exists
tar: libnuceq/0.7/doc/tex/figures/fig2.pdf: Cannot open: File exists
tar: libnuceq/0.7/doc/tex/figures/lower.pdf: Cannot open: File exists
tar: libnuceq/0.7/doc/tex/figures/upper.pdf: Cannot open: File exists
tar: Exiting with failure status due to previous errors
../../build/Makefile:257: recipe for target '../../obj/Libnuceq.o' failed
make: *** [../../obj/Libnuceq.o] Error 2
You seem to have some conflicting libnuceq versions. Please try (in nucnet-tools-code/examples/graph)
make clean_all
make all_graph
The first command will clean the vendor directory and download anew. Let's see how that works. Best wishes.
Dear Professor: these two command give the following errors:
tar xz -C ../../vendor -f ../../vendor/libnuceq.tar.gz
g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fno-common -g -O0 -fopenmp -Wno-deprecated
xml2-config --cflags
gsl-config --cflags
-I../../vendor/libnucnet/0.32/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -DUSE_XOPEN2K8 -std=c++11 -c ../../vendor/libnuceq/0.7/src/Libnuceq.c -o ../../obj/Libnuceq.og++ -Werror -Wall -Wpointer-arith -Wwrite-strings -fno-common -g -O0 -fopenmp -Wno-deprecated
xml2-config --cflags
gsl-config --cflags
-I../../vendor/libnucnet/0.32/src -I../../vendor/wn_matrix/0.19/src -I../../vendor/libstatmech/0.10/src -I../../vendor/libnuceq/0.7/src -I../.. -DUSE_XOPEN2K8 -std=c++11 -c -o ../../obj/auxiliary.o ../../nnt/auxiliary.cppIn file included from /home/let/mesasdk/include/c++/5.3.1/x86_64-pc-linux-gnu/bits/gthr-default.h:35:0,
from /home/let/mesasdk/include/c++/5.3.1/x86_64-pc-linux-gnu/bits/gthr.h:148,
from /home/let/mesasdk/include/c++/5.3.1/ext/atomicity.h:35,
from /home/let/mesasdk/include/c++/5.3.1/bits/ios_base.h:39,
from /home/let/mesasdk/include/c++/5.3.1/ios:42,
from /home/let/mesasdk/include/c++/5.3.1/istream:38,
from /home/let/mesasdk/include/c++/5.3.1/sstream:38,
from ../../nnt/auxiliary.h:32,
from ../../nnt/auxiliary.cpp:29:
/home/let/mesasdk/include/c++/5.3.1/ext/concurrence.h:122:34: error: cannot convert '<brace-enclosed list="" initializer="">' to 'short int' in initialization
gthread_mutex_t _M_mutex = GTHREAD_MUTEX_INIT;
^
/home/let/mesasdk/include/c++/5.3.1/ext/concurrence.h:177:44: error: cannot convert '<brace-enclosed list="" initializer="">' to 'short int' in initialization
gthread_recursive_mutex_t _M_mutex = GTHREAD_RECURSIVE_MUTEX_INIT;
^
../../build/Makefile:299: recipe for target '../../obj/auxiliary.o' failed
make: *** [../../obj/auxiliary.o] Error 1</brace-enclosed></brace-enclosed>
I apologize. I let this fall through the cracks. I hope you were able to solve this. If not, and if you are still working on this, let me know. Thanks, and best wishes.