I am using ifort 11.1 on Linux 64-bits with Sublime Text2 as editor. I want to know, how can I create a custom build command to compile the code? Also I need to know how to produce the output with the same name as the source file. For example I want to reproduce the following command into a custom Build System:
ifort mycode.f90 -o mycode
So far I tried:
{
"cmd": ["ifort","$file"],
"selector": ["iFort"],
"path":["/usr/local/Compiler/11.1/080/bin/intel64/ifort intel64"]
}
Without success. Ideas?
This seems to work: