-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HPCG crash when nx=440 ny=440 nz=424 #66
Comments
Please take a look at |
Thanks for your reply, I have a small mistake in my status, I updated it. I sure the HPCG_NO_LONG_LONG is not defined and sizeof(global_int_t) is 8 Output: |
----------------------------------------------------------------------- shell ------------------------------------------------------------------------------------------------------------------------------------SHELL = /bin/sh CD = cd ----------------------------------------------------------------------- HPCG Directory Structure / HPCG library ----------------------------------------------------------------------------------------------------TOPdir = . ----------------------------------------------------------------------- Message Passing library (MPI) ------------------------------------------------------------------------------------------------------------MPinc tells the C compiler where to find the Message Passing libraryheader files, MPlib is defined to be the name of the library to beused. The variable MPdir is only used for defining MPinc and MPlib.MPdir = /root/opt/openmpi ----------------------------------------------------------------------- HPCG includes / libraries / specifics -----------------------------------------------------------------------------------------------------HPCG_INCLUDES = -I$(INCdir) -I$(INCdir)/$(arch) $(MPinc) - Compile time options ------------------------------------------------DHPCG_NO_MPI Define to disable MPI-DHPCG_NO_OPENMP Define to disable OPENMP-DHPCG_CONTIGUOUS_ARRAYS Define to have sparse matrix arrays long and contiguous-DHPCG_DEBUG Define to enable debugging output-DHPCG_DETAILED_DEBUG Define to enable very detailed debugging outputBy default HPCG will:*) Build with MPI enabled.*) Build with OpenMP enabled.*) Not generate debugging output.HPCG_OPTS = -DHPCG_ENABLE_DETAILED_DEBUG ----------------------------------------------------------------------HPCG_DEFS = ----------------------------------------------------------------------- Compilers / linkers - Optimization flags -------------------------------------------------------------------------------------------------CXX = mpicxx LINKER = $(CXX) ARCHIVER = ar ---------------------------------------------------------------------- |
The issue is local_int_t is set to int not long long type. How can I run test by 64/64 - global and local are 64-bit without change source code? |
I run HPCG test on my machine with 2048GB and 128 CPU by command "mpirun -np 16 -x OMP_NUM_THREADS=8 -x OMP_PROC_BIND=TRUE -x OMP_PLACES=cores --allow-run-as-root ./xhpcg"
and the program crashes, error message:
../src/GenerateProblem_ref.cpp:205: void GenerateProblem_ref(SparseMatrix&, Vector*, Vector*, Vector*): Assertion `totalNumberOfNonzeros>0' failed
As I investigate, this issue related to overflow, so how can I fix this issue? Thanks.
The text was updated successfully, but these errors were encountered: