Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29267 Discussions

compile unix fortran file on RH9

pythonir
Beginner
471 Views
Hi
I wonna recompile some unix wrotten fortran file (*.f) on rh9 ,
I got some error :
+++++++++++++++++++++++++++++++++++++++++++++++++++
[root@c50508 Source]# g77 selec.f
/tmp/ccsd1o2D.o(.text+0x56): In function `MAIN__':
: undefined reference to `litpas_'
/tmp/ccsd1o2D.o(.text+0x2e1): In function `MAIN__':
: undefined reference to `litpas_'
/tmp/ccsd1o2D.o(.text+0x3ce): In function `MAIN__':
: undefined reference to `lenc_'
/tmp/ccsd1o2D.o(.text+0x4d2): In function `MAIN__':
: undefined reference to `litpas_'
/tmp/ccsd1o2D.o(.text+0x829): In function `MAIN__':
: undefined reference to `lenc_'
collect2: ld returned 1 exit status
+++++++++++++++++++++++++++++++++++++++++++++++++++
please help me
thanks
0 Kudos
2 Replies
TimP
Honored Contributor III
471 Views

If you are using g77 and no Intel compilers, you might do better to sign on the gcc-help mail list

http://gcc.gnu.org/ml/gcc-help/

If you quoted incorrectly, and are actually using Intel Fortran, you may have failed to provide a library, or it may have been built for g77.

If your problem is peculiar to RH9 (no sign that it is), you may be advised to go to a supported version of linux.

0 Kudos
pythonir
Beginner
471 Views
hi
i use g77 on rh9 and i don't how can i use intel compiler , i'm begginer
best regards
0 Kudos
Reply