Code::Blocks Forums

User forums => Help => Topic started by: jkrob on August 22, 2014, 05:42:30 pm

Title: can't find compiler executable in your search path Intel Fortran Composer for Wi
Post by: jkrob on August 22, 2014, 05:42:30 pm
Hello,

New to C::B after having used Compaq Visual Fortran & now, Intel Fortran Composer XE for Windows. I noticed C::B has a compiler setting for Intel Fortran Composer for Windows but I can't get C::B to acknowledge it's existence. I go to Settings > Compiler dialog & select "Intel Fortran Composer for Windows". Then, in the "Toolchains" tab, I enter the path "C:\Program Files\Intel\Composer XE\bin" because the red text states "...[it] must end in a 'bin' ". I then go to "Additional Paths" tab & enter the full path of "C:\Program Files\Intel\Composer XE\bin\ia32". Even with all this, it complains it can't find the program.

I was able to get the GNU Fortran to work fine with the path "C:\MinGW" so...Is it because of the spaces in the path?

Thanks in advance,
Jeff
Title: Re: can't find compiler executable in your search path Intel Fortran Composer for Wi
Post by: stahta01 on August 22, 2014, 07:09:02 pm
Try "C:\Program Files\Intel\Composer XE" it must contain a bin folder NOT end in bin.

Tim S.
Title: Re: can't find compiler executable in your search path Intel Fortran Composer for Wi
Post by: jkrob on August 22, 2014, 07:49:20 pm
Ok...

I changed the 'Compiler Installation Directory' to "C:\Program Files\Intel\Composer XE" but since the executables are not in the 'bin' but the '\bin\ia32' directory, I kept the directory string "C:\Program Files\Intel\Composer XE\bin\ia32" in the 'Additional Paths' entry...but it still does not find it.

Jeff
Title: Re: can't find compiler executable in your search path Intel Fortran Composer for Wi
Post by: oBFusCATed on August 22, 2014, 08:30:58 pm
Have you tried to add the bin/ia32 path in the additional executable paths?
Title: Re: can't find compiler executable in your search path Intel Fortran Composer for Wi
Post by: jkrob on August 22, 2014, 09:13:51 pm
"...Have you tried to add the bin/ia32 path in the additional executable paths?"

I said I did in both of my previous posts. I have even gone further;

1) copied the programs from C:\Program Files\Intel\Composer XE\bin\ia32 to the C:\Program Files\Intel\Composer XE\bin directory ... but that didn't help.
2) copied the bin\ directory & contents to the C:\Program Files\Intel directory to satisfy the 'Default' directory recommendation so it is now C:\Program Files\Intel\bin ... but that didn't help either.

This shouldn't be that hard...should it?
Title: Re: can't find compiler executable in your search path Intel Fortran Composer for Wi
Post by: manjupvd on August 24, 2015, 01:52:27 pm
It requires to run a batch file with system wide options vs2010/intel64 or vs2010/ia32 etc.
Thus you create a batch file with a call to ifortvars.bat and then from the same batch file call cblauncher.exe
Title: Re: can't find compiler executable in your search path Intel Fortran Composer for Wi
Post by: oBFusCATed on August 26, 2015, 12:14:32 pm
It should be possible to replicate the contents of the batch file with the environment variable plugin.
Also it should be possible to change the xml files for ifortran to make it run without settings.

So patches welcome...