Skip to content

Running via MSYS2 Console in Windows #10

@Chadchayada-01

Description

@Chadchayada-01

Running POLY2TET in Windows using MSYS2-the Linux environment for windows because the windows compiler does not work properly
Here are some of my issue I like to expressed here:

  1. "WARNING-rename failed." appeared while renaming the .ele file
  2. An error reading .node file when export the Monte Carlo input files for PHITS
    The warning line says Read node file.../usr/lib/gcc/x86_64-pc-cygwin/15.1.0/include/c++/bits/stl_vector.h:1263: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = ThreeVector; _Alloc = std::allocator<ThreeVector>; reference = ThreeVector&; size_type = long unsigned int]: Assertion '__n < this->size()' failed. Aborted

Noted that:

  1. The "CMakeList.txt" is forced to require the 3.10 as the minimum version.
  2. Project(POLY2TET) is added in the following text
  3. The FileGen.h and FileGen.cpp is modified to make it run properly in MSYS environment
  4. This case is to tetrahedralize the phantom as an input for PHITS
  5. A recommendation of using the .material file from the icrp145 electronic files is applied
  6. -s is not worked in MSYS2 environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions