aseidler
Forum Replies Created
-
AuthorPosts
-
June 25, 2024 at 5:27 pm in reply to: Multiple GPU compiler error: cannot find -lmpi_cxx: No such file or director #8856aseidlerParticipant
Hi thanhphatvt,
the following helped for me:
i changed the “lib” in the Makefile in olb.1.7.r0/externals to this:
all: lib zlib tinyxml
.PHONY: zlib tinyxmllib:
mkdir -p libzlib:
make -C zlib
cp zlib/build/libz.a lib/clean_zlib:
make -C zlib cleantinyxml:
make -C tinyxml
cp tinyxml/build/libtinyxml.a lib/clean_tinyxml:
make -C tinyxml cleanclean: clean_zlib clean_tinyxml
rm -f lib/libz.a lib/libtinyxml.aand than this is my final config.mk for olb.1.7r0:
CXX := nvcc -ccbin=mpicxx
CC := nvcc -ccbin=mpiccCXXFLAGS := -O3
CXXFLAGS += -std=c++17PARALLEL_MODE := MPI
PLATFORMS := CPU_SISD GPU_CUDA
CUDA_ARCH := 80
FLOATING_POINT_TYPE := float
USE_EMBEDDED_DEPENDENCIES := ON
Furthermore i got the problem on our HPC that OpenMPI is not working when just loading the module so here are my modules I am using for HPC in Dresden:
ml release/23.04 GCC/11.3.0 OpenMPI/4.1.4 CUDA/11.7 UCX-CUDA
I hope that this answer is helpful for you.
-Alex
June 18, 2024 at 10:55 am in reply to: Multiple GPU on HPC Calculation Signal: Segmentation fault (11) #8834aseidlerParticipantDear Yuji,
I got the bugs under control and it runs on multiple GPUs, it was a problem with Dresden University of Technology’s HPC, the UCX CUDA needs to be loaded separately.
For my future colleagues using Dresden’s HPC, here is what needs to be set up:You need to load the following packages:
ml release/23.04 GCC/11.3.0 OpenMPI/4.1.4 CUDA/11.7 UCX-CUDAMy configuration looks like this:
# Example of a build configuration for OpenLB 1.7 with CUDA and OpenMPICXX := nvcc -ccbin=mpicxx
CC := nvcc -ccbin=mpiccCXXFLAGS := -O3
CXXFLAGS += -std=c++17PARALLEL_MODE := MPI
#MPIFLAGS := -lmpi_cxx -lmpi
PLATFORMS := CPU_SISD GPU_CUDA
CUDA_ARCH := 70 #or 80 for Alpha
FLOATING_POINT_TYPE := Float
USE_EMBEDDED_DEPENDENCIES := ON
June 3, 2024 at 4:57 pm in reply to: Multiple GPU on HPC Calculation Signal: Segmentation fault (11) #8760aseidlerParticipantI forgot to mention that my MPI is built with Cuda.
mca:mpi:base:param:mpi_built_with_cuda_support:value:true
June 3, 2024 at 1:28 pm in reply to: Multiple GPU compiler error: cannot find -lmpi_cxx: No such file or director #8758aseidlerParticipantHi Adiran,
I guess i managed to solve the problem on my own.
I had some problems with “nvcc fatal : Unknown option ‘-Wl,-rpath'” but just deleting the path und changing the MPIFLAGS toMPIFLAGS := -L/software/rome/r23.10/OpenMPI/4.1.4-GCC-11.3.0/lib -L/software/rome/r23.10/hwloc/2.7.1-GCCcore-11.3.0/lib -L/software/rome/r23.10/libevent/2.1.12-GCCcore-11.3.0/lib -lmpi
solved the issue for now.
Thanks a lot
-Alex
aseidlerParticipantHi Adrian,
thank you for the quick reply.
Unforthunatly this solution is leeding to more problems:
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp: In function ‘double rcbrt(double)’:
/usr/include/crt/math_functions.hpp:2960:32: error: call of overloaded ‘log2(double&)’ is ambiguous
2960 | t = exp2(-CUDART_THIRD * log2(s)); /* initial approximation */
| ~~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:133:15: note: candidate: ‘double log2(double)’
133 | __MATHCALL_VEC (log2,, (_Mdouble_ __x));
| ^~~~
/usr/include/c++/11/cmath:1574:23: note: candidate: ‘constexpr long double std::log2(long double)’
1574 | log2(long double __x)
| ^
/usr/include/c++/11/cmath:1570:17: note: candidate: ‘constexpr float std::log2(float)’
1570 | log2(float __x)
| ^
../../../src/utilities/omath.h:197:14: note: candidate: ‘float olb::util::log2(float)’
197 | inline float log2(float arg)
| ^~~~
../../../src/utilities/omath.h:207:15: note: candidate: ‘double olb::util::log2(double)’
207 | inline double log2(double arg)
| ^~~~
../../../src/utilities/omath.h:212:20: note: candidate: ‘long double olb::util::log2(long double)’
212 | inline long double log2(long double arg)
| ^~~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp: In function ‘double sinpi(double)’:
/usr/include/crt/math_functions.hpp:2981:16: error: call of overloaded ‘sin(double&)’ is ambiguous
2981 | return sin (a);
| ~~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:15: note: candidate: ‘double sin(double)’
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x));
| ^~~
/usr/include/c++/11/cmath:429:23: note: candidate: ‘constexpr long double std::sin(long double)’
429 | sin(long double __x)
| ^
/usr/include/c++/11/cmath:425:17: note: candidate: ‘constexpr float std::sin(float)’
425 | sin(float __x)
| ^
../../../src/utilities/omath.h:296:14: note: candidate: ‘float olb::util::sin(float)’
296 | inline float sin(float arg)
| ^~~
../../../src/utilities/omath.h:306:15: note: candidate: ‘double olb::util::sin(double)’
306 | inline double sin(double arg)
| ^~~
../../../src/utilities/omath.h:311:20: note: candidate: ‘long double olb::util::sin(long double)’
311 | inline long double sin(long double arg)
| ^~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp:2983:17: error: call of overloaded ‘floor(double&)’ is ambiguous
2983 | if (a == floor(a)) {
| ~~~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:165:15: note: candidate: ‘double floor(double)’
165 | __MATHCALLX (floor,, (_Mdouble_ __x), (__const__));
| ^~~~~
/usr/include/c++/11/cmath:264:23: note: candidate: ‘constexpr long double std::floor(long double)’
264 | floor(long double __x)
| ^~
/usr/include/c++/11/cmath:260:17: note: candidate: ‘constexpr float std::floor(float)’
260 | floor(float __x)
| ^~
../../../src/utilities/omath.h:714:14: note: candidate: ‘float olb::util::floor(float)’
714 | inline float floor(float arg)
| ^~~~~
../../../src/utilities/omath.h:719:15: note: candidate: ‘double olb::util::floor(double)’
719 | inline double floor(double arg)
| ^~~~~
../../../src/utilities/omath.h:724:20: note: candidate: ‘long double olb::util::floor(long double)’
724 | inline long double floor(long double arg)
| ^~~~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp:2987:23: error: call of overloaded ‘round(double&)’ is ambiguous
2987 | double rtwoa = round(twoa);
| ~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:301:15: note: candidate: ‘double round(double)’
301 | __MATHCALLX (round,, (_Mdouble_ __x), (__const__));
| ^~~~~
/usr/include/c++/11/cmath:1760:23: note: candidate: ‘constexpr long double std::round(long double)’
1760 | round(long double __x)
| ^~
/usr/include/c++/11/cmath:1756:17: note: candidate: ‘constexpr float std::round(float)’
1756 | round(float __x)
| ^~
../../../src/utilities/omath.h:816:14: note: candidate: ‘float olb::util::round(float)’
816 | inline float round(float arg)
| ^~~~~
../../../src/utilities/omath.h:821:15: note: candidate: ‘double olb::util::round(double)’
821 | inline double round(double arg)
| ^~~~~
../../../src/utilities/omath.h:826:20: note: candidate: ‘long double olb::util::round(long double)’
826 | inline long double round(long double arg)
| ^~~~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp:2993:13: error: call of overloaded ‘cos(double&)’ is ambiguous
2993 | a = cos (a);
| ~~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:15: note: candidate: ‘double cos(double)’
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x));
| ^~~
/usr/include/c++/11/cmath:188:23: note: candidate: ‘constexpr long double std::cos(long double)’
188 | cos(long double __x)
| ^
/usr/include/c++/11/cmath:184:17: note: candidate: ‘constexpr float std::cos(float)’
184 | cos(float __x)
| ^
../../../src/utilities/omath.h:360:14: note: candidate: ‘float olb::util::cos(float)’
360 | inline float cos(float arg)
| ^~~
../../../src/utilities/omath.h:370:15: note: candidate: ‘double olb::util::cos(double)’
370 | inline double cos(double arg)
| ^~~
../../../src/utilities/omath.h:375:20: note: candidate: ‘long double olb::util::cos(long double)’
375 | inline long double cos(long double arg)
| ^~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp:2995:13: error: call of overloaded ‘sin(double&)’ is ambiguous
2995 | a = sin (a);
| ~~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:15: note: candidate: ‘double sin(double)’
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x));
| ^~~
/usr/include/c++/11/cmath:429:23: note: candidate: ‘constexpr long double std::sin(long double)’
429 | sin(long double __x)
| ^
/usr/include/c++/11/cmath:425:17: note: candidate: ‘constexpr float std::sin(float)’
425 | sin(float __x)
| ^
../../../src/utilities/omath.h:296:14: note: candidate: ‘float olb::util::sin(float)’
296 | inline float sin(float arg)
| ^~~
../../../src/utilities/omath.h:306:15: note: candidate: ‘double olb::util::sin(double)’
306 | inline double sin(double arg)
| ^~~
../../../src/utilities/omath.h:311:20: note: candidate: ‘long double olb::util::sin(long double)’
311 | inline long double sin(long double arg)
| ^~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp: In function ‘double cospi(double)’:
/usr/include/crt/math_functions.hpp:3011:16: error: call of overloaded ‘cos(double&)’ is ambiguous
3011 | return cos (a);
| ~~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:15: note: candidate: ‘double cos(double)’
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x));
| ^~~
/usr/include/c++/11/cmath:188:23: note: candidate: ‘constexpr long double std::cos(long double)’
188 | cos(long double __x)
| ^
/usr/include/c++/11/cmath:184:17: note: candidate: ‘constexpr float std::cos(float)’
184 | cos(float __x)
| ^
../../../src/utilities/omath.h:360:14: note: candidate: ‘float olb::util::cos(float)’
360 | inline float cos(float arg)
| ^~~
../../../src/utilities/omath.h:370:15: note: candidate: ‘double olb::util::cos(double)’
370 | inline double cos(double arg)
| ^~~
../../../src/utilities/omath.h:375:20: note: candidate: ‘long double olb::util::cos(long double)’
375 | inline long double cos(long double arg)
| ^~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp:3017:23: error: call of overloaded ‘round(double&)’ is ambiguous
3017 | double rtwoa = round(twoa);
| ~~~~~^~~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:301:15: note: candidate: ‘double round(double)’
301 | __MATHCALLX (round,, (_Mdouble_ __x), (__const__));
| ^~~~~
/usr/include/c++/11/cmath:1760:23: note: candidate: ‘constexpr long double std::round(long double)’
1760 | round(long double __x)
| ^~
/usr/include/c++/11/cmath:1756:17: note: candidate: ‘constexpr float std::round(float)’
1756 | round(float __x)
| ^~
../../../src/utilities/omath.h:816:14: note: candidate: ‘float olb::util::round(float)’
816 | inline float round(float arg)
| ^~~~~
../../../src/utilities/omath.h:821:15: note: candidate: ‘double olb::util::round(double)’
821 | inline double round(double arg)
| ^~~~~
../../../src/utilities/omath.h:826:20: note: candidate: ‘long double olb::util::round(long double)’
826 | inline long double round(long double arg)
| ^~~~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp:3024:13: error: call of overloaded ‘cos(double&)’ is ambiguous
3024 | a = cos (a);
| ~~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:15: note: candidate: ‘double cos(double)’
62 | __MATHCALL_VEC (cos,, (_Mdouble_ __x));
| ^~~
/usr/include/c++/11/cmath:188:23: note: candidate: ‘constexpr long double std::cos(long double)’
188 | cos(long double __x)
| ^
/usr/include/c++/11/cmath:184:17: note: candidate: ‘constexpr float std::cos(float)’
184 | cos(float __x)
| ^
../../../src/utilities/omath.h:360:14: note: candidate: ‘float olb::util::cos(float)’
360 | inline float cos(float arg)
| ^~~
../../../src/utilities/omath.h:370:15: note: candidate: ‘double olb::util::cos(double)’
370 | inline double cos(double arg)
| ^~~
../../../src/utilities/omath.h:375:20: note: candidate: ‘long double olb::util::cos(long double)’
375 | inline long double cos(long double arg)
| ^~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp:3026:13: error: call of overloaded ‘sin(double&)’ is ambiguous
3026 | a = sin (a);
| ~~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:15: note: candidate: ‘double sin(double)’
64 | __MATHCALL_VEC (sin,, (_Mdouble_ __x));
| ^~~
/usr/include/c++/11/cmath:429:23: note: candidate: ‘constexpr long double std::sin(long double)’
429 | sin(long double __x)
| ^
/usr/include/c++/11/cmath:425:17: note: candidate: ‘constexpr float std::sin(float)’
425 | sin(float __x)
| ^
../../../src/utilities/omath.h:296:14: note: candidate: ‘float olb::util::sin(float)’
296 | inline float sin(float arg)
| ^~~
../../../src/utilities/omath.h:306:15: note: candidate: ‘double olb::util::sin(double)’
306 | inline double sin(double arg)
| ^~~
../../../src/utilities/omath.h:311:20: note: candidate: ‘long double olb::util::sin(long double)’
311 | inline long double sin(long double arg)
| ^~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp: In function ‘double erfinv(double)’:
/usr/include/crt/math_functions.hpp:3060:14: error: call of overloaded ‘log1p(double)’ is ambiguous
3060 | t = log1p(-fa);
| ~~~~~^~~~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:122:15: note: candidate: ‘double log1p(double)’
122 | __MATHCALL_VEC (log1p,, (_Mdouble_ __x));
| ^~~~~
/usr/include/c++/11/cmath:1555:23: note: candidate: ‘constexpr long double std::log1p(long double)’
1555 | log1p(long double __x)
| ^~
/usr/include/c++/11/cmath:1551:17: note: candidate: ‘constexpr float std::log1p(float)’
1551 | log1p(float __x)
| ^~
../../../src/utilities/omath.h:229:14: note: candidate: ‘float olb::util::log1p(float)’
229 | inline float log1p(float arg)
| ^~~~~
../../../src/utilities/omath.h:239:15: note: candidate: ‘double olb::util::log1p(double)’
239 | inline double log1p(double arg)
| ^~~~~
../../../src/utilities/omath.h:244:20: note: candidate: ‘long double olb::util::log1p(long double)’
244 | inline long double log1p(long double arg)
| ^~~~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp: In function ‘double erfcinv(double)’:
/usr/include/crt/math_functions.hpp:3160:12: error: call of overloaded ‘log(const double&)’ is ambiguous
3160 | t = log(a);
| ~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:15: note: candidate: ‘double log(double)’
104 | __MATHCALL_VEC (log,, (_Mdouble_ __x));
| ^~~
/usr/include/c++/11/cmath:342:23: note: candidate: ‘constexpr long double std::log(long double)’
342 | log(long double __x)
| ^
/usr/include/c++/11/cmath:338:17: note: candidate: ‘constexpr float std::log(float)’
338 | log(float __x)
| ^
../../../src/utilities/omath.h:133:14: note: candidate: ‘float olb::util::log(float)’
133 | inline float log(float arg)
| ^~~
../../../src/utilities/omath.h:143:15: note: candidate: ‘double olb::util::log(double)’
143 | inline double log(double arg)
| ^~~
../../../src/utilities/omath.h:148:20: note: candidate: ‘long double olb::util::log(long double)’
148 | inline long double log(long double arg)
| ^~~
In file included from /usr/include/crt/math_functions.h:10703,
from /usr/include/crt/common_functions.h:303,
from /usr/include/crt/host_runtime.h:267,
from /tmp/tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:9,
from tmpxft_00194e41_00000000-6_channel3d.cudafe1.stub.c:1:
/usr/include/crt/math_functions.hpp:3191:12: error: call of overloaded ‘log(const double&)’ is ambiguous
3191 | t = log(a);
| ~~~^~~
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:15: note: candidate: ‘double log(double)’
104 | __MATHCALL_VEC (log,, (_Mdouble_ __x));
| ^~~
/usr/include/c++/11/cmath:342:23: note: candidate: ‘constexpr long double std::log(long double)’
342 | log(long double __x)
| ^
/usr/include/c++/11/cmath:338:17: note: candidate: ‘constexpr float std::log(float)’
338 | log(float __x)
| ^
../../../src/utilities/omath.h:133:14: note: candidate: ‘float olb::util::log(float)’
133 | inline float log(float arg)
| ^~~
../../../src/utilities/omath.h:143:15: note: candidate: ‘double olb::util::log(double)’
143 | inline double log(double arg)
| ^~~
../../../src/utilities/omath.h:148:20: note: candidate: ‘long double olb::util::log(long double)’
148 | inline long double log(long double arg)
| ^~~
make: *** [../../../default.single.mk:35: channel3d.o] Error 1-Alex
January 19, 2024 at 11:09 am in reply to: nvcc fatal : Option ‘–generate-code arch=compute_60’, missing code #8144aseidlerParticipantYes and thank you for your help!
January 19, 2024 at 10:58 am in reply to: nvcc fatal : Option ‘–generate-code arch=compute_60’, missing code #8142aseidlerParticipantI managed to reproduce this error the CUDA_ARCH number was to high
January 17, 2024 at 4:37 pm in reply to: nvcc fatal : Option ‘–generate-code arch=compute_60’, missing code #8136aseidlerParticipantTo the second question:
Yes it is running without compilation errors on only cpu and mpi.January 17, 2024 at 4:16 pm in reply to: nvcc fatal : Option ‘–generate-code arch=compute_60’, missing code #8135aseidlerParticipantHey Adrian,
i checked my code in respect to the examples. But still I got this error where I am a bit clueless.
[ThreadPool] Sucessfully initialized, numThreads=1
[main] Start Simulation …
[UnitConverter] —————– UnitConverter information —————–
[UnitConverter] — Parameters:
[UnitConverter] Resolution: N= 50
[UnitConverter] Lattice velocity: latticeU= 0.00712282
[UnitConverter] Lattice relaxation frequency: omega= 1.95718
[UnitConverter] Lattice relaxation time: tau= 0.510939
[UnitConverter] Characteristical length(m): charL= 0.00980004
[UnitConverter] Characteristical speed(m/s): charU= 0.01
[UnitConverter] Phys. kinematic viscosity(m^2/s): charNu= 1.0034e-06
[UnitConverter] Phys. density(kg/m^d): charRho= 998
[UnitConverter] Characteristical pressure(N/m^2): charPressure= 0
[UnitConverter] Mach number: machNumber= 0.0123371
[UnitConverter] Reynolds number: reynoldsNumber= 97.6683
[UnitConverter] Knudsen number: knudsenNumber= 0.000126316
[UnitConverter]
[UnitConverter] — Conversion factors:
[UnitConverter] Voxel length(m): physDeltaX= 0.000196001
[UnitConverter] Time step(s): physDeltaT= 0.000139608
[UnitConverter] Velocity factor(m/s): physVelocity= 1.40394
[UnitConverter] Density factor(kg/m^3): physDensity= 998
[UnitConverter] Mass factor(kg): physMass= 7.51457e-09
[UnitConverter] Viscosity factor(m^2/s): physViscosity= 0.000275173
[UnitConverter] Force factor(N): physForce= 7.55688e-05
[UnitConverter] Pressure factor(N/m^2): physPressure= 1967.1
[UnitConverter] ————————————————————-
[STLreader] Voxelizing …
[STLmesh] nTriangles=21792; maxDist2=9.57151e-07
[STLmesh] minPhysR(StlMesh)=(-0.00531261,-0.0120206,-1.79526e-06); maxPhysR(StlMesh)=(0.00531261,0.0120206,0.0500018)
[Octree] radius=0.0501762; center=(-4.90002e-05,-4.90002e-05,0.024951)
[STLreader] voxelSize=0.000196001; stlSize=0.001
[STLreader] minPhysR(VoxelMesh)=(-0.00524302,-0.011907,0.000156916); maxPhysR(VoxelMesh)=(0.00514502,0.012005,0.0499412)
[STLreader] Voxelizing … OK
[main] STL was read …
[prepareGeometry] Prepare Geometry …
[SuperGeometry3D] cleaned 0 outer boundary voxel(s)
[SuperGeometry3D] cleaned 0 outer boundary voxel(s)
[SuperGeometry3D] cleaned 0 inner boundary voxel(s) of Type 3
[SuperGeometryStatistics3D] updated
[SuperGeometry3D] the model is correct!
[CuboidGeometry3D] —Cuboid Stucture Statistics—
[CuboidGeometry3D] Number of Cuboids: 1
[CuboidGeometry3D] Delta (min): 0.000196001
[CuboidGeometry3D] (max): 0.000196001
[CuboidGeometry3D] Ratio (min): 0.448
[CuboidGeometry3D] (max): 4.58929
[CuboidGeometry3D] Nodes (min): 1799000
[CuboidGeometry3D] (max): 1799000
[CuboidGeometry3D] Weight (min): 1799000
[CuboidGeometry3D] (max): 1799000
[CuboidGeometry3D] ——————————–
[SuperGeometryStatistics3D] materialNumber=0; count=1216568; minPhysR=(-0.00543902,-0.012103,-3.90851e-05); maxPhysR=(0.00534102,0.0122011,0.0501371)
[SuperGeometryStatistics3D] materialNumber=1; count=490960; minPhysR=(-0.00543902,-0.011907,0.000156916); maxPhysR=(0.00514502,0.012005,0.0499411)
[SuperGeometryStatistics3D] materialNumber=2; count=87399; minPhysR=(-0.00543902,-0.012103,-3.90851e-05); maxPhysR=(0.00534102,0.0122011,0.0501371)
[SuperGeometryStatistics3D] materialNumber=3; count=2036; minPhysR=(-0.00485102,-0.00485102,-3.90851e-05); maxPhysR=(0.00494902,0.00494902,-3.90851e-05)
[SuperGeometryStatistics3D] materialNumber=4; count=2037; minPhysR=(-0.00485102,-0.00485102,0.0501371); maxPhysR=(0.00494902,0.00494902,0.0501371)
[prepareGeometry] Prepare Geometry … OK
[main] Define SuperLattice …
terminate called after throwing an instance of ‘thrust::system::system_error’
what(): parallel_for failed: cudaErrorSymbolNotFound: named symbol not found
AbortedThank you for your help so far!
-Alex
January 17, 2024 at 11:24 am in reply to: nvcc fatal : Option ‘–generate-code arch=compute_60’, missing code #8129aseidlerParticipantHello Adrian,
Thank you for the quick reply.
Indeed the space in the CUDA_ARCH definition was the gist of the matter.
Still, my code isn’t running but the examples like venturi3d are now running on the GPU.All the best,
Alex -
AuthorPosts