I tried building Aotus using haraldkl-aotus-8a30017cd4e9 with Intel Composer XE 2013 SP1 on Windows 7. waf could not find ifort.exe before or after the Intel compiler environment variables have been set. It appears that the correct paths were searched but ifort.exe was not found; it's not clear how to manually set the path for the Fortran compiler.
The specific commands used were:
python .\waf configure
python ..\waf --check-fortran-compiler=ifort configure build
The explicit invocation of python is due to Windows' inability to invoke interpreters via the #! line at the top of the script. waf seems to run fine when called this way.
The Intel compiler needs environment variables set using the ifortvars.bat script; running 'ifortvars.bat ia32' sets ifort to build for x86 platforms.
The attached zip file contains the python version, path and environment variables before and after invoking 'ifortvars ia32', and waf output to stderr, stdout, and to the build/config.log file for both attempts to configure & build Aotus.
I understand I'm pretty far outside your normal gcc/gfortran/linux environment so if there's any additional information you need, please let me know. I'm caught between implementing my own DSL in Fortran (a very, very bad idea) and embedding a sane, supported language in our code under Windows (and for my benefit, Linux) so I have some pretty strong motivation to help you debug this. I just don't know enough about waf to understand how it is searching for ifort. -- Viele Danken!