On 11 September 2017 at 19:21, Ryan Morley <ryantmorley7...@gmail.com> wrote: > Dear all, > > I am working on a program in Petsc that will read a vector and matrix from > an ASCII file and store it into a vector and matrix object in Petsc so I can > eventually solve. It needs to be an ASCII file because I will be outputting > the vector and matrix to an ASCII file from code in Delphi. >
Would it be OK to use an intermediate program to read the ASCII output and dump in PETSc binary format? That would be rather trivial to do with a Python script. -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Extreme Computing Research Center (ECRC) King Abdullah University of Science and Technology (KAUST) http://ecrc.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 0109 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459