In a first place, your input seems not to make much sense:
# Initial Microstructure
# ======================
# Type of grain positioning?
# Options: deterministic random [deterministic_infile] from_file
deterministic
# NB: the origin of coordinate system is the bottom left-hand corner,
# all points within the simulation domain having positive coordinates.
# Number of grains at the beginning?
9
#
# Grain number 1
# --------------
# Geometry?
# Options: round rectangular elliptic round_inverse
round
...
...
# Structure from restart file
# ---------------------------
# Shall grain(s) be replaced by initial structure(s) from a restart file(s) ?
# Options: restart_file | no_restart_file
restart_file
# How many restart files shall be read?
1
# For each restart file a grain number and (optionally)
# shift (in grid cells) and zoom factor for all 3 dimensions
# as well as a character for rotation options must be specified:
# grain number [shift X (int) shift Y (int) shift Z (int)
# zoom X (int) zoom Y (int) zoom Z (int) rot(string)] ?
# Rotation options: "xz+90" "xz-90" "xz180" "xy+90" ... "yz180"
2 0 0 -4000
# Name of restart file?
FeCMn
...
The idea of reading initial microstructures from restart file is as follows: With the deterministic grain input you define a grain as a "mask" for filling in the microstructure which is stored in a .rest-file. In the most simple case, you just do not define any grain (grain number is 0) and replace default grain 0 afterwards with the .rest-file microstructure.
What you essentially do is define 9 grains, and replace grain 2 with the microstructure from the .rest-file. On top of that, you apply a shift of -4000 cells in z-direction on this microstructure! I guess that you just copied that from another place without change...
The iosError error may also come from other reasons. Did you change something related to the definition of grain orientations? You e.g. cannot change a phase from isotropic to anisotropic upon restart, because the data is missing then..
Bernd