Fortran Compiler and C Preprocessor

  • Context: Fortran 
  • Thread starter Thread starter kellenhockey6
  • Start date Start date
  • Tags Tags
    Compiler Fortran
Click For Summary

Discussion Overview

The discussion centers around the requirements for running the Neutron transport code DANTSYS, specifically regarding the necessary Fortran compiler and C preprocessor, as well as the suitability of various operating systems, particularly Linux, for this purpose.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Kellen inquires whether a Fortran compiler and C preprocessor are tied to specific computers or if they can be downloaded, expressing a need for guidance on running DANTSYS.
  • One participant explains that a compiler is software used to create binaries from source code and mentions the availability of free, multiplatform C and Fortran compilers from the GNU project, but doubts the software will run on typical desktop PCs.
  • Another participant lists specific operating systems and Fortran compilers that have met quality assurance requirements for DANTSYS, noting potential issues with certain compiler versions that could lead to compilation failures or poor assembly code.
  • A later reply suggests that older codes like DANTSYS may have been ported to Linux and recommends researching newer versions of the program that might already be compatible with Linux.

Areas of Agreement / Disagreement

Participants express differing views on the compatibility of DANTSYS with modern systems, with some suggesting it may only run on specific supercomputers and others indicating that it might be functional on Linux with updates.

Contextual Notes

There are limitations regarding the specific versions of compilers and operating systems that are compatible with DANTSYS, as well as uncertainty about the current state of the software's compatibility with Linux.

kellenhockey6
Messages
5
Reaction score
0
I am very new to programming and am trying to determine if a Fortran compiler and C preprocessor is a property of the specific computer one has or if it is something that can be downloaded?

Specifically I want to run the Neutron transport code, DANTSYS; system requirements are listed here: http://www-rsicc.ornl.gov/codes/ccc/ccc5/ccc-547.html

Can any computer run this code or would I have to purchase something specific that meets the Fortran complier requirements? Also does anyone have any recommendations on what the best Linux operating system to pursue / learn to run this code in would be?

Any help is appreciated.

Thanks,
Kellen
 
Technology news on Phys.org
A compiler is a piece of software (an ordinary program), used to create binaries from source code. For your purposes, basically a very elaborate installation process. For example, the GNU project has free, multiplatform C and Fortran compilers. The other tool mentioned there is GNU Make, also a GNU utility. All can be downloaded here.

Unfortunately, I doubt this software will run on anything you have. From that page, it's described as only supporting certain supercomputers - not desktop PCs. The only operating systems it supports are rather exotic (obsolete?) UNIX dialects - HP-UX, AIX, IRIX, SunOS (Solaris' predecessor), and UNICOS.
 
As signerror mentioned, the page has

. COMPUTER SOFTWARE REQUIREMENTS

DANTSYS requires a Fortran 77 compiler; a C-language preprocessor (cpp); a C-compiler (cc); and GMAKE (GnuMake from Free Software Foundation). Please be advised that in our experience some compiler versions on the various platforms are deficient in the sense that either the code will not compile or else bad assembly code is generated. We list the operating systems and Fortran compilers under which the code met our QA requirements.

1. CRAY-(UNICOS 7.0.6.1/CF77-RELEASE 6.0.3.11)

2. SUN-(SUNOS 4.1.2/F77 Version 2.0.1)

3. IBM RS/6000-(AIX 2.3/XLF RELEASE 03.02.0002.0001)

4. Hewlett Packard 9000-(HP-UX A.09.05/F77-HP UX10.0)

5. Silicon Graphics-(IRIX 5.2/F77 RELEASE 5.2).


Our Linux workstations use g77.

One could try -

http://www.mbr-pwrc.usgs.gov/software/g77.html

Good luck.
 
Last edited by a moderator:
Your code description seems to date back to 1997.
If you Google the subject, you will find that much of the older codes have been ported to Linux. If you are not the hands-on type, you may want to enquire about a later version of the program, probably already ported to Linux. The RSICC catalog description on Dantsys is dated 2006, and has since taken Silicon Graphics and HP off the list of platforms. (Linux was not added).

Descriptions of other codes (for example : http://www-rsicc.ornl.gov/codes/ccc/ccc6/ccc-695.html)
seem to imply that Dantsys is already ported and funcitonal on Linux with upgrade to F95.

Try to do a little more research. The extra work may be worth it.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
3K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
15K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K