On 4/11/23 01:40, 'chen zheng' via deal.II User Group wrote:
I modified Step 40 and an error occurred when I called comsol-mphtxt. I compared the read_comsol_mphtxt function to the file and found no error.

I looked into this, and the underlying issue turned out to be that the COMSOL .mphtxt file uses DOS/Windows-style line endings whereas I believe that you are running the program on Linux, which uses a different style of line endings.

The problem goes away once you change the line endings from \r\n (Windows) to \n (Unix). But this is a recurring problem, and so I've also written the following patch:
  https://github.com/dealii/dealii/pull/15079

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/d32ce914-a6ed-1b09-9c14-b4bca34eb142%40colostate.edu.

Reply via email to