The default configuration of Fortran plugin for ST3 is not working on my computer now, it is because of its json configuration of build system setup.
Following is my configuration for gfortran.
{
“cmd”: [“gfortran”, “${file}”, “-o”, “${file_path}/${file_base_name}”],
“file_regex”: “^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$”,
“working_dir”: “${file_path}”,
“selector”: “[source.fortran,source.modern-fortran, source.fixedform-fortran]”,
“syntax”: “GFortranBuild.sublime-syntax”,
“variants”:
[
{
“name”: “Run”,
// “shell_cmd”: “gfortran ‘${file}’ -o ‘${file_path}/${file_base_name}’ && ‘${file_path}/${file_base_name}'”
“shell_cmd”: ” ${file_path}/${file_base_name}.exe”
}
]
}