主题:[讨论][求助]fortran找不到fnum
以下是我的程序:
program test
integer :: i
open (unit=10, status = "scratch")
i = fnum(10)
print *, i
close (10)
end program test
但是有问题.
[root@node]# ifort -c test00.f90
[root@node]# ifort -o test test00.f90
/tmp/ifortylNBxl.o: In function `MAIN__':
test00.f90:(.text+0x89): undefined reference to `fnum_'
不知道是哪里出的问题,哪位大仙了解?
program test
integer :: i
open (unit=10, status = "scratch")
i = fnum(10)
print *, i
close (10)
end program test
但是有问题.
[root@node]# ifort -c test00.f90
[root@node]# ifort -o test test00.f90
/tmp/ifortylNBxl.o: In function `MAIN__':
test00.f90:(.text+0x89): undefined reference to `fnum_'
不知道是哪里出的问题,哪位大仙了解?