byuflowlab / FLOWExaFMM.jl

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

error when compiling ExaFMM running the script build.sh #11

Open badprofessor111 opened 10 months ago

badprofessor111 commented 10 months ago

When following the online instructions, the following error is generated (see below)

Not sure why this is since installation of CxxWrap using Pkg.add(name="CxxWrap", version="0.11.2") seems to have worked

Compiling 3d mpicxx -DHAVE_CONFIG_H -DJULIA_ENABLE_THREADING -Dhello_EXPORTS -I/include -I/home/limas/local/julia-1.9.3/include/julia -Wunused-parameter -Wextra -Wreorder -std=gnu++1z -O3 -DNDEBUG -fPIC -ffast-math -I. -I.. -DEXAFMM_WITH_OPENMP -msse3 -mavx -mavx2 -mavx512f -mavx512cd -mavx512vl -mavx512bw -mavx512dq -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 fmm.cxx:10:11: fatal error: jlcxx/jlcxx.hpp: No such file or directory

include "jlcxx/jlcxx.hpp" //C++ wrapper for julia

       ^~~~~~~~~~~~~~~~~

compilation terminated. make: *** [fmm-fmm.o] Error 1 cp: cannot stat ‘build/3d/fmm’: No such file or directory Done!

tobiokanobi commented 8 months ago

I have (had) the same problem, in my case I guess it worked with an earlier version of Julia and therefore, an earlier version of CxxWrap (like 0.11.2) can be used. Later version of Julia seem to need > 0.12.x), but than it does work anymore with the ExaFMM. Just my first guess.