Reading vector from file in CULA Sparse demo

General CULA Sparse support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug.

Reading vector from file in CULA Sparse demo

Postby arthur » Sat Mar 03, 2012 5:19 am

Hello!

We are trying to use CULA Sparse demo with our test matrix and right hand side vector.

It is working well when using 'b=ones' option but gives us error when we try to use file with vector in mtx format as input like following:
Error: could not process Matrix Market banner for...

Could you please specify with vector file format must be used to succesfully run iterativeBenchmark with our own file with right hand side vector.

Best regards
arthur
 
Posts: 2
Joined: Sat Nov 12, 2011 4:00 am

Re: Reading vector from file in CULA Sparse demo

Postby john » Mon Mar 05, 2012 7:24 am

Here is an example for a length 8 vector:

Code: Select all
%%MatrixMarket matrix array real general
8 1
2.0
1.0
7.0
5.0
0.62
-8.31
0.0
0.0
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re: Reading vector from file in CULA Sparse demo

Postby arthur » Sat Mar 10, 2012 12:05 am

Thank you, it works!
arthur
 
Posts: 2
Joined: Sat Nov 12, 2011 4:00 am


Return to CULA Sparse Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron