byuflowlab / FLOWExaFMM.jl

Julia wrapper of ExaFMM with modifications for a vortex solver
4 stars 3 forks source link

sh build.sh #12

Open airfoilfo opened 11 months ago

airfoilfo commented 11 months ago

I have followed every step respectively. But still faced with problems in this step. I used different computers and results never changed. computer feedback is:

Removing existing build rm: 'src/fmm.so' silinemedi: Böyle bir dosya ya da dizin yok Copying files Configuring build checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for CC... no checking for icpc... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for ftn... no checking for ifort... no checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... yes checking whether gfortran accepts -g... yes checking for ranlib... ranlib checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for ar... ar checking the archiver (ar) interface... ar checking for OpenMP flag of C++ compiler... -fopenmp checking for mpiicpc... no checking for mpicxx... mpicxx checking for mpxlf90_rftn... no checking for mpiifort... no checking for mpif90... mpif90 checking for MPI_Init... yes checking for MPI_Init in -lmpi... yes checking for MPI_Init in -lmpich... yes checking for MPI_Init in -lmpicxx... no checking for MPI_Init in -lfmpi... no checking for MPI_Init in -lmpichf90... no checking for MPI_Init in -lmpi_cxx... yes checking for mpirun... mpirun checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for x86 cpuid output... unknown checking for x86-AVX xgetbv output... unknown checking for x86 cpuid 0x00000000 output... d:756e6547:6c65746e:49656e69 checking for x86 cpuid 0x80000000 output... 80000008:0:0:0 checking for x86 cpuid 0x00000001 output... 306c3:4100800:7dfafbbf:bfebfbff checking for x86 cpuid 0x00000007 output... 0:27ab:0:9c000600 checking for x86 cpuid 0x80000001 output... 0:0:21:2c100800 checking for x86-AVX xgetbv 0x00000000 output... 7:0 checking whether SSE3 is supported by the processor... yes checking whether SSE3 is supported by the processor and OS... yes checking whether C++ compiler accepts -msse3... yes checking whether AVX is supported by the processor... yes checking whether AVX is supported by the processor and OS... yes checking whether C++ compiler accepts -mavx... yes checking whether AVX2 is supported by the processor... yes checking whether AVX2 is supported by the processor and OS... yes checking whether C++ compiler accepts -mavx2... yes checking whether AVX512-F is supported by the processor... no checking whether AVX512-CD is supported by the processor... no checking whether AVX512-PF is supported by the processor... no checking whether AVX512-ER is supported by the processor... no checking whether AVX512-VL is supported by the processor... no checking whether AVX512-BW is supported by the processor... no checking whether AVX512-DQ is supported by the processor... no checking whether AVX512-IFMA is supported by the processor... no checking whether AVX512-VBMI is supported by the processor... no checking for C++ compiler vendor... gnu checking for C++ compiler vendor... (cached) gnu checking for a sed that does not truncate output... /usr/bin/sed checking whether C++ compiler accepts -Werror=unknown-warning-option... no checking whether C++ compiler accepts -diag-error warn... no checking whether C++ compiler accepts -O0... yes checking whether C++ compiler accepts -g... yes checking whether C++ compiler accepts -Werror... yes checking whether C++ compiler accepts -check all... no checking whether C++ compiler accepts -debug all... no checking whether C++ compiler accepts -diag-disable remark... no checking whether C++ compiler accepts -fmudflap... yes checking whether C++ compiler accepts -fno-strict-aliasing... yes checking whether C++ compiler accepts -fsanitize=address... yes checking whether C++ compiler accepts -fsanitize=leak... yes checking whether C++ compiler accepts -fstack-protector... yes checking whether C++ compiler accepts -ftrapuv... no checking whether C++ compiler accepts -ftrapv... yes checking whether C++ compiler accepts -traceback... no checking whether C++ compiler accepts -Wall... yes checking whether C++ compiler accepts -Warray-bounds... yes checking whether C++ compiler accepts -Wbad-function-cast... no checking whether C++ compiler accepts -Wcast-align... yes checking whether C++ compiler accepts -Wcast-qual... yes checking whether C++ compiler accepts -Wextra... yes checking whether C++ compiler accepts -Wfatal-errors... yes checking whether C++ compiler accepts -Wformat=2... yes checking whether C++ compiler accepts -Wformat-nonliteral... yes checking whether C++ compiler accepts -Wformat-security... yes checking whether C++ compiler accepts -Winit-self... yes checking whether C++ compiler accepts -Winline... yes checking whether C++ compiler accepts -Wmissing-format-attribute... yes checking whether C++ compiler accepts -Wmissing-include-dirs... yes checking whether C++ compiler accepts -Wmissing-noreturn... yes checking whether C++ compiler accepts -Wnested-externs... no checking whether C++ compiler accepts -Wno-missing-field-initializers... yes checking whether C++ compiler accepts -Wno-overloaded-virtual... yes checking whether C++ compiler accepts -Wno-unused-local-typedefs... yes checking whether C++ compiler accepts -Wno-unused-parameter... yes checking whether C++ compiler accepts -Wno-unused-variable... yes checking whether C++ compiler accepts -Wpointer-arith... yes checking whether C++ compiler accepts -Wredundant-decls... yes checking whether C++ compiler accepts -Wreturn-type... yes checking whether C++ compiler accepts -Wshadow... yes checking whether C++ compiler accepts -Wsign-compare... yes checking whether C++ compiler accepts -Wstrict-aliasing... yes checking whether C++ compiler accepts -Wstrict-overflow=5... yes checking whether C++ compiler accepts -Wstrict-prototype... no checking whether C++ compiler accepts -Wswitch-enum... yes checking whether C++ compiler accepts -Wuninitialized... yes checking whether C++ compiler accepts -Wunreachable-code... yes checking whether C++ compiler accepts -Wunused-but-set-variable... yes checking whether C++ compiler accepts -Wwrite-strings... yes checking whether C++ compiler accepts -Wno-error=missing-field-initializers... yes checking whether C++ compiler accepts -Wno-error=overloaded-virtual... yes checking whether C++ compiler accepts -Wno-error=unused-local-typedefs... yes checking whether C++ compiler accepts -Wno-error=unused-parameter... yes checking whether C++ compiler accepts -Wno-error=unused-variable... yes configure: OpenMP : yes configure: MPI : yes configure: CUDA : yes configure: FP32 : no configure: SIMD : -msse3 -mavx -mavx2 configure: Assert : yes configure: Debug : no configure: Vendor : gnu configure: CXX : mpicxx configure: FC : mpif90 configure: CXXFLAGS : -g -O2 configure: FCFLAGS : -g -O2 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating 3d/Makefile config.status: creating config.h config.status: executing depfiles commands Compiling 3d mpicxx -DHAVE_CONFIG_H -DJULIA_ENABLE_THREADING -Dhello_EXPORTS -I/home/bpm90/.julia/artifacts/391fa0630566129aba72c621b8b52aa5b0240563/include -I/snap/julia/86/include/julia -Wunused-parameter -Wextra -Wreorder -std=gnu++1z -O3 -DNDEBUG -fPIC -ffast-math -I. -I.. -DEXAFMM_WITH_OPENMP -msse3 -mavx -mavx2 -DNDEBUG -DEXAFMM_EAGER -funroll-loops -fabi-version=6 -Wfatal-errors -fopenmp -g -O2 -MT fmm-fmm.o -MD -MP -MF .deps/fmm-fmm.Tpo -c -o fmm-fmm.o test -f 'fmm.cxx' || echo './'fmm.cxx In file included from exafmm.h:9, from fmm.cxx:22: complexify.h: In function ‘real_t imag(const real_t&)’: complexify.h:35:34: warning: unused parameter ‘r’ [-Wunused-parameter] 35 | inline real_t imag(const real_t& r) { | ~~~~~~^ In file included from fmm.cxx:23: args.h: In constructor ‘exafmm::Args::Args(int, char)’: args.h:35:9: warning: ‘exafmm::Args::verbose’ will be initialized after [-Wreorder] 35 | int verbose; //!< Verbose mode | ^~~ args.h:34:12: warning: ‘exafmm::real_t exafmm::Args::phi’ [-Wreorder] 34 | real_t phi; //!< Multipole regularizing acceptance criterion | ^~~ args.h:93:5: warning: when initialized here [-Wreorder] 93 | Args(int argc=0, char argv=NULL) | ^~~~ In file included from fmm.cxx:25: dataset.h: In function ‘exafmm::Bodies exafmm::cube(int, int, int)’: dataset.h:50:29: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 50 | for (size_t b=begin; b!=end; ++b) { | ~^~~~~ dataset.h: In function ‘exafmm::Bodies exafmm::sphere(int, int, int)’: dataset.h:67:29: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 67 | for (size_t b=begin; b!=end; ++b) { | ~^~~~~ dataset.h: In function ‘exafmm::Bodies exafmm::octant(int, int, int)’: dataset.h:86:29: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 86 | for (size_t b=begin; b!=end; ++b) { | ~^~~~~ dataset.h: In function ‘exafmm::Bodies exafmm::plummer(int, int, int)’: dataset.h:106:16: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 106 | while (b != end) { | ^~~~ dataset.h: In function ‘void exafmm::initSource(exafmm::Bodies&, int, int)’: dataset.h:137:31: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 137 | for (size_t b=begin; b!=end; ++b) { | ~^~~~~ dataset.h:142:31: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 142 | for (size_t b=begin; b!=end; ++b) { | ~^~~~~ mv -f .deps/fmm-fmm.Tpo .deps/fmm-fmm.Po mpicxx -funroll-loops -fabi-version=6 -Wfatal-errors -fopenmp -g -O2 -o fmm fmm-fmm.o -lmpi_cxx -L/home/bpm90/.julia/artifacts/391fa0630566129aba72c621b8b52aa5b0240563/include/../lib -lcxxwrap_julia -fPIC -Wunused-parameter -Wextra -Wreorder -std=gnu++1z -O3 -DNDEBUG -shared -Wl,-rpath,: -L/home/bpm90/.julia/artifacts/391fa0630566129aba72c621b8b52aa5b0240563/include/../lib -lcxxwrap_julia -L/snap/julia/86/include/julia/../../lib -ljulia Done!

so, what should i do?

airfoilfo commented 11 months ago

also in my other experience is : ERROR: path/to/FLOWExaFMM appears to be a local path, but directory does not exist

tobiokanobi commented 10 months ago

I guess with "path/to/FLOWExaFMM" that you did not enter this, rather the output of e.g. "pwd" (which should return the path if you are currently in the directory in which you installed FLOWExaFMM ? In my experience if you have something like that before, it is just a wrong path.