Use xMat with Fortran (UMAT interface)
Since xMat is also written in Fortran, this might work with just one compilation command. For a single Fortran file in free format (e.g. Xmat_Oedo_hypo_vw96.f) this would be something similar to
gfortran -ffree-form -cpp Xmat_Oedo_hypo_vw96.f -o Xmat_Oedo_Fortran
for Linux with GCC or from Windows with Intel compiler similar to
ifort /free /fpp xmat.f Xmat_Oedo_hypo_vw96.f /exe:Xmat_Oedo_Fortran.exe
Make sure to include the flags for free format and preprocessing when compiling (as shown).

If the Fortran source file were in fixed format, first compile the xMat as an object file and then compile both to the final program.

It is assumed that the Fortran UMAT interface is to be used. If the xmat_console interface should be used instead, go to the page linked below.

Linked files