Skip to content
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

ij interface's -fromonecsrfile option failed #1240

Open
RickGY opened this issue Feb 26, 2025 · 0 comments
Open

ij interface's -fromonecsrfile option failed #1240

RickGY opened this issue Feb 26, 2025 · 0 comments

Comments

@RickGY
Copy link

RickGY commented Feb 26, 2025

Hi,

I'm writing to ask about the -fromonecsrfile option in hypre/src/test/ij.c. It seems that there have been some updates to the way that the csr file is read since commit 4b94dac55df1b73f2c092227a08036f7b4797162. In particular, I've been using the -fromonecsrfile option to pass in the matrix, which now fails in the current version. To recreate the issue, please download the following:

hypre-ij-file.zip

Then run the following command:

./ij -solver 1  -fromonecsrfile mat.txt -rhsfromonefile vec.txt -print -tol 1e-8

It prints the following error message:

=============================================
Hypre init times:
=============================================
Hypre init:
  wall clock time = 0.000002 seconds
  wall MFLOPS     = 0.000000
  cpu clock time  = 0.000002 seconds
  cpu MFLOPS      = 0.000000


Using HYPRE_DEVELOP_STRING: v2.32.0-29-gff594b2d3 (branch master; the develop branch)

Running with these driver parameters:
  solver ID    = 1

  FromFile: mat.txt
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode -1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

The matrix is a 3 by 3 matrix with all one entries, except for at (1-based) row 3, column 3, which is zero.

Any help would be really appreciated, many thanks!

Rick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant