Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Path problem Ubuntu, ifort, photran. Error: /bin/sh: ifort: not found

Try launching Eclipse from the line command. It ought to work.

Rob

Benjamin Jonen a écrit :

Hi everyone,

I am currently trying to get Photran to work on my PC running Ubuntu 9.04 on IA32. Eclipse Ganymede as well as intel fotran compiler 11.x is installed.

When I attempt to build my test project I get the following error:

make all

Building file: ../main.f90

Invoking: Intel(R) IA-32 Fortran Compiler

ifort -g -O0 -c -o "main.o" "../main.f90"

/bin/sh: ifort: not found

make: *** [main.o] Error 127

I included all relevant folders into my path through ~/.bashrc so my path on startup looks as follows:

benjamin@benjamin-desktop:~$ echo $PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/benjamin/intel/Compiler/11.1/046/bin/ia32:/home/benjamin/intel/Compiler/11.1/046/include:/home/benjamin/intel/Compiler/11.1/046/include/ia32:/home/benjamin/intel/Compiler/11.1/046/lib/ia32

benjamin@benjamin-desktop:~$ ifort

The compiler is accessible through the terminal: ifort

ifort: command line error: no files specified; for help type "ifort -help"

I tried including ifort in my /bin folder. Then I also need to include fortcom in my /bin folder and still get an error message.

I also tried including the directories I have in my path under the project’s properties in “paths and symbols”, “includes”. This did not help either.

I would really appreciate any help.

Best,

Benjamin

------------------------------------------------------------------------

_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran



Back to the top