Hello Deal.II community, I am working on deal.II via the VM image (release 9.1.1). I am having trouble reading the .msh file. I even tried running running step 49 and received this error:
---------------------------------------------------- Exception on processing: -------------------------------------------------------- An error occurred in line <1408> of file </home/ubuntu/deal.II/dealii/source/grid/grid_in.cc> in function void dealii::GridIn<dim, spacedim>::read_msh(std::istream&) [with int dim = 2; int spacedim = 2; std::istream = std::basic_istream<char>] The violated condition was: in Additional information: An input/output error has occurred. There are a number of reasons why this may be happening, both for reading and writing operations. If this happens during an operation that tries to read data: First, you may be trying to read from a file that doesn't exist or that is not readable given its file permissions. Second, deal.II uses this error at times if it tries to read information from a file but where the information in the file does not correspond to the expected format. An example would be a truncated file, or a mesh file that contains not only sections that describe the vertices and cells, but also sections for additional data that deal.II does not understand. If this happens during an operation that tries to write data: you may be trying to write to a file to which file or directory permissions do not allow you to write. A typical example is where you specify an output file in a directory that does not exist. -------------------------------------------------------- Aborting! ---------------------------------------------------- I checked the detailed.log file and found DEAL_II_WITH_GMSH is OFF. I also tried to install the latest version of gmsh (4.7.1) and ran the cmake command for deal ii installation with -DGMSH_DIR=/path/to/gmsh added to it. But it gives me warning CMake Warning: Manually-specified variables were not used by the project: GMSH_DIR Can someone please suggest if I am missing anything here? -- 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 dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/23fd2c3f-92e3-4298-add2-869de46194d7n%40googlegroups.com.