首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 78 毫秒
1.
黄春 《计算机科学》2012,39(1):287-289,304
Co-Array Fortran(CAF)已经成为Fortran语言标准的一部分,在科学计算领域逐渐被接受。基于软件共享存储实现了一个CAF编译器,其通过直接的数组赋值实现Co-array数据通信,利用数据垫塞技术提高数据局部性,减少伪共享,优化CAF程序性能。典型科学计算程序测试表明,CAF能够获得和MPI相当的性能。  相似文献   

2.
本文介绍超级计算机的Fortran 对向量处理和并行处理的支持,分析目前超级计算机Fortran 编译器的水平及发展趋势。我们认为,串行Fortran 向量化并行化技术的研究和实现仍是今后一段时间的重点。向量或并行Fortran 的推广应用还需要时间,在很长时间内它不能取代串行Fortran 向量化并行化,而只能与之并存。  相似文献   

3.
黄春  贾建斌  彭林 《计算机科学》2011,38(4):299-302
首次在Fortran语言中引入事务存储,对OpenMP Fortran API进行了扩展,以源到源转换的方式实现了FortranTM编译器原型。针对软件事务存储实现的特点,扩展了EXCLUDED和SCHEDULE指导命令子句,以便为程序员提供性能调整优化APIo测试结果表明FortranTM API编程便利,具有良好的性能。  相似文献   

4.
5.
Fortran 90与面向对象程序设计   总被引:1,自引:0,他引:1  
面向对象方法已经成一种最有前途的软件开发方法之一。面对对象程序设计方法应用于工程计算已有近十年,所采用的语言为C++,Eiffel和Smalltalk等。  相似文献   

6.
7.
Fortran与Delphi混合编程   总被引:13,自引:0,他引:13  
论述了Fortran和Delphi 两种语言混合编程的基础,并就两种语言之间调用约定的协调,包括标识命名,参数传递方式等,以及动态链接库的导出和导入,给出了具体的实施方法。  相似文献   

8.
一般应用软件以Fortran语言编写的较多,工程科研、开发、应用人员对科学计算语言Fortran很熟悉,而对可视C语言和可视BASIC并不熟悉,但随着各种高级语言编译系统软件的不断升级,它们的功能也在不断地接近。在FortranPowerStation编译系统中,完全可以实现应用软件的菜单,并且与应用软件连接更加方便。  相似文献   

9.
通过动态链接库实现VB和Fortran的混合编程   总被引:1,自引:0,他引:1  
该文论述了Fortran和VB两种语言混合编程的基础,介绍了如何通过DLL实现VB6.0和Fortran的接口。通过其实现了VB的可视化界面与Fortran强大的数值计算能力的结合,并给出了具体的实施方法。  相似文献   

10.
11.
覃安  符红光 《计算机工程》2006,32(16):83-85,9
计算机代数系统(Computer Algebra System,CAS)是集大整数运算和符号运算于一体的计算平台,这方面的代表软件有Maple和Mathematica。然而,在计算机代数系统的设计中,编译器的设计与实现始终是一个关键和难点。GiNaC是Linux平台上开放源码的符号计算包,该文以它为基础提出了一种新型CAS编译器的设计方法,并在Linux平台上实现。新的CAS编译器兼容Maple编程语言, 对比测试结果显示它的效率并不逊色于Maple。  相似文献   

12.
K.A. BROUGHAN  D.M.K. WILLCOCK 《Software》1996,26(10):1127-1139
The need for both algebraic and numerical capabilities within mathematical computation systems has highlighted the need to translate numerical software written in Fortran77 to Common Lisp, a language favoured by the algebraic computation community. This paper reports the current state of f2cl, a translator written to achieve that end. We describe the translation process giving details of Lisp equivalents of Fortran expressions, as well as discussing features of Fortran that have no straightforward equivalent in Lisp.  相似文献   

13.
R. A. Freak 《Software》1981,11(7):717-732
This paper describes some of the problems encountered in implementing an automatic Fortran to Pascal translator. The translator introduces a number of improvements to the Fortran program including the structured control statements of Pascal. It highlights the structure of both COMMON blocks and executable statements, and it nests the Fortran subprograms to their required level.  相似文献   

14.
将Fortran控制台应用程序制作成Fortran动态链接库文件,使用C#语言开发软件界面并调用Fortran DLL实现混合编程。给出了C#语言和Fortran语言混合编程时需要注意的要点。结合示例介绍了一种利用txt文件快速实现C#和Fortran混合编程的方法。该方法只需要对Fortran源代码做较小的修改就能有效地实现两种语言的混合编程,此方法对其他不同语言之间的混合编程提供了一种参考思路。  相似文献   

15.
Co-Array Fortran, formally called F––, is a small set of extensions to Fortran 90/95 for Single-Program-Multiple-Data (SPMD) parallel processing. OpenMP Fortran is a set of compiler directives that provide a high level interface to threads in Fortran, with both thread-local and thread-shared memory. OpenMP is primarily designed for loop-level directive-based parallelization, but it can also be used for SPMD programs by spawning multiple threads as soon as the program starts and having each thread then execute the same code independently for the duration of the run. The similarities and differences between these two SPMD programming models are described.Co-Array Fortran can be implemented using either threads or processes, and is therefore applicable to a wider range of machine types than OpenMP Fortran. It has also been designed from the ground up to support the SPMD programming style. To simplify the implementation of Co-Array Fortran, a formal Subset is introduced that allows the mapping of co-arrays onto standard Fortran arrays of higher rank. An OpenMP Fortran compiler can be extended to support Subset Co-Array Fortran with relatively little effort.  相似文献   

16.
This paper reports on a programming experiment involving the languages Fortran and Pascal. The subject of the experiment was the simulation of the X-ray department of a local hospital. The programming was carried out by two different programmers at different periods of time. A static analysis was performed on both models to determine how the languages were used by both programmers. The compilation and execution speeds of both models were then determined when executed on an ICL 1906S computer. The results indicate that the Pascal program is substantially faster in both compilation and execution speed than an equivalent Fortran program.  相似文献   

17.
18.
针对VC 具有面向对象特征和开发图形界面方面的强大功能以及Fortran语言在数值计算方面的优势,介绍了VC 和Fortran混合编程的实现方法.  相似文献   

19.
为了发挥Fortran易于科学计算的优点和C#在界面编写以及批量处理文件的优点,首先通过Fortran控制台程序编写相应算法的动态链接库,然后利用C#编写的界面程序调用在Fortran中生成的DLL文件,从而实现混合编程。详细阐述了两种语言混合编程的实现方法。通过利用卫星测高数据计算南海海域的垂线偏差,验证了该方法的正确性及优越性。通过混合编程,充分发挥两种计算机语言各自的优点,说明了可以利用混合编程的方法大批量自动化地处理卫星测高数据,同时该方法便于算法维护和升级。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号