Closed n01r closed 9 years ago
Whyyyyy does this crash when -DCUDA_BLOCKING_KERNEL=ON? :scream:
-DCUDA_BLOCKING_KERNEL=ON
garten70@kepler002:~/paramSets/lwfa_withNewDev_02/bin$ ./picongpu -d 1 1 1 -g 128 256 128 -s 800 --e_macroParticlesCount.period 10 --e_png.period 10 --e_png.axis yx --e_png.slicePoint 0.5 --e_png.folder pikczersE --i_macroParticlesCount.period 10 --i_png.period 10 --i_png.axis yx --i_png.slicePoint 0.5 --i_png.folder pikczersI | tee output PIConGPUVerbose DOMAINS(2) | rank {0,0,0}; localsize {128,256,128}; localoffset {0,0,0}; PIConGPUVerbose PHYSICS(1) | Sliding Window is OFF PIConGPUVerbose SIMULATION_STATE(16) | Startup PIConGPUVerbose MEMORY(8) | size for all exchange = 36 MiB PIConGPUVerbose MEMORY(8) | size for all exchange = 36 MiB PIConGPUVerbose MEMORY(8) | RAM is NOT shared between GPU and host. PIConGPUVerbose MEMORY(8) | mallocMC: free slots for species e: 505440 a 8064 PIConGPUVerbose MEMORY(8) | mallocMC: free slots for species i: 447120 a 9088 PIConGPUVerbose MEMORY(8) | free mem after all mem is allocated 349 MiB PIConGPUVerbose PHYSICS(1) | Courant c*dt <= 1.74147 ? 1 PIConGPUVerbose PHYSICS(1) | species e: omega_p * dt <= 0.1 ? 0.0142719 PIConGPUVerbose PHYSICS(1) | species i: omega_p * dt <= 0.1 ? 0.000333063 PIConGPUVerbose PHYSICS(1) | y-cells per wavelength: 18.0587 PIConGPUVerbose PHYSICS(1) | macro particles per gpu: 16777216 PIConGPUVerbose PHYSICS(1) | typical macro particle weighting: 6955.06 PIConGPUVerbose PHYSICS(1) | UNIT_SPEED 2.99792e+08 PIConGPUVerbose PHYSICS(1) | UNIT_TIME 8e-17 PIConGPUVerbose PHYSICS(1) | UNIT_LENGTH 2.39834e-08 PIConGPUVerbose PHYSICS(1) | UNIT_MASS 6.33563e-27 PIConGPUVerbose PHYSICS(1) | UNIT_CHARGE 1.11432e-15 PIConGPUVerbose PHYSICS(1) | UNIT_EFIELD 2.13064e+13 PIConGPUVerbose PHYSICS(1) | UNIT_BFIELD 71070.4 PIConGPUVerbose PHYSICS(1) | UNIT_ENERGY 5.69418e-10 PIConGPUVerbose SIMULATION_STATE(16) | Starting simulation from timestep 0 PIConGPUVerbose SIMULATION_STATE(16) | Loading from default values finished PIConGPUVerbose SIMULATION_STATE(16) | initialize gas profile for species i PIConGPUVerbose MEMORY(8) | free mem after all particles are initialized 196 MiB initialization time: 39sec 872msec = 39 sec PIConGPUVerbose DOMAINS(2) | Master create image PIConGPUVerbose DOMAINS(2) | part image with offset 0byte=0elements | size {256,128} | offset {0,0} PIConGPUVerbose CRITICAL(4) | maximum number of particles on a GPU : 7471104 PIConGPUVerbose DOMAINS(2) | Master create image PIConGPUVerbose DOMAINS(2) | part image with offset 0byte=0elements | size {256,128} | offset {0,0} PIConGPUVerbose CRITICAL(4) | maximum number of particles on a GPU : 0 0 % = 0 | time elapsed: 109msec | avg time per step: 0msec </home/garten70/src/picongpu/src/picongpu/include/particles/ionization/byField/BSI/BSI.hpp>:111Last error after kernel launch terminate called after throwing an instance of 'std::runtime_error' what(): [CUDA] Error: invalid configuration argument [kepler002:19139] *** Process received signal *** [kepler002:19139] Signal: Aborted (6) [kepler002:19139] Signal code: (-6) [kepler002:19139] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340)[0x7f892a9d6340] [kepler002:19139] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39)[0x7f89284cbcc9] [kepler002:19139] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7f89284cf0d8] [kepler002:19139] [ 3] /opt/pkg/compiler/gnu/gcc/4.6.2/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x11d)[0x7f8928b30c6d] [kepler002:19139] [ 4] /opt/pkg/compiler/gnu/gcc/4.6.2/lib64/libstdc++.so.6(+0xbedd6)[0x7f8928b2edd6] [kepler002:19139] [ 5] /opt/pkg/compiler/gnu/gcc/4.6.2/lib64/libstdc++.so.6(+0xbee03)[0x7f8928b2ee03] [kepler002:19139] [ 6] /opt/pkg/compiler/gnu/gcc/4.6.2/lib64/libstdc++.so.6(+0xbeefe)[0x7f8928b2eefe] [kepler002:19139] [ 7] ./picongpu(_ZN8picongpu9particles10ionization3BSIINS_9ParticlesIN5PMacc19ParticleDescriptionIN5boost3mpl6stringILi101ELi0ELi0ELi0ELi0ELi0ELi0ELi0EEENS4_4math2CT6VectorIN4mpl_10integral_cIiLi8EEESF_NSE_IiLi4EEEEENS7_6v_itemINS_24placeholder_definition189weightingENSI_INS_24placeholder_definition168momentumENSI_INS_24placeholder_definition138positionINS_24placeholder_definition1512position_picENS4_24placeholder_definition1213pmacc_isAliasEEENS7_7vector0INSD_2naEEELi0EEELi0EEELi0EEENS7_6vectorINS_24placeholder_definition2314particlePusherINS0_6pusher5BorisESS_EENS_24placeholder_definition225shapeINS0_6shapes3TSCESS_EENS_24placeholder_definition2513interpolationINS_28FieldToParticleInterpolationIS19_NS_30AssignedTrilinearInterpolationEEESS_EENS_24placeholder_definition267currentINS_13currentSolver9EsirkepovIS19_Lj3EEESS_EESV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_EENSI_INS_15CommunicationIdILj5EEESW_Li0EEEEEEEEclINS3_INS5_INS8_ILi105ELi0ELi0ELi0ELi0ELi0ELi0ELi0EEESH_NSI_INS_24placeholder_definition2014boundElectronsESZ_Li0EEENS10_IS15_S1A_S1G_S1M_NS_24placeholder_definition247ionizerIS1T_SS_EENS_24placeholder_definition2713atomicNumbersINS_8HydrogenESS_EESV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_EENSI_INS1O_ILj4EEESW_Li0EEEEEEENSA_8MapTupleINS7_6m_itemINS_16TypeAsIdentifierIS2A_EEPS2A_NS2C_INS2D_IS1S_EEPS1S_NS7_3mapISV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_SV_EEEEEENSA_10NativeDataELb0EEEEEvRT_RT0_j+0x46f)[0x771adf] [kepler002:19139] [ 8] ./picongpu(_ZN8picongpu12MySimulation10runOneStepEj+0x2f)[0x77ad3f] [kepler002:19139] [ 9] ./picongpu(_ZN5PMacc16SimulationHelperILj3EE15startSimulationEv+0x1c0)[0x72a4c0] [kepler002:19139] [10] ./picongpu(_ZN8picongpu17SimulationStarterINS_21InitialiserControllerENS_16PluginControllerENS_12MySimulationEE5startEv+0x6a)[0x78fe8a] [kepler002:19139] [11] ./picongpu(main+0x65)[0x6c3b35] [kepler002:19139] [12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f89284b6ec5] [kepler002:19139] [13] ./picongpu[0x6c3fbf] [kepler002:19139] *** End of error message ***
@Heikman maybe you see why it doesn't work?
Thx guys! Works!
This PR is just for debugging purposes
Whyyyyy does this crash when
-DCUDA_BLOCKING_KERNEL=ON
? :scream: