I used the following code to add intel fortran compiler (ifort) as a new build system:
{ "shell_cmd": "ifort -O3 -xHost -ipo $file -o ${file_base_name}", "file_regex": "^.*\\\\([0-9A-Za-z_]+\\.[A-Za-z0-9]+)\\(([0-9]+)\\):[ ]+error[ ]+#([0-9]+):[ ]+(.*)$", "working_dir":"${file_path}", "selector":"source.f ,source.for ,source.ftn ,source.f90 ,source.f03 ,source.f08", "shell_cmd": "chmod +x ${file_base_name} && ./${file_base_name}", }
It builds the code successfully for the first time but when I change something in the code and rebuild it, previous output is shown instead of the new one. So I have to go back to the build sytem code, remove the last line and save it then build the code and again go back to the build code, undo the change and build the code again!
Any idea what I am doing wrong?