- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi
I installed ifort 9.0 on a Redhat Linux 9.0 machine with 2.4.20-8 kernel. The
installation went smoothly, but when I tried to compile the test program, I got
the following error message:
>ifort int_sin.f90
ld: cannot open
/shared/projects/Linux_2.4.9/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/crtbegin.o: No
such file or directory
The reason the file is not found is the path is slightly wrong. The path is:
/shared/projects/Linux_2.4.9/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/
(notice that the "gcc" before "lib" is missing in the error message.)
I don't know how the installation detected the path and how it got it wrong. Is
there anyway I can get around this?
Thanks,
Hui
I installed ifort 9.0 on a Redhat Linux 9.0 machine with 2.4.20-8 kernel. The
installation went smoothly, but when I tried to compile the test program, I got
the following error message:
>ifort int_sin.f90
ld: cannot open
/shared/projects/Linux_2.4.9/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/crtbegin.o: No
such file or directory
The reason the file is not found is the path is slightly wrong. The path is:
/shared/projects/Linux_2.4.9/gcc/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/
(notice that the "gcc" before "lib" is missing in the error message.)
I don't know how the installation detected the path and how it got it wrong. Is
there anyway I can get around this?
Thanks,
Hui
링크가 복사됨
6 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi Hui,
I'm having the same problem. When I try to compile any fortran file I obtain the following error message:
can not find "/usr/tmp/gcc-4.0.1/lib/gcc/i686-pc-linux-gnu/4.0.1/crtbegin.o"
I can find this file, but it is in another dir.
Did you solve the problem. Does anyone know the solution.
Thanks a lot
Edmondo
I'm having the same problem. When I try to compile any fortran file I obtain the following error message:
can not find "/usr/tmp/gcc-4.0.1/lib/gcc/i686-pc-linux-gnu/4.0.1/crtbegin.o"
I can find this file, but it is in another dir.
Did you solve the problem. Does anyone know the solution.
Thanks a lot
Edmondo
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Tim,
You are correct, the INTEL FORTRAN compiler is searching for:
/usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.2.0/32/crtbegin.o
butI want it to find:
/opt/gcc_4.2.0/gcc/crtbegin.o
How do I tell the compiler to search for this? I've tried changing the path order for the LD_LIBRARY_PATH environment variable, and the PATH environment variable but, it seems that /usr/local/lib is always searched first.
Thanks, Bob
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello,
When I had this error it was from incorrectly setting my path to the 32 bit version of ifort:
/opt/intel/fc/10.1.011/bin
When I wanted to compile and run on my 64 bit computer. Using the 64 bit compiler:
/opt/intel/fce/10.1.011/bin
Solved that problem.
regards,
Richard
When I had this error it was from incorrectly setting my path to the 32 bit version of ifort:
/opt/intel/fc/10.1.011/bin
When I wanted to compile and run on my 64 bit computer. Using the 64 bit compiler:
/opt/intel/fce/10.1.011/bin
Solved that problem.
regards,
Richard
