请推荐在linux下用fortran 95编程的工具

软件和网站开发以及相关技术探讨
回复
sunway
帖子: 8
注册时间: 2005-12-24 0:54

请推荐在linux下用fortran 95编程的工具

#1

帖子 sunway » 2006-01-09 8:15

编译器和调试工具,最好是免费的
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#2

帖子 firehare » 2006-01-09 9:11

在源中有:

代码: 全选

sudo apt-get install gfortran-4.0

代码: 全选

sudo apt-get install gfortran
一个是 The GNU Fortran 95 compiler 4.0.1-3 ,一个是 The GNU Fortran 95 compiler 4.0.1-4ubuntu9,推荐用第1个。
我心无畏,源自于我心无知。
图片
sunway
帖子: 8
注册时间: 2005-12-24 0:54

#3

帖子 sunway » 2006-01-12 11:43

谢谢楼上,再请教一下,我在编译时出现如下信息,是什么地方不对

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../lib64/crt1.o: In function `_start':
../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
/tmp/cc0SdqIg.o: In function `MAIN__':
curve_v1.f90:(.text+0x87): undefined reference to `_gfortran_allocate64'
curve_v1.f90:(.text+0xda): undefined reference to `_gfortran_allocate64'
curve_v1.f90:(.text+0x130): undefined reference to `_gfortran_allocate64'
curve_v1.f90:(.text+0x186): undefined reference to `_gfortran_allocate64'
curve_v1.f90:(.text+0x1dc): undefined reference to `_gfortran_allocate64'
/tmp/cc0SdqIg.o:curve_v1.f90:(.text+0x223): more undefined references to `_gfortran_allocate64' follow
/tmp/cc0SdqIg.o: In function `MAIN__':
curve_v1.f90:(.text+0x4bb): undefined reference to `_gfortran_deallocate'
curve_v1.f90:(.text+0x4d8): undefined reference to `_gfortran_deallocate'
curve_v1.f90:(.text+0x4f5): undefined reference to `_gfortran_deallocate'
curve_v1.f90:(.text+0x512): undefined reference to `_gfortran_deallocate'
curve_v1.f90:(.text+0x529): undefined reference to `_gfortran_deallocate'
/tmp/cc0SdqIg.o:curve_v1.f90:(.text+0x540): more undefined references to `_gfortran_deallocate' follow
/tmp/cc0SdqIg.o: In function `calculatecurve_':
curve_v1.f90:(.text+0x6f8): undefined reference to `_gfortran_filename'
curve_v1.f90:(.text+0x702): undefined reference to `_gfortran_line'
curve_v1.f90:(.text+0x70c): undefined reference to `_gfortran_ioparm'
curve_v1.f90:(.text+0x716): undefined reference to `_gfortran_ioparm'
curve_v1.f90:(.text+0x71f): undefined reference to `_gfortran_st_write'
curve_v1.f90:(.text+0x72e): undefined reference to `_gfortran_transfer_character'
curve_v1.f90:(.text+0x733): undefined reference to `_gfortran_st_write_done'
collect2: ld returned 1 exit status
头像
lazyquail
帖子: 117
注册时间: 2005-12-19 6:38
来自: 德国

#4

帖子 lazyquail » 2006-01-12 19:04

intel的编译器不错,只需要注册一下,也是免费的,速度比gnu的快不少,自己到intel的网站看看吧
头像
pihou
帖子: 173
注册时间: 2005-11-12 12:28

#5

帖子 pihou » 2006-04-17 20:18

intel的只是免费试用,试用期30天。要想再用就只能掏钱了!
头像
luddy
帖子: 59
注册时间: 2005-12-26 1:31

#6

帖子 luddy » 2006-05-11 0:54

intel 和 hp的编译器不错,速度很快的,好像是免费的
bigapple
帖子: 99
注册时间: 2006-05-10 9:46

#7

帖子 bigapple » 2006-05-11 20:58

我一般用dbx调试的,,这个是AIX平台的,
不知道有没有linux平台的,
bigapple
帖子: 99
注册时间: 2006-05-10 9:46

#8

帖子 bigapple » 2006-05-11 20:59

sunway 写了:谢谢楼上,再请教一下,我在编译时出现如下信息,是什么地方不对

/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../lib64/crt1.o: In function `_start':
../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
/tmp/cc0SdqIg.o: In function `MAIN__':
curve_v1.f90:(.text+0x87): undefined reference to `_gfortran_allocate64'
curve_v1.f90:(.text+0xda): undefined reference to `_gfortran_allocate64'
curve_v1.f90:(.text+0x130): undefined reference to `_gfortran_allocate64'
curve_v1.f90:(.text+0x186): undefined reference to `_gfortran_allocate64'
curve_v1.f90:(.text+0x1dc): undefined reference to `_gfortran_allocate64'
/tmp/cc0SdqIg.o:curve_v1.f90:(.text+0x223): more undefined references to `_gfortran_allocate64' follow
/tmp/cc0SdqIg.o: In function `MAIN__':
curve_v1.f90:(.text+0x4bb): undefined reference to `_gfortran_deallocate'
curve_v1.f90:(.text+0x4d8): undefined reference to `_gfortran_deallocate'
curve_v1.f90:(.text+0x4f5): undefined reference to `_gfortran_deallocate'
curve_v1.f90:(.text+0x512): undefined reference to `_gfortran_deallocate'
curve_v1.f90:(.text+0x529): undefined reference to `_gfortran_deallocate'
/tmp/cc0SdqIg.o:curve_v1.f90:(.text+0x540): more undefined references to `_gfortran_deallocate' follow
/tmp/cc0SdqIg.o: In function `calculatecurve_':
curve_v1.f90:(.text+0x6f8): undefined reference to `_gfortran_filename'
curve_v1.f90:(.text+0x702): undefined reference to `_gfortran_line'
curve_v1.f90:(.text+0x70c): undefined reference to `_gfortran_ioparm'
curve_v1.f90:(.text+0x716): undefined reference to `_gfortran_ioparm'
curve_v1.f90:(.text+0x71f): undefined reference to `_gfortran_st_write'
curve_v1.f90:(.text+0x72e): undefined reference to `_gfortran_transfer_character'
curve_v1.f90:(.text+0x733): undefined reference to `_gfortran_st_write_done'
collect2: ld returned 1 exit status
代码贴出来看看啊
头像
roylez
帖子: 1928
注册时间: 2005-10-04 10:59
来自: 上海

#9

帖子 roylez » 2006-05-22 18:11

pihou 写了:intel的只是免费试用,试用期30天。要想再用就只能掏钱了!
是免费使用的,前提是不是用于商业用途。
弄个dropbox空间来备份文件或者做私人代码服务器
配置:[url]git://github.com/roylez/dotfiles.git[/url]
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info
头像
stlxv
论坛版主
帖子: 8275
注册时间: 2006-05-03 0:39
来自: المريخ

#10

帖子 stlxv » 2006-09-07 0:18

免费的????

我怎么看他们网站上一套卖几千块钱
回复